MainTable.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #if !defined(AFX_MAINTABLE_H__F5CFB0A6_A6E1_4C55_A685_AB5F1A0FCF53__INCLUDED_)
  2. #define AFX_MAINTABLE_H__F5CFB0A6_A6E1_4C55_A685_AB5F1A0FCF53__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. #include "ArrayEx.h"
  7. class CMainTable : public CDaoRecordset
  8. {
  9. public:
  10. CMainTable(CDaoDatabase* pDatabase = NULL);
  11. DECLARE_DYNAMIC(CMainTable)
  12. // Field/Param Data
  13. //{{AFX_FIELD(CMainTable, CDaoRecordset)
  14. long m_lID;
  15. long m_lDate;
  16. CString m_strType;
  17. CString m_strText;
  18. long m_lShortCut;
  19. long m_lDontAutoDelete;
  20. long m_lTotalCopySize;
  21. //}}AFX_FIELD
  22. // Overrides
  23. // ClassWizard generated virtual function overrides
  24. //{{AFX_VIRTUAL(CMainTable)
  25. public:
  26. virtual CString GetDefaultDBName(); // Default database name
  27. virtual CString GetDefaultSQL(); // Default SQL for Recordset
  28. virtual void DoFieldExchange(CDaoFieldExchange* pFX); // RFX support
  29. //}}AFX_VIRTUAL
  30. public:
  31. // only deletes from Main
  32. static BOOL DeleteAll();
  33. static HACCEL LoadAcceleratorKeys();
  34. void Open(LPCTSTR lpszFormat,...);
  35. // Implementation
  36. #ifdef _DEBUG
  37. virtual void AssertValid() const;
  38. virtual void Dump(CDumpContext& dc) const;
  39. #endif
  40. };
  41. //{{AFX_INSERT_LOCATION}}
  42. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  43. #endif // !defined(AFX_MAINTABLE_H__F5CFB0A6_A6E1_4C55_A685_AB5F1A0FCF53__INCLUDED_)