Debian Codegraph @

src/af/xap/xp/xap_Dlg_WindowMore.h

raw
1 /* AbiSource Application Framework
2 * Copyright (C) 1998 AbiSource, Inc.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 * 02110-1301 USA.
18 */
19
20 #ifndef XAP_DIALOG_WINDOWMORE_H
21 #define XAP_DIALOG_WINDOWMORE_H
22
23 /* #include "xap_Frame.h" */
24 #include "xap_Dialog.h"
25
26 class XAP_Frame;
27
28 class ABI_EXPORT XAP_Dialog_WindowMore : public XAP_Dialog_NonPersistent
29 {
30 public:
31 XAP_Dialog_WindowMore(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id);
32 virtual ~XAP_Dialog_WindowMore(void);
33
34 virtual void runModal(XAP_Frame * pFrame) = 0;
35
36 typedef enum { a_OK, a_CANCEL } tAnswer;
37
38 XAP_Dialog_WindowMore::tAnswer getAnswer(void) const;
39 XAP_Frame * getSelFrame(void) const;
40
41 protected:
42 XAP_Dialog_WindowMore::tAnswer m_answer;
43
44 UT_sint32 m_ndxSelFrame;
45 };
46
47 #endif /* XAP_DIALOG_WINDOWMORE_H */