]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/unix/taskbarx11.h
Compile with builtin ODBC in GTK+ ANSI mode
[wxWidgets.git] / include / wx / unix / taskbarx11.h
... / ...
CommitLineData
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
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////
11
12#ifndef _TASKBAR_H_
13#define _TASKBAR_H_
14
15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16#pragma interface "taskbarx11.h"
17#endif
18
19class WXDLLEXPORT wxIcon;
20class WXDLLEXPORT wxFrame;
21class WXDLLEXPORT wxWindow;
22
23class WXDLLIMPEXP_ADV wxTaskBarIconArea;
24
25class WXDLLIMPEXP_ADV wxTaskBarIcon: public wxTaskBarIconBase
26{
27public:
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
40protected:
41 wxTaskBarIconArea *m_iconWnd;
42
43 DECLARE_DYNAMIC_CLASS(wxTaskBarIcon)
44};
45
46#endif
47 // _TASKBAR_H_