📄 animationappui.h
字号:
/*
* ==============================================================================
* Name : animationappui.h
* Part of : Animation example
* Interface :
* Description :
* Version :
*
* Copyright (c) 2004 - 2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
#ifndef __ANIMATIONAPPUI_H__
#define __ANIMATIONAPPUI_H__
// INCLUDES
#include <aknappui.h>
#include "clientdll.h"
#include "clientimagecommander.h"
// CONSTANTS
// The location of the animation server changes in the emulator
// and target builds.
#if defined( __WINS__ )
_LIT( KServerDllFilename, "Z:\\system\\apps\\animation\\ANIMATION_SERVER" );
#else
// drive-neutral path (MMC-installations safe)
_LIT( KServerDllFilename, "\\system\\apps\\animation\\ANIMATION_SERVER" );
#endif
// FORWARD DECLARATIONS
class CAnimationAppView;
// CLASS DECLARATION
/**
* CAnimationAppUi application UI class.
* An instance of class CAnimationAppUi is the UserInterface part of the AVKON
* application framework for the Animation example application.
*/
class CAnimationAppUi : public CAknAppUi
{
public: // Constructors and destructor
/**
* CAnimationAppUi.
* C++ default constructor. This needs to be public due to
* the way the framework constructs the AppUi.
* @param aSession the window server session to use.
*/
CAnimationAppUi( RWsSession& aSession );
/**
* ~CAnimationAppUi.
* Virtual Destructor.
*/
virtual ~CAnimationAppUi();
public: // Functions from base classes
/**
* From CEikAppUi, HandleCommandL.
* Takes care of command handling.
* @param aCommand The enumerated code for the option selected.
*/
void HandleCommandL( TInt aCommand );
/**
* From CEikAppUi, HandleResourceChangeL.
* Handles resource changes.
* @param aType Resource change type to be handled
*/
void HandleResourceChangeL( TInt aType );
private: // Constructor
/**
* ConstructL.
* 2nd phase constructor.
*/
void ConstructL();
private: // New methods
/**
* SetupClientDllL.
* Setup the animation client Dll.
*/
void SetupClientDllL();
/**
* SetupImageCommanderL.
* Setup the animation image commander.
*/
void SetupImageCommanderL();
private: // Data
/**
* iAppView
* The application view
* Owned by CAnimationAppUi object.
*/
CAnimationAppView* iAppView;
// Do not change the order of these variables, as they are called
// in the AppUi constructor list in the order listed here
/**
* iClientDll
* Animation client dll.
*/
RClientDll iClientDll;
/**
* iClientCommander
* Controls an animation image object.
*/
RImageCommander iClientCommander;
};
#endif // __ANIMATIONAPPUI_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -