2
* synergy -- mouse and keyboard sharing utility
3
* Copyright (C) 2003 Chris Schoeneman
5
* This package is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License
7
* found in the file COPYING that should have accompanied this file.
9
* This package is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
15
#ifndef IARCHTASKBAR_H
16
#define IARCHTASKBAR_H
18
#include "IInterface.h"
20
class IArchTaskBarReceiver;
22
//! Interface for architecture dependent task bar control
24
This interface defines the task bar icon operations required
25
by synergy. Each architecture must implement this interface
26
though each operation can be a no-op.
28
class IArchTaskBar : public IInterface {
30
// Event data is architecture dependent
33
//! @name manipulators
38
Add a receiver object to be notified of user and application
39
events. This should be called before other methods. When
40
the receiver is added to the task bar, its icon appears on
43
virtual void addReceiver(IArchTaskBarReceiver*) = 0;
47
Remove a receiver object from the task bar. This removes the
48
icon from the task bar.
50
virtual void removeReceiver(IArchTaskBarReceiver*) = 0;
54
Updates the display of the receiver on the task bar. This
55
should be called when the receiver appearance may have changed
56
(e.g. it's icon or tool tip has changed).
58
virtual void updateReceiver(IArchTaskBarReceiver*) = 0;