2ff20be5e0cce3e33d29d41bd09e7b0cf3b562c6
[opencv] / apps / StereoGR / DGProp.h
1 /*M///////////////////////////////////////////////////////////////////////////////////////\r
2 //\r
3 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.\r
4 //\r
5 //  By downloading, copying, installing or using the software you agree to this license.\r
6 //  If you do not agree to this license, do not download, install,\r
7 //  copy or use the software.\r
8 //\r
9 //\r
10 //                        Intel License Agreement\r
11 //                For Open Source Computer Vision Library\r
12 //\r
13 // Copyright (C) 2000, Intel Corporation, all rights reserved.\r
14 // Third party copyrights are property of their respective owners.\r
15 //\r
16 // Redistribution and use in source and binary forms, with or without modification,\r
17 // are permitted provided that the following conditions are met:\r
18 //\r
19 //   * Redistribution's of source code must retain the above copyright notice,\r
20 //     this list of conditions and the following disclaimer.\r
21 //\r
22 //   * Redistribution's in binary form must reproduce the above copyright notice,\r
23 //     this list of conditions and the following disclaimer in the documentation\r
24 //     and/or other materials provided with the distribution.\r
25 //\r
26 //   * The name of Intel Corporation may not be used to endorse or promote products\r
27 //     derived from this software without specific prior written permission.\r
28 //\r
29 // This software is provided by the copyright holders and contributors "as is" and\r
30 // any express or implied warranties, including, but not limited to, the implied\r
31 // warranties of merchantability and fitness for a particular purpose are disclaimed.\r
32 // In no event shall the Intel Corporation or contributors be liable for any direct,\r
33 // indirect, incidental, special, exemplary, or consequential damages\r
34 // (including, but not limited to, procurement of substitute goods or services;\r
35 // loss of use, data, or profits; or business interruption) however caused\r
36 // and on any theory of liability, whether in contract, strict liability,\r
37 // or tort (including negligence or otherwise) arising in any way out of\r
38 // the use of this software, even if advised of the possibility of such damage.\r
39 //\r
40 //M*/#if !defined(AFX_DGPROP_H__CBB4EAC0_7B6C_42E0_96EB_75F1941E3AB9__INCLUDED_)\r
41 #define AFX_DGPROP_H__CBB4EAC0_7B6C_42E0_96EB_75F1941E3AB9__INCLUDED_\r
42 \r
43 #if _MSC_VER > 1000\r
44 #pragma once\r
45 #endif // _MSC_VER > 1000\r
46 // DGProp.h : header file\r
47 //\r
48 \r
49 /////////////////////////////////////////////////////////////////////////////\r
50 // CDGProp dialog\r
51 \r
52 class CDGProp : public CPropertyPage\r
53 {\r
54         DECLARE_DYNCREATE(CDGProp)\r
55 \r
56 // Construction\r
57 public:\r
58         CString GetSavePath();\r
59         BOOL IsSaveToFile();\r
60     BOOL IsCollectGesture() { return m_isCollectGesture; }\r
61         CString GetGestureName();\r
62         CDGProp(CWnd* pParent = NULL);   // standard constructor\r
63 \r
64 // Dialog Data\r
65         //{{AFX_DATA(CDGProp)\r
66         enum { IDD = IDD_DYNGEST };\r
67         CString m_dgName;\r
68         BOOL    m_isSaveToFile;\r
69         CString m_savePath;\r
70         BOOL    m_isCollectGesture;\r
71         //}}AFX_DATA\r
72 \r
73 \r
74 // Overrides\r
75         // ClassWizard generated virtual function overrides\r
76         //{{AFX_VIRTUAL(CDGProp)\r
77         protected:\r
78         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support\r
79         //}}AFX_VIRTUAL\r
80 \r
81 // Implementation\r
82 protected:\r
83 \r
84         // Generated message map functions\r
85         //{{AFX_MSG(CDGProp)\r
86         virtual BOOL OnInitDialog();\r
87         afx_msg void OnDgcollect();\r
88         afx_msg void OnEditchangeDgname();\r
89         afx_msg void OnSelendokDgname();\r
90         afx_msg void OnCloseupDgname();\r
91         //}}AFX_MSG\r
92         DECLARE_MESSAGE_MAP()\r
93 };\r
94 \r
95 //{{AFX_INSERT_LOCATION}}\r
96 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.\r
97 \r
98 #endif // !defined(AFX_DGPROP_H__CBB4EAC0_7B6C_42E0_96EB_75F1941E3AB9__INCLUDED_)\r