X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=gui.h;fp=gui.h;h=0e589f49ff0c5409980abab4a8c8895257734fb6;hb=d007ff22cecf2ce85cc68a1de81a010d4a65badc;hp=0000000000000000000000000000000000000000;hpb=1f59971f7254b80be17caa8d220bd591e909e98a;p=nssm.git diff --git a/gui.h b/gui.h new file mode 100644 index 0000000..0e589f4 --- /dev/null +++ b/gui.h @@ -0,0 +1,23 @@ +#ifndef GUI_H +#define GUI_H + +#include +#include +#include +#include "resource.h" + +#define GUI +#ifndef snprintf +#define snprintf _snprintf +#endif + +#define STRING_SIZE 256 + +int nssm_gui(int, char *); +void centre_window(HWND); +int install(HWND); +int remove(HWND); +void browse(HWND); +int CALLBACK install_dlg(HWND, UINT, WPARAM, LPARAM); + +#endif