|
//====================================================================
// Although great care has gone into developing this software,
// it is provided without any guarantee of reliability, accuracy
// of information, or correctness of operation. I am not responsible
// for any damages that may occur as a result of using this software.
// Use this software entirely at your own risk.
// Copyright 2003, Chris Richardson
//
// Description: Workspace search options page.
//
//====================================================================
#if !defined(AFX_WORKSPACESEARCHPAGE_H__844B0788_6B54_4DED_B567_AB3B89BBCBF7__INCLUDED_)
#define AFX_WORKSPACESEARCHPAGE_H__844B0788_6B54_4DED_B567_AB3B89BBCBF7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// WorkspaceSearchPage.h : header file
//
#include "SearchPropertyPage.h"
#include "DSObjects.h"
class CWorkspaceFileIterator;
class CFileIterator;
/////////////////////////////////////////////////////////////////////////////
// CWorkspaceSearchPage dialog
class CWorkspaceSearchPage : public CSearchPropertyPage
{
DECLARE_DYNCREATE(CWorkspaceSearchPage)
// Construction
public:
CWorkspaceSearchPage();
~CWorkspaceSearchPage();
// Dialog Data
//{{AFX_DATA(CWorkspaceSearchPage)
enum { IDD = IDD_WORKSPACE_PAGE };
CStatic c_oWorkspaceLabel;
CButton c_oLoadWorkspace;
CButton c_oBrowseWorkspace;
CComboBox c_oSearchWorkspace;
CComboBox c_oFileMask;
CComboBox c_oConfiguration;
//}}AFX_DATA
virtual CFileIterator * PrepareToStart();
virtual void SearchStopped();
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CWorkspaceSearchPage)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CDSWorkspace * c_poWorkspace;
CWorkspaceFileIterator * c_poIterator;
void EnableWorkspace( BOOL p_bEnable );
// Generated message map functions
//{{AFX_MSG(CWorkspaceSearchPage)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnBrowseWorkspace();
afx_msg void OnWorkspaceLoad();
virtual BOOL OnInitDialog();
afx_msg void OnDestroy();
afx_msg void OnSelchangeSearchWorkspace();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WORKSPACESEARCHPAGE_H__844B0788_6B54_4DED_B567_AB3B89BBCBF7__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.