source: trunk/ChildFrame.h @ 23

Revision 23, 2.5 KB checked in by lowjoel, 7 years ago (diff)

Move all third-party code to the Shared and EraserUI folders. EraserUI contains UI-specific controls and other miscellany, Shared contains code helper classes.
EXCEPTION: DropTargetWnd?, OleTreeCtrl? and ShellTree? are elft in the root, because they have been modified quite extensively.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1// ChildFrame.h
2//
3// Eraser. Secure data removal. For Windows.
4// Copyright © 1997-2001  Sami Tolvanen (sami@tolvanen.com).
5//
6// This program is free software; you can redistribute it and/or
7// modify it under the terms of the GNU General Public License
8// as published by the Free Software Foundation; either version 2
9// of the License, or (at your option) any later version.
10//
11// This program is distributed in the hope that it will be useful,
12// but WITHOUT ANY WARRANTY; without even the implied warranty of
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14// GNU General Public License for more details.
15//
16// You should have received a copy of the GNU General Public License
17// along with this program; if not, write to the Free Software
18// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19// 02111-1307, USA.
20
21
22#if !defined(AFX_CHILDFRAME_H__55C18AF0_F175_11D2_BBF3_00105AAF62C4__INCLUDED_)
23#define AFX_CHILDFRAME_H__55C18AF0_F175_11D2_BBF3_00105AAF62C4__INCLUDED_
24
25#if _MSC_VER > 1000
26#pragma once
27#endif // _MSC_VER > 1000
28
29#include "EraserUI\InfoBar.h"
30#include "EraserView.h"
31#include "SchedulerView.h"
32#include "ShellListView.h"
33
34/////////////////////////////////////////////////////////////////////////////
35// CChildFrame frame
36
37class CChildFrame : public CFrameWnd
38{
39    DECLARE_DYNCREATE(CChildFrame)
40protected:
41    CChildFrame();           // protected constructor used by dynamic creation
42
43// Attributes
44public:
45
46// Operations
47public:
48    CEraserView     *m_pEraserView;
49    CSchedulerView  *m_pSchedulerView;
50    CShellListView  *m_pExplorerView;
51
52    int             m_iActiveViewID;
53    CInfoBar        m_InfoBar;
54
55    void            SwitchToForm(int nForm);
56
57// Overrides
58    // ClassWizard generated virtual function overrides
59    //{{AFX_VIRTUAL(CChildFrame)
60    protected:
61    virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
62    virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
63    //}}AFX_VIRTUAL
64
65// Implementation
66protected:
67    virtual ~CChildFrame();
68
69    // Generated message map functions
70    //{{AFX_MSG(CChildFrame)
71    afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
72    afx_msg BOOL OnEraseBkgnd(CDC* pDC);
73    afx_msg void OnDestroy();
74    //}}AFX_MSG
75    DECLARE_MESSAGE_MAP()
76};
77
78/////////////////////////////////////////////////////////////////////////////
79
80//{{AFX_INSERT_LOCATION}}
81// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
82
83#endif // !defined(AFX_CHILDFRAME_H__55C18AF0_F175_11D2_BBF3_00105AAF62C4__INCLUDED_)
Note: See TracBrowser for help on using the repository browser.