- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
CoreLog.h
资源名称:44757463.rar [点击查看]
上传用户:lj3531212
上传日期:2007-06-18
资源大小:346k
文件大小:1k
源码类别:
绘图程序
开发平台:
Visual C++
- // CoreLog.h: CCoreLog
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_CORELOG_H__4A873F13_CCD1_11D4_B1EB_00300503877F__INCLUDED_)
- #define AFX_CORELOG_H__4A873F13_CCD1_11D4_B1EB_00300503877F__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "afxtempl.h"
- class CUND_Base;
- class CCore;
- class CCoreLog{
- public:
- CString m_logfile; //
- CArray<CUND_Base*, CUND_Base*> m_undoInfo; //
- long int m_nUndoInfo; //
- long int m_nUndoUndo; //
- FILE* m_fp; //
- public:
- CCoreLog();
- virtual ~CCoreLog();
- void OpenLog();
- void CloseLog();
- BOOL AddUndoTitle(CString title, CCore *pCore,BOOL bSendMessage,long nPSID);
- BOOL WriteLogString(CString text);
- void ClearUndoInfo(long int nUndoUndo = 0);
- void OnEditUndo(CCore* pCore);
- void OnEditRedo(CCore* pCore);
- BOOL IsAbleToUndo();
- BOOL IsAbleToRedo();
- void AddUndoItem(CUND_Base* pUndo);
- void DelLastUndoItem();
- };
- #endif // !defined(AFX_CORELOG_H__4A873F13_CCD1_11D4_B1EB_00300503877F__INCLUDED_)