📄 mopoidview.h
字号:
/*
* ============================================================================
* Name : CMopoidView from MopoidView.h
* Part of : Mopoid
* Created : 16.01.2004 by Andreas Jakl / Mopius - http://www.mopius.com/
* Description:
* Declares view for application.
* Version : 1.02
* Copyright:
* 'Mopoid' 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.
*
* 'Mopoid' 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 'Mopoid'; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* ============================================================================
*/
#ifndef __MOPOID_VIEW_H__
#define __MOPOID_VIEW_H__
#include <aknview.h>
#include <eikmenup.h> // for the menu pane
#include "Mopoid.hrh"
// -----------------------------------------------------------------------
// Forward ref. to container class
// -----------------------------------------------------------------------
class CMopoidContainer;
// -----------------------------------------------------------------------
// CMopoidView
// -----------------------------------------------------------------------
class CMopoidView : public CAknView
{
public:
// -----------------------------------------------------------------------
// Creates a CMopoidView object
// -----------------------------------------------------------------------
static CMopoidView* NewL();
// -----------------------------------------------------------------------
// Creates a CMopoidView object
// -----------------------------------------------------------------------
static CMopoidView* NewLC();
// -----------------------------------------------------------------------
// Identify of this view to the system
// -----------------------------------------------------------------------
TUid Id() const;
// -----------------------------------------------------------------------
// Command Handler
// -----------------------------------------------------------------------
void HandleCommandL(TInt aCommand);
// -----------------------------------------------------------------------
// Activates this View
// -----------------------------------------------------------------------
void DoActivateL(const TVwsViewId &aPrevViewId, TUid aCustomMessageId, const TDesC8& aCustomMessage);
// -----------------------------------------------------------------------
// Deactivate this view
// -----------------------------------------------------------------------
void DoDeactivate();
// handle gaining or losing focus
void HandleForegroundEventL(TBool aForeground);
private:
CMopoidView();
~CMopoidView();
// -----------------------------------------------------------------------
// Performs second phase construction of this view
// -----------------------------------------------------------------------
void ConstructL();
// -----------------------------------------------------------------------
// Container for this view
// -----------------------------------------------------------------------
CMopoidContainer* iContainer;
// -----------------------------------------------------------------------
// Identifier for this view
// -----------------------------------------------------------------------
TUid iIdentifier;
};
#endif // __MOPOID_VIEW_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -