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