www.pudn.com > RSImageManger.rar > ImageMangerDoc.cpp


// ImageMangerDoc.cpp : implementation of the CImageMangerDoc class 
// 
 
#include "stdafx.h" 
#include "ImageManger.h" 
 
#include "ImageMangerDoc.h" 
 
 
 
/////zrf 
#include "BATCONVERT1.h" 
#include  
#include "Image.h" 
 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CImageMangerDoc 
 
IMPLEMENT_DYNCREATE(CImageMangerDoc, CDocument) 
 
BEGIN_MESSAGE_MAP(CImageMangerDoc, CDocument) 
	//{{AFX_MSG_MAP(CImageMangerDoc) 
		// NOTE - the ClassWizard will add and remove mapping macros here. 
		//    DO NOT EDIT what you see in these blocks of generated code! 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CImageMangerDoc construction/destruction 
 
CImageMangerDoc::CImageMangerDoc() 
{ 
	// TODO: add one-time construction code here 
 
} 
 
CImageMangerDoc::~CImageMangerDoc() 
{ 
} 
 
BOOL CImageMangerDoc::OnNewDocument() 
{ 
	if (!CDocument::OnNewDocument()) 
		return FALSE; 
 
	// TODO: add reinitialization code here 
	// (SDI documents will reuse this document) 
 
	return TRUE; 
} 
 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CImageMangerDoc serialization 
 
void CImageMangerDoc::Serialize(CArchive& ar) 
{ 
	if (ar.IsStoring()) 
	{ 
		// TODO: add storing code here 
	} 
	else 
	{ 
		// TODO: add loading code here 
	} 
} 
 
///////////////////////////////////////////////////////////////////////////// 
// CImageMangerDoc diagnostics 
 
#ifdef _DEBUG 
void CImageMangerDoc::AssertValid() const 
{ 
	CDocument::AssertValid(); 
} 
 
void CImageMangerDoc::Dump(CDumpContext& dc) const 
{ 
	CDocument::Dump(dc); 
} 
#endif //_DEBUG 
 
///////////////////////////////////////////////////////////////////////////// 
// CImageMangerDoc commands