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

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