The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
waint.h
Go to the documentation of this file.
1 #ifndef waintH
2 #define waintH
3 
4 #include "windows.h"
5 #include <iosfwd>
6 
7 #pragma hdrstop
8 
9 /* TODO : are these sort types working? IDC_SORT_FILETITLE, IDC_SORT_FILENAME, IDC_SORT_ENTIREFILENAME */
10 /* TODO: implement using IPC_UPDTITLE, IPC_REFRESHPLCACHE */
11 
13 {
15 };
16 
22 std::ostream& operator << (std::ostream& os, WAPlaybackStatus status);
23 
29 {
30 
32  IPC_PLAYFILE = 100,
33  IPC_DELETE = 101,
35  IPC_CHDIR = 103,
44 
46  IPC_GETINFO = 126,
49 
56 
67  WINAMP_VOLUMEUP = 40058,
69  WINAMP_FFWD5S = 40060,
70  WINAMP_REW5S = 40061
71 
72 };
73 
79 std::ostream& operator << (std::ostream& os, WinampCommand command);
80 
86 {
87  WINAMP_BUTTON1 = 40044,
88  WINAMP_BUTTON2 = 40045,
89  WINAMP_BUTTON3 = 40046,
90  WINAMP_BUTTON4 = 40047,
91  WINAMP_BUTTON5 = 40048,
102 };
103 
107 {
113 
116 // ?? WINAMP_BUTTON3_SHIFT
119 
122 // ?? WINAMP_BUTTON3_CTRL
125 };
126 
131 {
135  IDC_SELECTALL = 40169,
136  IDC_SELECTNONE = 40170,
138 };
139 
144 {
145  IDM_EQ_LOADPRE = 40172,
146  IDM_EQ_LOADMP3 = 40173,
148  IDM_EQ_SAVEPRE = 40175,
149  IDM_EQ_SAVEMP3 = 40176,
151  IDM_EQ_DELPRE = 40178,
153 };
154 
159 {
160  WINAMP_JUMP = 40193,
165 };
166 
167 /* major low level interface functions */
168 
175 HWND setWinampHwnd(HWND HWinamp);
176 
183 void LocalExecuteCommand(HWND HWinamp, WinampCommand MessageToExecute);
184 
192 void LocalExecuteStringCommand(HWND HWinamp, const char * CommandString, WinampCommand Command);
193 
201 int LocalQueryInt(HWND HWinamp, WinampCommand Command, int Data);
202 
210 char * LocalQueryString(HWND HWinamp, WinampCommand Command, int Data);
211 
219 const char * LocalGetWinampVersion(HWND HWinamp);
220 
221 /* strings identifying the commands */
227 const char * WinampCommandDesc(int Command);
228 
234 const char * WinampVersionString(int version);
235 
236 
237 #endif // waintH