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

ap_CocoaDialog_Insert_DateTime.h

Go to the documentation of this file.
00001 /* AbiWord
00002  * Copyright (C) 1998 AbiSource, Inc.
00003  * Copyright (C) 2001, 2003 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_COCOADIALOG_INSERT_DATETIME_H
00022 #define AP_COCOADIALOG_INSERT_DATETIME_H
00023 
00024 #include "ap_Dialog_Insert_DateTime.h"
00025 #import "xap_Cocoa_NSTableUtils.h"
00026 #import "xap_GenericListChooser_Controller.h"
00027 
00028 class XAP_CocoaFrame;
00029 
00030 /*****************************************************************/
00031 
00032 class AP_CocoaDialog_Insert_DateTime: public AP_Dialog_Insert_DateTime
00033 {
00034 public:
00035     AP_CocoaDialog_Insert_DateTime(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id dlgid);
00036     virtual ~AP_CocoaDialog_Insert_DateTime(void);
00037 
00038     virtual void            runModal(XAP_Frame * pFrame);
00039 
00040     static XAP_Dialog *     static_constructor(XAP_DialogFactory *, XAP_Dialog_Id dlgid);
00041 
00042     // callbacks can fire these events
00043 
00044     virtual void            event_OK(void);
00045     virtual void            event_Cancel(void);
00046 
00047 protected:
00048 #if 0
00049     // private construction functions
00050     virtual GtkWidget * _constructWindow(void);
00051     void        _populateWindowData(void);
00052     void            _connectSignals(void);
00053     GtkWidget *     _constructWindowContents(void);
00054 
00055     // pointers to widgets we need to query/set
00056     GtkWidget * m_windowMain;
00057 
00058     // group of radio buttons for easy traversal
00059     GtkWidget * m_listFormats;
00060 
00061     GtkWidget * m_buttonOK;
00062     GtkWidget * m_buttonCancel;
00063 #endif
00064 private:
00065     void        _populateWindowData(void);
00066     XAP_StringListDataSource*   m_dataSource;
00067     XAP_GenericListChooser_Controller*  m_dlg;
00068 };
00069 
00070 #endif /* AP_COCOADIALOG_INSERT_DATETIME_H */

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1