aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface.h')
-rw-r--r--src/interface.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/interface.h b/src/interface.h
index 01684fd..8fa0112 100644
--- a/src/interface.h
+++ b/src/interface.h
@@ -100,6 +100,16 @@ class View {
};
public:
+ /*
+ * called after Interface initialization.
+ * Should call setup()
+ */
+ inline void
+ initialize(void)
+ {
+ impl().initialize_impl();
+ }
+
inline sptr_t
ssm(unsigned int iMessage,
uptr_t wParam = 0, sptr_t lParam = 0)
@@ -122,7 +132,7 @@ public:
}
protected:
- void initialize(void);
+ void setup(void);
};
/**