⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chatdocument.cpp

📁 一个聊天的软件
💻 CPP
字号:
/*
* ==============================================================================
*  Name        : ChatDocument.cpp
*  Part of     : Chat
*  Interface   : 
*  Description : 
*  Version     : 
*
*  Copyright (c) 2005-2006 Nokia Corporation.
*  This material, including documentation and any related 
*  computer programs, is protected by copyright controlled by 
*  Nokia Corporation.
* ==============================================================================
*/

// INCLUDE FILES
#include "ChatDocument.h"
#include "ChatAppui.h"

// ================= MEMBER FUNCTIONS =======================

// ----------------------------------------------------------------------------
// CChatDocument::CChatDocument( CEikApplication& aApp )
// constructor
// ----------------------------------------------------------------------------
//
CChatDocument::CChatDocument( CEikApplication& aApp )
: CAknDocument( aApp )    
    {
    }

// ----------------------------------------------------------------------------
// CChatDocument::~CChatDocument()
// destructor
// ----------------------------------------------------------------------------
//
CChatDocument::~CChatDocument()
    {
    }

// ----------------------------------------------------------------------------
// CChatDocument::ConstructL()
// default constructor can leave.
// ----------------------------------------------------------------------------
//
void CChatDocument::ConstructL()
    {
    }

// ----------------------------------------------------------------------------
// CChatDocument* CChatDocument::NewL( CEikApplication& aApp )
// Two-phased constructor.
// ----------------------------------------------------------------------------
//
CChatDocument* CChatDocument::NewL( CEikApplication& aApp )   
    {
    CChatDocument* self = new (ELeave) CChatDocument( aApp );
    CleanupStack::PushL( self );
    self->ConstructL();
    CleanupStack::Pop( self );

    return self;
    }
    
// ----------------------------------------------------
// CChatDocument::CreateAppUiL()
// constructs CChatAppUi
// ----------------------------------------------------
//
CEikAppUi* CChatDocument::CreateAppUiL()
    {
    return new (ELeave) CChatAppUi;
    }

// End of File  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -