]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/classic/taskbarosx.h
added a couple of base classes
[wxWidgets.git] / include / wx / mac / classic / taskbarosx.h
CommitLineData
52479aef
SC
1/////////////////////////////////////////////////////////////////////////
2// File: wx/mac/taskbarosx.h
3// Purpose: Defines wxTaskBarIcon class for OSX
4// Author: Ryan Norton
5// Modified by:
6// Created: 04/04/2003
7// RCS-ID: $Id$
8// Copyright: (c) Ryan Norton, 2003
65571936 9// Licence: wxWindows licence
52479aef
SC
10/////////////////////////////////////////////////////////////////////////
11
12#ifndef _TASKBAR_H_
13#define _TASKBAR_H_
14
52479aef
SC
15class WXDLLEXPORT wxIcon;
16class WXDLLEXPORT wxMenu;
17
18class WXDLLEXPORT wxTaskBarIcon : public wxTaskBarIconBase
19{
20public:
21 //type of taskbar item to create (currently only DOCK is implemented)
22 enum wxTaskBarIconType
23 {
24 DOCK,
25 STATUSITEM,
26 MENUEXTRA
27 };
28
29 wxTaskBarIcon(const wxTaskBarIconType& nType = DOCK);
30 virtual ~wxTaskBarIcon();
31
32 // Operations:
33 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxEmptyString);
34 bool RemoveIcon();
35 bool PopupMenu(wxMenu *menu);
36
37protected:
38 wxTaskBarIconType m_nType;
39
40 DECLARE_DYNAMIC_CLASS(wxTaskBarIcon)
41};
42
43#endif
44 // _TASKBAR_H_