]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/unix/taskbarx11.h
1. use a manifest constant wxNO_LEN instead of -1 for lengths everywhere
[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
15class WXDLLEXPORT wxIcon;
16class WXDLLEXPORT wxFrame;
17class WXDLLEXPORT wxWindow;
18
19class WXDLLIMPEXP_ADV wxTaskBarIconArea;
20
21class WXDLLIMPEXP_ADV wxTaskBarIcon: public wxTaskBarIconBase
22{
23public:
24 wxTaskBarIcon();
25 virtual ~wxTaskBarIcon();
26
27 // Accessors:
28 bool IsOk() const;
29 bool IsIconInstalled() const;
30
31 // Operations:
32 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxEmptyString);
33 bool RemoveIcon();
34 bool PopupMenu(wxMenu *menu);
35
36protected:
37 wxTaskBarIconArea *m_iconWnd;
38
39 DECLARE_DYNAMIC_CLASS(wxTaskBarIcon)
40};
41
42#endif
43 // _TASKBAR_H_