• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ap_CocoaToolbar_StyleCombo.h

Go to the documentation of this file.
00001 /* AbiWord
00002  * Copyright (C) 1998 AbiSource, Inc.
00003  * Copyright (C) 2001 Hubert Figuiere
00004  *
00005  * This program is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * as published by the Free Software Foundation; either version 2
00008  * of the License, or (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00018  * 02110-1301 USA.
00019  */
00020 
00021 #ifndef AP_COCOATOOLBAR_STYLECOMBO_H
00022 #define AP_COCOATOOLBAR_STYLECOMBO_H
00023 
00024 #include "xap_Types.h"
00025 #include "ev_Toolbar_Control.h"
00026 #include "pd_Document.h"
00027 
00028 class EV_Toolbar;
00029 class AP_CocoaFrame;
00030 
00031 /*****************************************************************/
00032 
00033 class AP_CocoaToolbar_StyleCombo : public EV_Toolbar_Control
00034 {
00035 public:
00036     AP_CocoaToolbar_StyleCombo(EV_Toolbar * pToolbar, XAP_Toolbar_Id tlbrid);
00037     virtual ~AP_CocoaToolbar_StyleCombo(void);
00038 
00039     virtual bool        populate(void);
00040     bool                repopulate(void);
00041     static EV_Toolbar_Control *     static_constructor(EV_Toolbar *, XAP_Toolbar_Id tlbrid);
00042 
00043 protected:
00044     /* shouldn't these be stuck into XP class, AP ?*/
00045     PD_Document * m_pDocument;
00046     AP_CocoaFrame * m_pFrame;
00047 };
00048 
00049 #endif /* AP_COCOATOOLBAR_STYLECOMBO_H */
00050 
00051 
00052 
00053 
00054 
00055 

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1