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
WinampServerImpl.h
Go to the documentation of this file.
1 /*
2  * WinampServerImpl.h
3  *
4  * Created on: 1 May 2012
5  * Author: Patrick
6  */
7 
8 #ifndef WINAMPSERVERIMPL_H_
9 #define WINAMPSERVERIMPL_H_
10 
11 #include "IWinamp.h"
12 
13 namespace WinampRemote
14 {
15 namespace Server
16 {
17 
23 {
24 private:
28  HWND m_winamphwnd;
29 
30 public:
31  WinampServer(HWND winamp_hwnd);
32  virtual ~WinampServer();
33 
34  string WinampVersion();
35 
36  void ExecuteCommand(WinampCommand MessageToExecute);
37 
38  void ExecuteStringCommand(const char * CommandString, WinampCommand Command);
39 
40  int QueryInt(WinampCommand Command, int Data);
41 
42  string QueryString(WinampCommand Command, int Data);
43 
44 };
45 
46 } /* namespace Server */
47 } /* namespace WinampRemote */
48 #endif /* WINAMPSERVERIMPL_H_ */