svexserviceappappui.h

来自「演示如何使用的symbian v9服务器应用框架」· C头文件 代码 · 共 80 行

H
80
字号
// Copyright (c) 2006 Murray Read, All rights reserved

#ifndef __SVEXSERVICEAPP_APPUI_H__
#define __SVEXSERVICEAPP_APPUI_H__

#include <aknappui.h>

// Forward reference
class CSvexServiceAppAppView;
class CSvexInfoBase;
class CSvexServiceDialog;

/*! 
  @class CSvexServiceAppAppUi
  
  @discussion An instance of class CSvexServiceAppAppUi is the UserInterface part of the AVKON
  application framework for the SvexServiceApp example application
  */
class CSvexServiceAppAppUi : public CAknAppUi
    {
public:
/*!
  @function ConstructL
  
  @discussion Perform the second phase construction of a CSvexServiceAppAppUi object
  this needs to be public due to the way the framework constructs the AppUi 
  */
    void ConstructL();

/*!
  @function CSvexServiceAppAppUi
  
  @discussion Perform the first phase of two phase construction.
  This needs to be public due to the way the framework constructs the AppUi 
  */
    CSvexServiceAppAppUi();


/*!
  @function ~CSvexServiceAppAppUi
  
  @discussion Destroy the object and release all memory objects
  */
    ~CSvexServiceAppAppUi();

public: // handler function for the session
	void ShowAllL();
	void ShowAppL(TUid aAppUid);
	void ShowAppAndExitL(TUid aAppUid);
	void RemoveView();

public: // from CAknAppUi
/*!
  @function HandleCommandL
  
  @discussion Handle user menu selections
  @param aCommand the enumerated code for the option selected
  */
    void HandleCommandL(TInt aCommand);

public:
	void ShowAppAndExitNowL(TUid aAppUid);

private: // delayed ShowAppAndExitL support
	static TInt ShowAppAndExitCallBackL(TAny* aThis);
	CAsyncCallBack* iCallBack;
	TUid iAppUid;

private:
/*! @var iAppView The application view */
    CSvexServiceAppAppView* iAppView;
    // The lightweight CSvexInfoBase class is used for services/apps info
    CSvexInfoBase* iInfo;
    CSvexServiceDialog* iDialog;
    };


#endif // __SVEXSERVICEAPP_APPUI_H__

⌨️ 快捷键说明

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