OSDN Git Service

Vss2Git
[peercast-im/PeerCastIM.git] / PeerCast.root / PeerCast / ui / win32 / Simple_vp / gui.h
1 // ------------------------------------------------
2 // File : gui.h
3 // Date: 4-apr-2002
4 // Author: giles
5 // 
6 // (c) 2002 peercast.org
7 // ------------------------------------------------
8 // This program is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation; either version 2 of the License, or
11 // (at your option) any later version.
12
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 // GNU General Public License for more details.
17 // ------------------------------------------------
18
19 #ifndef _GUI_H
20 #define _GUI_H
21
22 #include "sys.h"
23
24 extern LRESULT CALLBACK GUIProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
25 extern void ADDLOG(const char *str,int id,bool sel,void *data, LogBuffer::TYPE type);
26
27 extern String iniFileName;
28 extern HWND guiWnd;
29 extern int logID;
30
31 enum 
32 {
33         WM_INITSETTINGS = WM_USER,
34         WM_GETPORTNUMBER,
35         WM_PLAYCHANNEL,
36         WM_TRAYICON,
37         WM_SHOWGUI,
38         WM_SHOWMENU,
39         WM_PROCURL
40
41 };
42
43
44 #endif