]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - contrib/prtview/LoadPortalFileDialog.h
* fixed ufoai surface plugin (don't give a stack variable pointer to the button callb...
[xonotic/netradiant.git] / contrib / prtview / LoadPortalFileDialog.h
1 /*
2 PrtView plugin for GtkRadiant
3 Copyright (C) 2001 Geoffrey Dewan, Loki software and qeradiant.com
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library 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 GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18 */
19
20 #if !defined(AFX_LOADPORTALFILEDIALOG_H__6BEDE392_1FDC_11D4_BFF7_204C4F4F5020__INCLUDED_)
21 #define AFX_LOADPORTALFILEDIALOG_H__6BEDE392_1FDC_11D4_BFF7_204C4F4F5020__INCLUDED_
22
23 #if _MSC_VER >= 1000
24 #pragma once
25 #endif // _MSC_VER >= 1000
26 // LoadPortalFileDialog.h : header file
27 //
28
29 /////////////////////////////////////////////////////////////////////////////
30 // CLoadPortalFileDialog dialog
31
32 #ifdef GTK_PLUGIN
33
34 int DoLoadPortalFileDialog ();
35
36 #else
37
38 class CLoadPortalFileDialog : public CDialog
39 {
40 // Construction
41 public:
42         CLoadPortalFileDialog(CWnd* pParent = NULL);   // standard constructor
43
44 // Dialog Data
45         //{{AFX_DATA(CLoadPortalFileDialog)
46         enum { IDD = IDD_LOAD };
47         CButton m_3d_ctrl;
48         CButton m_2d_ctrl;
49         CStatic m_fn_ctrl;
50         //}}AFX_DATA
51
52
53 // Overrides
54         // ClassWizard generated virtual function overrides
55         //{{AFX_VIRTUAL(CLoadPortalFileDialog)
56         protected:
57         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
58         //}}AFX_VIRTUAL
59
60 // Implementation
61 protected:
62
63         // Generated message map functions
64         //{{AFX_MSG(CLoadPortalFileDialog)
65         virtual qboolean OnInitDialog();
66         virtual void OnOK();
67         afx_msg void OnLoadOther();
68         //}}AFX_MSG
69         DECLARE_MESSAGE_MAP()
70 };
71
72 #endif // GTK_PLUGIN
73
74 //{{AFX_INSERT_LOCATION}}
75 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
76
77 #endif // !defined(AFX_LOADPORTALFILEDIALOG_H__6BEDE392_1FDC_11D4_BFF7_204C4F4F5020__INCLUDED_)