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

@@ -2,6 +2,7 @@
#define __CPUMONITOR_H__
#include <FL/Fl_Box.H>
#include "Applet.h"
/*
#ifdef HAVE_KSTAT_H
@@ -18,7 +19,7 @@ enum {
IWM_STATES
};
class CPUMonitor : public Fl_Box {
EDE_PANEL_APPLET_CLASS(CPUMonitor, Fl_Box) {
private:
bool m_draw_label;
int m_old_samples;