Public Types

IArchTaskBarReceiver Class Reference

Interface for architecture dependent task bar event handling. More...

#include <IArchTaskBarReceiver.h>

Inherits IInterface.

Inherited by CClientTaskBarReceiver, CPortableTaskBarReceiver, and CServerTaskBarReceiver.

List of all members.

Public Types

typedef void * Icon

Public Member Functions

manipulators

virtual void showStatus ()=0
 Show status window.
virtual void runMenu (int x, int y)=0
 Popup menu.
virtual void primaryAction ()=0
 Perform primary action.
accessors

virtual void lock () const =0
 Lock receiver.
virtual void unlock () const =0
 Unlock receiver.
virtual const Icon getIcon () const =0
 Get icon.
virtual std::string getToolTip () const =0
 Get tooltip.
virtual void updateStatus (INode *, const CString &errorMsg)=0
virtual void cleanup ()

Detailed Description

Interface for architecture dependent task bar event handling.

This interface defines the task bar icon event handlers required by synergy. Each architecture must implement this interface though each operation can be a no-op.

Definition at line 34 of file IArchTaskBarReceiver.h.


Member Function Documentation

virtual const Icon IArchTaskBarReceiver::getIcon (  )  const [pure virtual]
virtual std::string IArchTaskBarReceiver::getToolTip (  )  const [pure virtual]

Get tooltip.

Returns the tool tip to display in the task bar. The interface to set the tooltip is left to sublclasses. Getting and setting the icon must be thread safe.

Implemented in CClientTaskBarReceiver, CPortableTaskBarReceiver, and CServerTaskBarReceiver.

virtual void IArchTaskBarReceiver::lock (  )  const [pure virtual]

Lock receiver.

Locks the receiver from changing state. The receiver should be locked when querying it's state to ensure consistent results. Each call to lock() must have a matching unlock() and locks cannot be nested.

Implemented in CClientTaskBarReceiver, CPortableTaskBarReceiver, and CServerTaskBarReceiver.

virtual void IArchTaskBarReceiver::primaryAction (  )  [pure virtual]
virtual void IArchTaskBarReceiver::runMenu ( int  x,
int  y 
) [pure virtual]
virtual void IArchTaskBarReceiver::showStatus (  )  [pure virtual]

The documentation for this class was generated from the following file: