socketsdocument.h
来自「Symbian 手机网络通信程序 sockets-vc」· C头文件 代码 · 共 83 行
H
83 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?