85 lines
1.7 KiB
C++
85 lines
1.7 KiB
C++
|
// SmsManagerDoc.cpp : implementation of the CSmsManagerDoc class
|
||
|
//
|
||
|
|
||
|
#include "stdafx.h"
|
||
|
#include "SmsManager.h"
|
||
|
|
||
|
#include "SmsManagerDoc.h"
|
||
|
|
||
|
#ifdef _DEBUG
|
||
|
#define new DEBUG_NEW
|
||
|
#undef THIS_FILE
|
||
|
static char THIS_FILE[] = __FILE__;
|
||
|
#endif
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CSmsManagerDoc
|
||
|
|
||
|
IMPLEMENT_DYNCREATE(CSmsManagerDoc, CDocument)
|
||
|
|
||
|
BEGIN_MESSAGE_MAP(CSmsManagerDoc, CDocument)
|
||
|
//{{AFX_MSG_MAP(CSmsManagerDoc)
|
||
|
// 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()
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CSmsManagerDoc construction/destruction
|
||
|
|
||
|
CSmsManagerDoc::CSmsManagerDoc()
|
||
|
{
|
||
|
// TODO: add one-time construction code here
|
||
|
|
||
|
}
|
||
|
|
||
|
CSmsManagerDoc::~CSmsManagerDoc()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
BOOL CSmsManagerDoc::OnNewDocument()
|
||
|
{
|
||
|
if (!CDocument::OnNewDocument())
|
||
|
return FALSE;
|
||
|
|
||
|
// TODO: add reinitialization code here
|
||
|
// (SDI documents will reuse this document)
|
||
|
|
||
|
return TRUE;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CSmsManagerDoc serialization
|
||
|
|
||
|
void CSmsManagerDoc::Serialize(CArchive& ar)
|
||
|
{
|
||
|
if (ar.IsStoring())
|
||
|
{
|
||
|
// TODO: add storing code here
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
// TODO: add loading code here
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CSmsManagerDoc diagnostics
|
||
|
|
||
|
#ifdef _DEBUG
|
||
|
void CSmsManagerDoc::AssertValid() const
|
||
|
{
|
||
|
CDocument::AssertValid();
|
||
|
}
|
||
|
|
||
|
void CSmsManagerDoc::Dump(CDumpContext& dc) const
|
||
|
{
|
||
|
CDocument::Dump(dc);
|
||
|
}
|
||
|
#endif //_DEBUG
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CSmsManagerDoc commands
|