📄 bencoolenappview.h
字号:
/*
* BencoolenAppView.h
*
* Copyright 2005 - 2007, Antony Pranata
* http://www.antonypranata.com
*
* Project: Screenshot for Symbian OS
* Header file to define constants used in the user interface.
*
* 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.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef BENCOOLENAPPVIEW_H
#define BENCOOLENAPPVIEW_H
// INCLUDES
#include <symbianvariant.h>
#include <aknview.h>
// FORWARD DECLARATIONS
class CBencoolenAppContainer;
// CLASS DECLARATION
/**
* CBencoolenAppView view class.
*/
class CBencoolenAppView: public CAknView
{
public: // Constructors and destructor
/**
* Two-phased constructor.
* Construct a CBencoolenAppView for the AVKON application aApp.
* Using two phase construction,and return a pointer to the created object
* @return a pointer to the created instance of CBencoolenAppView
*/
static CBencoolenAppView* NewL();
/**
* Virtual Destructor.
*/
virtual ~CBencoolenAppView();
CBencoolenAppContainer* AppContainer()
{ return iAppContainer; }
public: // From CAknView
/**
* @return Id Uid value
*/
TUid Id() const;
void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
/**
* From CAknView, takes care of command handling.
* @param aCommand Command to be handled
*/
void HandleCommandL( TInt aCommand );
/**
* From CAknExView, activate an AknView.
* @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 );
/**
* From AknView, deactivate an AknView
* Remove the container class instance from the App UI's stack and
* deletes the instance
*/
void DoDeactivate();
#if (__S60__ >= 203)
/**
* Called by framework when the layout or screen size is changed.
*/
void HandleResourceChange(TInt aType);
#endif
private: // Constructors
/**
* C++ default constructor.
*/
CBencoolenAppView();
/**
* 2nd phase constructor.
*/
void ConstructL();
private: // Data
/**
* iContainer,container for this view
* owned by CBencoolenAppView object.
*/
CBencoolenAppContainer* iAppContainer;
/** View Identifier **/
TUid iIdentifier;
};
#endif // BENCOOLENAPPVIEW_H
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -