CB32 1.2 sources
This commit is contained in:
parent
cf25bc7627
commit
fd87f89a19
100 changed files with 14543 additions and 0 deletions
69
CB32Doc.h
Normal file
69
CB32Doc.h
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
// CB32Doc.h : interface of the CCB32Doc class
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !defined(AFX_CB32DOC_H__20BFD1ED_4F52_11D1_AF86_000000000000__INCLUDED_)
|
||||
#define AFX_CB32DOC_H__20BFD1ED_4F52_11D1_AF86_000000000000__INCLUDED_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include "..\cexpr\cexpr.h"
|
||||
|
||||
class CCB32Doc : public CDocument
|
||||
{
|
||||
protected: // create from serialization only
|
||||
CCB32Doc();
|
||||
DECLARE_DYNCREATE(CCB32Doc)
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
CExprDatabase db;
|
||||
|
||||
// Operations
|
||||
public:
|
||||
inline CExprDatabase& GetDB() { return db; }
|
||||
|
||||
protected:
|
||||
void UpdateIniFileWithDocPath(LPCTSTR lpszPathName);
|
||||
BOOL FileImport(CString, char*, char*);
|
||||
BOOL FileExport(CString, char*);
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CCB32Doc)
|
||||
public:
|
||||
virtual BOOL OnNewDocument();
|
||||
virtual void Serialize(CArchive& ar);
|
||||
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
|
||||
virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
public:
|
||||
virtual ~CCB32Doc();
|
||||
#ifdef _DEBUG
|
||||
virtual void AssertValid() const;
|
||||
virtual void Dump(CDumpContext& dc) const;
|
||||
#endif
|
||||
|
||||
protected:
|
||||
|
||||
// Generated message map functions
|
||||
protected:
|
||||
//{{AFX_MSG(CCB32Doc)
|
||||
afx_msg void OnImportCsv();
|
||||
afx_msg void OnImportTab();
|
||||
afx_msg void OnExportCsv();
|
||||
afx_msg void OnExportTab();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_CB32DOC_H__20BFD1ED_4F52_11D1_AF86_000000000000__INCLUDED_)
|
||||
Reference in a new issue