pppc/pppc.h
2009-08-19 18:03:26 +00:00

27 lines
516 B
C++

#ifndef PPPC_H
#define PPPC_H
#include "Config.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:
Config m_config;
HWND m_hWnd;
NOTIFYICONDATA m_nid;
};
/* non class-member functions */
void addMenuItem(HMENU hMenu, CHAR * itemstr, WORD id);
#endif