Moving all class declarations to EDE_PANEL_APPLET_CLASS macro.

This change should make base applet code easier to modify without modifying applets itself. This is also
a starting point for implementation of better routing netwm messages to applets without adding specific listener
to each applet.
This commit is contained in:
Sanel Zukan
2012-05-28 10:57:50 +00:00
parent 9a664ddb92
commit eb175fa89f
19 changed files with 110 additions and 19 deletions

View File

@@ -41,7 +41,7 @@ EDELIB_NS_USING(RES_SYS_ONLY)
static Atom _XA_XKB_RF_NAMES_PROP_ATOM = 0;
class KeyLayout : public Fl_Button {
EDE_PANEL_APPLET_CLASS(KeyLayout, Fl_Button) {
private:
bool should_show_flag;
String path, curr_layout;