Debian Codegraph @

src/af/xap/gtk/xap_UnixDlg_ListDocuments.h

raw
1 /* AbiWord
2 * Copyright (C) 2000 AbiSource, Inc.
3 * Copyright (C) 2004 Hubert Figuiere
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 * 02110-1301 USA.
19 */
20
21 #ifndef XAP_UNIXDIALOG_LISTDOCUMENTS_H
22 #define XAP_UNIXDIALOG_LISTDOCUMENTS_H
23
24 #include "xap_Dlg_ListDocuments.h"
25
26 class XAP_Frame;
27
28 /*****************************************************************/
29
30 class XAP_UnixDialog_ListDocuments: public XAP_Dialog_ListDocuments
31 {
32 public:
33 XAP_UnixDialog_ListDocuments(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id);
34 virtual ~XAP_UnixDialog_ListDocuments(void);
35
36 virtual void runModal(XAP_Frame * pFrame);
37
38 static XAP_Dialog * static_constructor(XAP_DialogFactory *, XAP_Dialog_Id id);
39
40 protected:
41 private:
42 void event_View(void);
43 void event_Cancel(void);
44 GtkWidget * _constructWindow(void);
45 void _populateWindowData(void);
46 static void s_list_dblclicked(GtkTreeView *treeview,
47 GtkTreePath *arg1,
48 GtkTreeViewColumn *arg2,
49 XAP_UnixDialog_ListDocuments * me);
50
51 GtkWidget *m_listWindows;
52 GtkWidget *m_windowMain;
53 };
54
55 #endif /* XAP_UNIXDIALOG_LISTDOCUMENTS_H */