Release/: Updated readme.txt and added gpl-2.0.txt
[openwide.git] / openwide_proto.h
blob26068f25ca632afb477d235e315d4aa9961dc9b6
1 #ifndef LINGO_OPENWIDE_H
2 /**
3 * @author Luke Hudson
4 * @licence GPL2
5 */
7 #define LINGO_OPENWIDE_H
9 #include <windows.h>
12 int addTrayIcon(HWND hwnd);
13 HWND createListenerWindow(void);
14 int createWin(void);
15 void doQuit(void);
16 void doTrayMenu(HWND hwnd);
17 int initListener(HWND hwnd);
18 int initSharedMem(HWND hwnd);
19 BOOL isStartupApp(HWND hwnd);
20 int ow_init(void);
21 void ow_shutdown(void);
22 void releaseSharedMem(void);
23 void remTrayIcon(HWND hwnd);
24 int setStartupApp(HWND hwnd, BOOL bSet);
25 void showSettingsDlg(HWND hwnd);
26 int WINAPI WinMain(HINSTANCE hi, HINSTANCE hiPrv, LPSTR fakeCmdLine, int iShow);
27 LRESULT WINAPI CALLBACK wpListener(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp);
28 BOOL WINAPI CALLBACK wpPlacement(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp);
31 void fillFocusCB(HWND hwnd, UINT uID);
32 void fillViewCB(HWND hwnd, UINT uID);
33 int initPrefs(HWND hwnd);
34 int CALLBACK WINAPI initPropSheets(HWND hwnd, UINT msg, LPARAM lp);
35 int savePrefsToRegistry(void);
36 void selectCBView(HWND hwnd, UINT uID, int iView);
37 HWND showDlg(HWND hwParent);
39 #endif