?? mdictionaryappview2.h
字號:
/*
* MDictionary - dictionary program for Symbian cellular phones
*
* Copyright (C) 2005 Egyeki Gergely
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#ifndef __MDICTIONARY_APPVIEW2_H__
#define __MDICTIONARY_APPVIEW2_H__
#include <aknview.h>
#include "MDictionaryAppUi.h"
class CMDictionaryAppView2Container;
class CMDictionaryAppView2 : public CAknView
{
public:
static CMDictionaryAppView2* NewL();
static CMDictionaryAppView2* NewLC();
/*!
@function CMDictionaryAppView
@discussion Perform the first phase of two phase construction
*/
CMDictionaryAppView2();
/*!
@function ~CMDictionaryAppView
@discussion Destroy the object
*/
virtual ~CMDictionaryAppView2();
/*!
@function ConstructL
@discussion Perform the second phase construction of a CMDictionaryAppView object
@ EPOC default constructor.
*/
void ConstructL();
void HandleCommandL(TInt aCommand);
// Client Rect handle
void HandleClientRectChange();
private:
/*!
@function DoActivateL
@discussion Create the Container class object
@param aPrevViewId The id of the previous view
@param aCustomMessageId message identifier
@param aCustomMessage custom message provided when the view is changed
*/
void DoActivateL(const TVwsViewId& aPrevViewId,
TUid aCustomMessageId,
const TDesC8& aCustomMessage);
/*!
@function DoDeactivate
@discussion Remove the container class instance from the App UI's stack and
deletes the instance
*/
void DoDeactivate();
public: // from CAknView
/*!
@function Id
@discussion Identity of this view to the system
@result the ID of view
*/
TUid Id() const;
/*! @var iIdentifier identifier for this view */
TUid iIdentifier;
CMDictionaryAppUi* GetAppUi();
HBufC* GetWordL();
private:
/*! @var iContainer container for this view */
CMDictionaryAppView2Container* iContainer;
};
#endif // __MDICTIONARY_APPVIEW2_H__
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -