home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 27 / IOPROG_27.ISO / SOFT / COMPOUND.ZIP / Dir.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-11-09  |  1.6 KB  |  72 lines

  1. #if !defined(AFX_DIR_H__9BD4DD43_724E_11D2_9F15_00A0246D0F63__INCLUDED_)
  2. #define AFX_DIR_H__9BD4DD43_724E_11D2_9F15_00A0246D0F63__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // Dir.h : header file
  8. //
  9.  
  10.  
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CDir command target
  14.  
  15. #include "CScanDir.h"
  16.  
  17. class CDir : public CCmdTarget
  18. {
  19.     DECLARE_DYNCREATE(CDir)
  20.  
  21.     CDir();           // protected constructor used by dynamic creation
  22.  
  23.     CScanDir    m_ScanDir;
  24.  
  25.  
  26.  
  27. // Attributes
  28. public:
  29.  
  30. // Operations
  31. public:
  32.  
  33. // Overrides
  34.     // ClassWizard generated virtual function overrides
  35.     //{{AFX_VIRTUAL(CDir)
  36.     public:
  37.     virtual void OnFinalRelease();
  38.     //}}AFX_VIRTUAL
  39.  
  40. // Implementation
  41. protected:
  42.     virtual ~CDir();
  43.  
  44.     // Generated message map functions
  45.     //{{AFX_MSG(CDir)
  46.         // NOTE - the ClassWizard will add and remove member functions here.
  47.     //}}AFX_MSG
  48.  
  49.     DECLARE_MESSAGE_MAP()
  50.     DECLARE_OLECREATE(CDir)
  51.  
  52.     // Generated OLE dispatch map functions
  53.     //{{AFX_DISPATCH(CDir)
  54.     afx_msg long Scan(LPCTSTR pszFileSpec);
  55.     afx_msg BSTR getFile(long iFile);
  56.     afx_msg long MkDir(LPCTSTR pszDir);
  57.     afx_msg long getFileCount();
  58.     afx_msg BSTR getFileRoot(LPCTSTR pszFilePath);
  59.     afx_msg BSTR getDir(long iDir);
  60.     afx_msg long getDirCount();
  61.     //}}AFX_DISPATCH
  62.     DECLARE_DISPATCH_MAP()
  63.     DECLARE_INTERFACE_MAP()
  64. };
  65.  
  66. /////////////////////////////////////////////////////////////////////////////
  67.  
  68. //{{AFX_INSERT_LOCATION}}
  69. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  70.  
  71. #endif // !defined(AFX_DIR_H__9BD4DD43_724E_11D2_9F15_00A0246D0F63__INCLUDED_)
  72.