![]() |
The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
|
#include <ClientConfig.h>
Public Member Functions | |
| ClientConfig () | |
| void | read () |
| void | write (const TForm *const frmCommands, const TForm *const frmPlaylist, const TForm *const frmSettings) const |
| TPoint & | CommandsPos () |
| TPoint & | VolumePos () |
| bool & | CommandsVisible () |
| bool & | VolumeVisible () |
| TRect & | PlaylistPos () |
| bool & | PlaylistVisible () |
| bool & | AutoRestore () |
| std::ostream & | streamOut (std::ostream &os) const |
class to wrap up the client configuration
Definition at line 24 of file ClientConfig.h.
|
inline |
constructor - default initialises
Definition at line 46 of file ClientConfig.h.
|
inline |
returns a modifiable value for the autorestore value
Definition at line 106 of file ClientConfig.h.
|
inline |
returns a modifiable record for the top left position of the toolbar
Definition at line 70 of file ClientConfig.h.
|
inline |
returns a modifiable value for the visibility of the toolbar
Definition at line 82 of file ClientConfig.h.
|
inline |
returns a modifiable record for the bounds rect position of the playlist form
Definition at line 94 of file ClientConfig.h.
|
inline |
returns a modifiable value for the visibility of the playlist
Definition at line 100 of file ClientConfig.h.
| void WinampRemote::Config::ClientConfig::read | ( | ) |
reads the configuration from the registry
Definition at line 50 of file ClientConfig.cpp.
|
inline |
streams out a representation of of the class to the ostream
| os | - ostream instance |
Definition at line 113 of file ClientConfig.h.
Referenced by WinampRemote::Config::operator<<().
|
inline |
returns a modifiable record for the top left position of the volume form
Definition at line 76 of file ClientConfig.h.
|
inline |
returns a modifiable value for the visibility of the volume form
Definition at line 88 of file ClientConfig.h.
| void WinampRemote::Config::ClientConfig::write | ( | const TForm *const | frmCommands, |
| const TForm *const | frmPlaylist, | ||
| const TForm *const | frmSettings | ||
| ) | const |
writes the configuration to the registry, taking bounds directly from the forms
| frmCommands | |
| frmPlaylist | |
| frmSettings |
Definition at line 81 of file ClientConfig.cpp.