/* AbiWord * Copyright (C) 1998 AbiSource, Inc. * Copyright (C) 2001 Hubert Figuiere * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. */ #ifndef AP_COCOATOOLBAR_STYLECOMBO_H #define AP_COCOATOOLBAR_STYLECOMBO_H #include "xap_Types.h" #include "ev_Toolbar_Control.h" #include "pd_Document.h" class EV_Toolbar; class AP_CocoaFrame; /*****************************************************************/ class AP_CocoaToolbar_StyleCombo : public EV_Toolbar_Control { public: AP_CocoaToolbar_StyleCombo(EV_Toolbar * pToolbar, XAP_Toolbar_Id tlbrid); virtual ~AP_CocoaToolbar_StyleCombo(void); virtual bool populate(void); bool repopulate(void); static EV_Toolbar_Control * static_constructor(EV_Toolbar *, XAP_Toolbar_Id tlbrid); protected: /* shouldn't these be stuck into XP class, AP ?*/ PD_Document * m_pDocument; AP_CocoaFrame * m_pFrame; }; #endif /* AP_COCOATOOLBAR_STYLECOMBO_H */