1///////////////////////////////////////////////////////////////////////// 2// File: wx/mac/classic/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: taskbarosx.h 42077 2006-10-17 14:44:52Z ABX $ 8// Copyright: (c) Ryan Norton, 2003 9// Licence: wxWindows licence 10///////////////////////////////////////////////////////////////////////// 11 12#ifndef _TASKBAR_H_ 13#define _TASKBAR_H_ 14 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_ 45