![]() |
The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
|
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, WAPlaybackStatus status) |
std::ostream & | operator<< (std::ostream &os, WinampCommand command) |
void | LocalExecuteCommand (HWND HWinamp, WinampCommand Command) |
void | LocalExecuteStringCommand (HWND HWinamp, const char *CommandString, WinampCommand Command) |
int | LocalQueryInt (HWND HWinamp, WinampCommand Command, int Data) |
char * | LocalQueryString (HWND HWinamp, WinampCommand Command, int Data) |
static char * | StandardVersion (int version) |
const char * | WinampVersionString (int version) |
const char * | LocalGetWinampVersion (HWND HWinamp) |
const char * | WinampCommandDesc (int Command) |
Variables | |
const int | WM_WA_IPC = WM_USER |
static const char * | WAPlaybackStatusDesc [WA_PAUSED+1] |
static char | winampver [80] |
void LocalExecuteCommand | ( | HWND | HWinamp, |
WinampCommand | MessageToExecute | ||
) |
Executes the Winamp API message on the current target handle
HWinamp | window handle of the winamp instance |
MessageToExecute | winamp command ID returns nothing |
Definition at line 71 of file waint.cpp.
Referenced by WinampRemote::Server::WinampServer::ExecuteCommand().
void LocalExecuteStringCommand | ( | HWND | HWinamp, |
const char * | CommandString, | ||
WinampCommand | Command | ||
) |
Executes the Winamp string based API command on the current target handle.
HWinamp | window handle of the winamp instance |
CommandString | - input parameter |
Command | - the winamp API command returns nothing |
Definition at line 77 of file waint.cpp.
Referenced by WinampRemote::Server::WinampServer::ExecuteStringCommand().
const char* LocalGetWinampVersion | ( | HWND | HWinamp | ) |
Utility function that returns the winamp version description string, according to the known formatting rules. Caters for new standard format Winamp versions and no version.
HWinamp | window handle of the winamp instance |
int LocalQueryInt | ( | HWND | HWinamp, |
WinampCommand | Command, | ||
int | Data | ||
) |
Queries the Winamp API for an integer value.
HWinamp | window handle of the winamp instance |
Command | |
Data | - the winamp API command |
Definition at line 88 of file waint.cpp.
Referenced by LocalGetWinampVersion(), and WinampRemote::Server::WinampServer::QueryInt().
char* LocalQueryString | ( | HWND | HWinamp, |
WinampCommand | Command, | ||
int | Data | ||
) |
Queries the Winamp API for a string value.
HWinamp | window handle of the winamp instance |
Command | |
Data | - the winamp API command |
Definition at line 94 of file waint.cpp.
Referenced by WinampRemote::Server::WinampServer::QueryString().
std::ostream& operator<< | ( | std::ostream & | os, |
WAPlaybackStatus | status | ||
) |
std::ostream& operator<< | ( | std::ostream & | os, |
WinampCommand | command | ||
) |
|
static |
Returns the formatted standard Winamp version
version |
Definition at line 110 of file waint.cpp.
Referenced by WinampVersionString().
const char* WinampCommandDesc | ( | int | Command | ) |
Utility function to name the Winamp commands.
Command |
Definition at line 177 of file waint.cpp.
Referenced by operator<<().
const char* WinampVersionString | ( | int | version | ) |
Utility function to name the Winamp version from the version number.
version |
Definition at line 122 of file waint.cpp.
Referenced by LocalGetWinampVersion(), main(), ServerTester::testServer(), and WinampRemote::Server::WinampServer::WinampVersion().
|
static |
Definition at line 34 of file waint.cpp.
Referenced by operator<<().
|
static |
static buffer for the winamp version
Definition at line 103 of file waint.cpp.
Referenced by StandardVersion(), and WinampVersionString().
const int WM_WA_IPC = WM_USER |
Winamp user Message number
Definition at line 31 of file waint.cpp.
Referenced by LocalQueryInt(), and LocalQueryString().