#ifndef __AFMESSAGES_H__ #define __AFMESSAGES_H__ // messages used by the app framework's modules #define WM_TRAYNOTIFY (WM_USER+0) #define WM_CFGNOTIFY (WM_USER+1) #define WM_RMNOTIFY (WM_USER+2) // message routing // types of routing // sends a message everywhere it could be sent (hwnds, registered modules, ...) #define ROT_EVERYWHERE 0x0000000000000000 // sends a message to all hwnds in an app #define ROT_HWNDS 0x0100000000000000 // sends a message to all registered modules #define ROT_REGISTERED 0x0200000000000000 // sends a message to one excact module #define ROT_EXACT 0x0300000000000000 // internal modules #define IMID_CONFIGMANAGER 0x0001000000000000 #define IMID_RESOURCEMANAGER 0x0001000000000001 #define IMID_LOGFILE 0x0001000000000002 // callbacks typedef (*PFNNOTIFYCALLBACK)(ULONGLONG, UINT, WPARAM, LPARAM); #endif