Add DeskTools source (main, header, DeskIcons, SeeThru, QuickNote)
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
// Shared declarations for the DeskTools modules.
|
||||
#ifndef DESKTOOLS_H
|
||||
#define DESKTOOLS_H
|
||||
#include <windows.h>
|
||||
|
||||
void DT_Balloon(const WCHAR *title, const WCHAR *text);
|
||||
|
||||
// Each module: init, shutdown, enable/disable, tray submenu, menu command, mouse hook.
|
||||
#define DT_MODULE(P) \
|
||||
void P##_Init(HINSTANCE inst, BOOL enabled); \
|
||||
void P##_Shutdown(void); \
|
||||
void P##_SetEnabled(BOOL on); \
|
||||
BOOL P##_IsEnabled(void); \
|
||||
void P##_AppendMenu(HMENU parent, UINT base); \
|
||||
void P##_Command(UINT local); \
|
||||
int P##_Mouse(WPARAM wp, MSLLHOOKSTRUCT *m);
|
||||
|
||||
DT_MODULE(DI)
|
||||
DT_MODULE(ST)
|
||||
DT_MODULE(QN)
|
||||
DT_MODULE(PW)
|
||||
|
||||
#define DT_ID_ENABLE 9000
|
||||
#endif
|
||||
Reference in New Issue
Block a user