git-svn-id: http://apu.dw.local/svnusers/JoshHoltrop/pppc/trunk@49 8131a0b2-b21c-1c47-bd6a-f003126495bd
24 lines
458 B
C++
24 lines
458 B
C++
|
|
#ifndef PPPC_H
|
|
#define PPPC_H
|
|
|
|
#define APP_NAME "Parallel Port Power Controller"
|
|
#define WM_ICON_NOTIFY (WM_APP + 42)
|
|
|
|
class PPPC
|
|
{
|
|
public:
|
|
PPPC(HINSTANCE hInstance, const char * config_file = NULL);
|
|
~PPPC();
|
|
BOOL mainLoop();
|
|
|
|
protected:
|
|
HWND m_hWnd;
|
|
NOTIFYICONDATA m_nid;
|
|
};
|
|
|
|
/* non class-member functions */
|
|
void addMenuItem(HMENU hMenu, CHAR * itemstr, WORD id);
|
|
|
|
#endif
|