|
// Singleton.h : main header file for the SINGLETON application
//
// This file is part of Singleton application to demonstrate the concept of Singleton classes.
// This file is generated by AppWizard and is provided "as is" with no expressed or
// implied warranty.
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#include "MsgHndlr.h"
/////////////////////////////////////////////////////////////////////////////
// CSingletonApp:
// See Singleton.cpp for the implementation of this class
//
class CSingletonApp : public CWinApp
{
public:
CSingletonApp();
~CSingletonApp();
// Attributes
public:
CMsgHndlr * m_pMsgHndlr;
CString m_csHndlrType;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSingletonApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CSingletonApp)
afx_msg void OnAppAbout();
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Kulathu Sarma is working as a Technology Manager for GoldAvenue, a company based in Geneva, Switzerland and responsible for supporting e-business initiatives of GoldAvenue in B2B and B2C Sectors. He has been programming in C/C++ for 9 years and actively working on Patterns for the past 5 years.