diff options
Diffstat (limited to 'plugins/Alarms/src/stdafx.h')
-rwxr-xr-x | plugins/Alarms/src/stdafx.h | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/plugins/Alarms/src/stdafx.h b/plugins/Alarms/src/stdafx.h index 7ab9fd2a8b..26575d45a4 100755 --- a/plugins/Alarms/src/stdafx.h +++ b/plugins/Alarms/src/stdafx.h @@ -6,8 +6,7 @@ #include <windows.h>
#include <shellapi.h>
-
-#define __NO_CMPLUGIN_NEEDED
+#include <list>
#include <newpluginapi.h>
#include <m_utils.h>
@@ -29,12 +28,6 @@ #include "resource.h"
#include "version.h"
-#define MODULE "Alarm"
-
-extern HINSTANCE hInst;
-
-extern HANDLE hTopToolbarButton;
-
typedef struct ALARM_tag {
unsigned short id;
wchar_t *szTitle;
@@ -47,6 +40,25 @@ typedef struct ALARM_tag { wchar_t *szCommandParams;
BYTE sound_num;
int flags, day_mask;
-} ALARM;
+} ALARM;
+
+#include "alarmlist.h"
+#include "options.h"
+#include "icons.h"
+#include "frame.h"
+#include "alarm_win.h"
+#include "time_utils.h"
+
+#define MODULE "Alarm"
+
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULE)
+ {}
+};
+
+extern HANDLE hTopToolbarButton;
+
#endif
|