pppc/pppc.h
2009-08-19 15:39:34 +00:00

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