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

📄 mdictionaryappview1.h

📁 用于symbian手机的词典工具.绝对有用。
💻 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_APPVIEW1_H__
#define __MDICTIONARY_APPVIEW1_H__

#include <aknview.h>
#include "MDictionaryAppUi.h"

class CMDictionaryAppView1Container;


class CMDictionaryAppView1 :  public CAknView
{
public:

    static CMDictionaryAppView1* NewL();
	static CMDictionaryAppView1* NewLC();

	/*!
	@function CMDictionaryAppView  
	@discussion Perform the first phase of two phase construction 
	*/
    CMDictionaryAppView1();

	/*!
	@function ~CMDictionaryAppView 
	@discussion Destroy the object
	*/
    virtual ~CMDictionaryAppView1();

	/*!
	@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 */
	CMDictionaryAppView1Container* iContainer;
};


#endif // __MDICTIONARY_APPVIEW1_H__

⌨️ 快捷键说明

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