![]() |
The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
|
#include <WinampTestServer.h>
Public Types | |
| enum | StopType { Performed, Immediate, WithFade, AfterCurrent } |
Public Member Functions | |
| WinampTestServer () | |
| virtual | ~WinampTestServer () |
| string | WinampVersion () |
| void | ExecuteCommand (WinampCommand MessageToExecute) |
| void | ExecuteStringCommand (const char *CommandString, WinampCommand Command) |
| int | QueryInt (WinampCommand Command, int Data) |
| string | QueryString (WinampCommand Command, int Data) |
Public Member Functions inherited from WinampRemote::Server::IWinampServer | |
| virtual | ~IWinampServer () |
mock server for use in the test project, implementing the IWinampServer interface
Definition at line 37 of file WinampTestServer.h.
Definition at line 41 of file WinampTestServer.h.
| WinampRemote::Server::WinampTestServer::WinampTestServer | ( | ) |
constructor
Definition at line 12 of file WinampTestServer.cpp.
|
virtual |
virtual destructor
Definition at line 34 of file WinampTestServer.cpp.
|
virtual |
execute the passed command ID
| MessageToExecute |
Implements WinampRemote::Server::IWinampServer.
Definition at line 85 of file WinampTestServer.cpp.
|
virtual |
executes the passed command with the string parameter
| CommandString | |
| Command |
Implements WinampRemote::Server::IWinampServer.
Definition at line 147 of file WinampTestServer.cpp.
|
virtual |
returns the result for the given command and data
| Command | |
| Data |
Implements WinampRemote::Server::IWinampServer.
Definition at line 165 of file WinampTestServer.cpp.
|
virtual |
queries the string value for the given command and data
| Command | |
| Data |
Implements WinampRemote::Server::IWinampServer.
Definition at line 238 of file WinampTestServer.cpp.
|
virtual |
obtains and formats the winamp version number
Implements WinampRemote::Server::IWinampServer.
Definition at line 39 of file WinampTestServer.cpp.