MINOR: Change output filename
[openwide.git] / openwide_proto.h
bloba2a86a14f24187d0725a3fcb8d3a3a5a308cd634
1 /*
2 * Openwide -- control Windows common dialog
3 *
4 * Copyright (c) 2000 Luke Hudson
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 #ifndef LINGO_OPENWIDE_H
24 /**
25 * @author Luke Hudson
26 * @licence GPL2
29 #define LINGO_OPENWIDE_H
31 #include <windows.h>
34 int addTrayIcon(HWND hwnd);
35 HWND createListenerWindow(void);
36 int createWin(void);
37 void doQuit(void);
38 void doTrayMenu(HWND hwnd);
39 int initListener(HWND hwnd);
40 int initSharedMem(HWND hwnd);
41 BOOL isStartupApp(HWND hwnd);
42 int ow_init(void);
43 void ow_shutdown(void);
44 void releaseSharedMem(void);
45 void remTrayIcon(HWND hwnd);
46 int setStartupApp(HWND hwnd, BOOL bSet);
47 void showSettingsDlg(HWND hwnd);
48 int WINAPI WinMain(HINSTANCE hi, HINSTANCE hiPrv, LPSTR fakeCmdLine, int iShow);
49 LRESULT WINAPI CALLBACK wpListener(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp);
50 BOOL WINAPI CALLBACK wpPlacement(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp);
53 void fillFocusCB(HWND hwnd, UINT uID);
54 void fillViewCB(HWND hwnd, UINT uID);
55 int initPrefs(HWND hwnd);
56 int CALLBACK WINAPI initPropSheets(HWND hwnd, UINT msg, LPARAM lp);
57 int savePrefsToRegistry(void);
58 void selectCBView(HWND hwnd, UINT uID, int iView);
59 HWND showDlg(HWND hwParent);
61 #endif