home *** CD-ROM | disk | FTP | other *** search
- #if !defined(AFX_DIR_H__9BD4DD43_724E_11D2_9F15_00A0246D0F63__INCLUDED_)
- #define AFX_DIR_H__9BD4DD43_724E_11D2_9F15_00A0246D0F63__INCLUDED_
-
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // Dir.h : header file
- //
-
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CDir command target
-
- #include "CScanDir.h"
-
- class CDir : public CCmdTarget
- {
- DECLARE_DYNCREATE(CDir)
-
- CDir(); // protected constructor used by dynamic creation
-
- CScanDir m_ScanDir;
-
-
-
- // Attributes
- public:
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDir)
- public:
- virtual void OnFinalRelease();
- //}}AFX_VIRTUAL
-
- // Implementation
- protected:
- virtual ~CDir();
-
- // Generated message map functions
- //{{AFX_MSG(CDir)
- // NOTE - the ClassWizard will add and remove member functions here.
- //}}AFX_MSG
-
- DECLARE_MESSAGE_MAP()
- DECLARE_OLECREATE(CDir)
-
- // Generated OLE dispatch map functions
- //{{AFX_DISPATCH(CDir)
- afx_msg long Scan(LPCTSTR pszFileSpec);
- afx_msg BSTR getFile(long iFile);
- afx_msg long MkDir(LPCTSTR pszDir);
- afx_msg long getFileCount();
- afx_msg BSTR getFileRoot(LPCTSTR pszFilePath);
- afx_msg BSTR getDir(long iDir);
- afx_msg long getDirCount();
- //}}AFX_DISPATCH
- DECLARE_DISPATCH_MAP()
- DECLARE_INTERFACE_MAP()
- };
-
- /////////////////////////////////////////////////////////////////////////////
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_DIR_H__9BD4DD43_724E_11D2_9F15_00A0246D0F63__INCLUDED_)
-