X-Git-Url: http://git.osdn.net/view?p=peercast-im%2FPeerCastIM.git;a=blobdiff_plain;f=c%3A%2FGit%2FPeerCast.root%2FPeerCast%2Fui%2Fwin32%2FSimple_vp%2Fgui.h;fp=c%3A%2FGit%2FPeerCast.root%2FPeerCast%2Fui%2Fwin32%2FSimple_vp%2Fgui.h;h=4eb0f3d92b9d74cafc6416103aa272005c7ef074;hp=0000000000000000000000000000000000000000;hb=00a292ee6d3cfa26811199a31a1ccf0dabb22d1e;hpb=29468c9ba74fed0c5ad0be48a89bf4d8d11c1312 diff --git a/c:/Git/PeerCast.root/PeerCast/ui/win32/Simple_vp/gui.h b/c:/Git/PeerCast.root/PeerCast/ui/win32/Simple_vp/gui.h new file mode 100644 index 0000000..4eb0f3d --- /dev/null +++ b/c:/Git/PeerCast.root/PeerCast/ui/win32/Simple_vp/gui.h @@ -0,0 +1,44 @@ +// ------------------------------------------------ +// File : gui.h +// Date: 4-apr-2002 +// Author: giles +// +// (c) 2002 peercast.org +// ------------------------------------------------ +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// ------------------------------------------------ + +#ifndef _GUI_H +#define _GUI_H + +#include "sys.h" + +extern LRESULT CALLBACK GUIProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); +extern void ADDLOG(const char *str,int id,bool sel,void *data, LogBuffer::TYPE type); + +extern String iniFileName; +extern HWND guiWnd; +extern int logID; + +enum +{ + WM_INITSETTINGS = WM_USER, + WM_GETPORTNUMBER, + WM_PLAYCHANNEL, + WM_TRAYICON, + WM_SHOWGUI, + WM_SHOWMENU, + WM_PROCURL + +}; + + +#endif \ No newline at end of file