source: vendor/synergy/current/lib/arch/IArchTaskBar.h

Last change on this file was 2749, checked in by bird, 19 years ago

synergy v1.3.1 sources (zip).

File size: 1.6 KB
Line 
1/*
2 * synergy -- mouse and keyboard sharing utility
3 * Copyright (C) 2003 Chris Schoeneman
4 *
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.
8 *
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.
13 */
14
15#ifndef IARCHTASKBAR_H
16#define IARCHTASKBAR_H
17
18#include "IInterface.h"
19
20class IArchTaskBarReceiver;
21
22//! Interface for architecture dependent task bar control
23/*!
24This interface defines the task bar icon operations required
25by synergy. Each architecture must implement this interface
26though each operation can be a no-op.
27*/
28class IArchTaskBar : public IInterface {
29public:
30 //! @name manipulators
31 //@{
32
33 //! Add a receiver
34 /*!
35 Add a receiver object to be notified of user and application
36 events. This should be called before other methods. When
37 the receiver is added to the task bar, its icon appears on
38 the task bar.
39 */
40 virtual void addReceiver(IArchTaskBarReceiver*) = 0;
41
42 //! Remove a receiver
43 /*!
44 Remove a receiver object from the task bar. This removes the
45 icon from the task bar.
46 */
47 virtual void removeReceiver(IArchTaskBarReceiver*) = 0;
48
49 //! Update a receiver
50 /*!
51 Updates the display of the receiver on the task bar. This
52 should be called when the receiver appearance may have changed
53 (e.g. it's icon or tool tip has changed).
54 */
55 virtual void updateReceiver(IArchTaskBarReceiver*) = 0;
56
57 //@}
58};
59
60#endif
Note: See TracBrowser for help on using the repository browser.