📄 socketsdocument.h
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
#ifndef __SOCKETSDOCUMENT_H__
#define __SOCKETSDOCUMENT_H__
// INCLUDES
#include <eikdoc.h>
// FORWARD DECLARATIONS
class CSocketsAppUi;
class CEikApplication;
// CLASS DECLARATION
/**
* CSocketsDocument
* An instance of class CSocketsDocument is the Document part of the AVKON
* application framework for the CSSync example application
*/
class CSocketsDocument : public CEikDocument
{
public: // Constructors and destructors
/**
* NewL.
* Two-phased constructor.
* Constructs a CSocketsDocument for the AVKON application aApp
* using two phase construction, and returns a pointer to the
* created object.
* @param aApp Application creating this document.
* @return A pointer to the created instance of CSocketsDocument.
*/
static CSocketsDocument* NewL( CEikApplication& aApp );
/**
* NewLC.
* Two-phased constructor.
* Constructs a CSocketsDocument for the AVKON application aApp
* using two phase construction, and returns a pointer to the
* created object.
* @param aApp Application creating this document.
* @return A pointer to the created instance of CSocketsDocument.
*/
static CSocketsDocument* NewLC( CEikApplication& aApp );
/**
* ~CSocketsDocument.
* Destructor.
* Destroys the object and release all memory objects.
*/
virtual ~CSocketsDocument();
private: // Constructors and destructors
/**
* CSocketsDocument.
* C++ default constructor.
* Performs the first phase of two phase construction.
* @param aApp Application creating this document.
*/
CSocketsDocument( CEikApplication& aApp );
/**
* ConstructL.
* 2nd phase constructor.
*/
void ConstructL();
private: // Functions from base classes
/**
* From CAknDocument, CreateAppUiL.
* Creates a CSocketsAppUi object and returns a pointer to it.
* @return A pointer to the created instance of the AppUi created.
*/
CEikAppUi* CreateAppUiL();
};
#endif // __SOCKETSDOCUMENT_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -