📄 animationappui.h
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
#ifndef __ANIMATIONAPPUI_H__
#define __ANIMATIONAPPUI_H__
// INCLUDES
#include <aknappui.h>
#include "C_HAnim.h"
#include "EventQueue.h"
// CONSTANTS
// The location of the animation server changes in the emulator
// and target builds.
_LIT( KServerDllFilename, "HANIM_SERVER" );
// 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 MEventQueue
{
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:
virtual void EventNotify(TInt& aScanCode) ;
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 );
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
RHAnimDll iClientDll;
RHAnimCommander iClientCommander;
//Event Quere
CEventQueue* iEvent;
};
#endif // __ANIMATIONAPPUI_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -