📄 btpointtopointappui.h
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
#ifndef __BTPOINTTOPOINT_APPUI_H__
#define __BTPOINTTOPOINT_APPUI_H__
// INCLUDES
#include <aknappui.h>
// FORWARD DECLARATIONS
class CBTPointToPointAppView;
class CMessageClient;
class CMessageServer;
// CLASS DECLARATIONS
/**
* CBTPointToPointAppUi
* An instance of class CBTPointToPointAppUi is the UserInterface part
* of the AVKON application framework for the BTPointToPoint example application
*/
class CBTPointToPointAppUi : public CAknAppUi
{
public: // Constructors and destructor
/**
* ConstructL()
* Perform the second phase construction of a
* CBTPointToPointAppUi object. This needs to be public
* due to the way the framework constructs the AppUi
*/
void ConstructL();
/**
* CBTPointToPointAppUi()
* Perform the first phase of two phase construction.
* This needs to be public due to the way the framework
* constructs the AppUi
*/
CBTPointToPointAppUi();
/**
* ~CBTPointToPointAppUi()
* Destroy the object and release all memory objects
*/
virtual ~CBTPointToPointAppUi();
public: // from CAknAppUi
/**
* HandleCommandL()
* Handle user menu selections
* @param aCommand the enumerated code for the option selected
*/
void HandleCommandL( TInt aCommand );
/**
* DynInitMenuPaneL()
* Which of the receiver operations are available and set menu
* accordingly
* @param aResourceId resource ID of the menu pane to be initialised
* @param aMenuPane the in-memory representation of the menu pane
*/
void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
private: // data
/**
* iAppView
* The application view
* Owned by CBTPointToPointAppUi
*/
CBTPointToPointAppView* iAppView;
/**
* iServer
* the message receiving engine
* Owned by CBTPointToPointAppUi
*/
CMessageServer* iServer;
/**
* iClient
* the message sending engine
* Owned by CBTPointToPointAppUi
*/
CMessageClient* iClient;
};
#endif // __BTPOINTTOPOINT_APPUI_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -