Implementation of CClientTaskBarReceiver for Microsoft Windows. More...
#include <CMSWindowsClientTaskBarReceiver.h>
Inherits CClientTaskBarReceiver.
Public Member Functions | |
CMSWindowsClientTaskBarReceiver (HINSTANCE, const CBufferedLogOutputter *) | |
virtual void | showStatus () |
Show status window. | |
virtual void | runMenu (int x, int y) |
Popup menu. | |
virtual void | primaryAction () |
Perform primary action. | |
virtual const Icon | getIcon () const |
Get icon. | |
Protected Member Functions | |
void | copyLog () const |
virtual void | onStatusChanged () |
Implementation of CClientTaskBarReceiver for Microsoft Windows.
Definition at line 26 of file CMSWindowsClientTaskBarReceiver.h.
const IArchTaskBarReceiver::Icon CMSWindowsClientTaskBarReceiver::getIcon | ( | ) | const [virtual] |
Get icon.
Returns the icon to display in the task bar. The interface to set the icon is left to subclasses. Getting and setting the icon must be thread safe.
Implements CClientTaskBarReceiver.
Definition at line 208 of file CMSWindowsClientTaskBarReceiver.cpp.
References CClientTaskBarReceiver::getStatus().
void CMSWindowsClientTaskBarReceiver::primaryAction | ( | ) | [virtual] |
Perform primary action.
Perform the primary (default) action.
Implements CClientTaskBarReceiver.
Definition at line 202 of file CMSWindowsClientTaskBarReceiver.cpp.
References showStatus().
void CMSWindowsClientTaskBarReceiver::runMenu | ( | int | x, | |
int | y | |||
) | [virtual] |
Popup menu.
Popup a menu of operations at or around x
,y and perform the chosen operation.
Implements CClientTaskBarReceiver.
Definition at line 131 of file CMSWindowsClientTaskBarReceiver.cpp.
References CLog::kDEBUG, CLog::kDEBUG1, CLog::kDEBUG2, CLog::kERROR, CLog::kINFO, CLog::kNOTE, CLog::kWARNING, CClientTaskBarReceiver::quit(), and showStatus().
void CMSWindowsClientTaskBarReceiver::showStatus | ( | ) | [virtual] |
Show status window.
Open a window displaying current status. This should return immediately without waiting for the window to be closed.
Implements CClientTaskBarReceiver.
Definition at line 69 of file CMSWindowsClientTaskBarReceiver.cpp.
References CClientTaskBarReceiver::getToolTip(), CClientTaskBarReceiver::lock(), and CClientTaskBarReceiver::unlock().
Referenced by primaryAction(), and runMenu().