]>
Commit | Line | Data |
---|---|---|
fb29dcac VS |
1 | ///////////////////////////////////////////////////////////////////////// |
2 | // File: wx/unix/taskbarx11.h | |
3 | // Purpose: Defines wxTaskBarIcon class for most common X11 desktops | |
4 | // Author: Vaclav Slavik | |
5 | // Modified by: | |
6 | // Created: 04/04/2003 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Vaclav Slavik, 2003 | |
65571936 | 9 | // Licence: wxWindows licence |
fb29dcac VS |
10 | ///////////////////////////////////////////////////////////////////////// |
11 | ||
12 | #ifndef _TASKBAR_H_ | |
13 | #define _TASKBAR_H_ | |
14 | ||
12028905 | 15 | #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) |
fb29dcac VS |
16 | #pragma interface "taskbarx11.h" |
17 | #endif | |
18 | ||
19 | class WXDLLEXPORT wxIcon; | |
20 | class WXDLLEXPORT wxFrame; | |
21 | class WXDLLEXPORT wxWindow; | |
22 | ||
ac258944 VS |
23 | class WXDLLIMPEXP_ADV wxTaskBarIconArea; |
24 | ||
25 | class WXDLLIMPEXP_ADV wxTaskBarIcon: public wxTaskBarIconBase | |
fb29dcac VS |
26 | { |
27 | public: | |
28 | wxTaskBarIcon(); | |
29 | virtual ~wxTaskBarIcon(); | |
30 | ||
31 | // Accessors: | |
32 | bool IsOk() const; | |
33 | bool IsIconInstalled() const; | |
34 | ||
35 | // Operations: | |
36 | bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxEmptyString); | |
37 | bool RemoveIcon(); | |
38 | bool PopupMenu(wxMenu *menu); | |
39 | ||
40 | protected: | |
ac258944 | 41 | wxTaskBarIconArea *m_iconWnd; |
fb29dcac VS |
42 | |
43 | DECLARE_DYNAMIC_CLASS(wxTaskBarIcon) | |
44 | }; | |
45 | ||
46 | #endif | |
47 | // _TASKBAR_H_ |