1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
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 Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #if !defined(HEADER_TYPE_H)
20 #include "base_dialog.h"
21 #include "edit_list_ctrl.h"
25 #endif // _MSC_VER > 1000
26 // type_dialog.h : header file
34 class CGeorgesEditView
;
36 /////////////////////////////////////////////////////////////////////////////
37 // CHeaderDialog dialog
39 class CHeaderDialog
: public CBaseDialog
43 CHeaderDialog (); // standard constructor
60 CButton IncrementVersion
;
63 CStatic LabelComments
;
72 // Get from document, update rightview UI
73 void getFromDocument (const NLGEORGES::CFileHeader
&header
);
75 // Set to document, update document with rightview UI
76 void setStateToDocument ();
77 void setVersionToDocument ();
78 void setCommentsToDocument ();
80 // Resize widget callback
81 void resizeWidgets ();
84 // ClassWizard generated virtual function overrides
85 //{{AFX_VIRTUAL(CHeaderDialog)
87 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
88 virtual BOOL
OnCommand(WPARAM wParam
, LPARAM lParam
);
94 // Generated message map functions
95 //{{AFX_MSG(CHeaderDialog)
96 afx_msg
void OnSize(UINT nType
, int cx
, int cy
);
97 afx_msg BOOL
OnInitDialog();
102 //{{AFX_INSERT_LOCATION}}
103 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
105 #endif // !defined(HEADER_TYPE_H)