?? socketsappui.h
字號:
/* Copyright (c) 2004, Nokia. All rights reserved */
#ifndef __SOCKETSAPPUI_H__
#define __SOCKETSAPPUI_H__
// INCLUDES
#include <aknappui.h>
// FORWARD DECLARATIONS
class CSocketsAppView;
class CSocketsEngine;
// CLASS DECLARATION
/**
* CSocketsAppUi
* An instance of class CSocketsAppUi is the UserInterface part of the AVKON
* application framework for the Sockets example application.
*/
class CSocketsAppUi : public CAknAppUi
{
public: // Constructors and destructors
/**
* CSocketsAppUi.
* C++ default constructor. This needs to be public due to
* the way the framework constructs the AppUi.
*/
CSocketsAppUi();
/**
* ~CSocketsAppUi.
* Destructor.
* Destroys the object and release all memory objects.
*/
virtual ~CSocketsAppUi();
public: // Functions from base classes
/**
* From MEikMenuPaneObserver, DynInitMenuPaneL.
* Initialises a menu pane before it is displayed.
* @param aMenuId Id of menu.
* @param aMenuPane Handle for menu pane.
*/
void DynInitMenuPaneL( TInt aMenuId, CEikMenuPane* aMenuPane );
private: // Constructors and destructors
/**
* ConstructL.
* 2nd phase constructor.
*/
void ConstructL();
private: // Functions from base classes
/**
* From CEikAppUi, HandleCommandL.
* Handles user menu selections.
* @param aCommand The enumerated code for the option selected.
*/
void HandleCommandL( TInt aCommand );
/**
* From CEikAppUi, HandleKeyEventL.
* Handles user key input.
* @param aKeyEvent event information
* @param aType event type
* @return EKeyWasConsumed
*/
TKeyResponse HandleKeyEventL( const TKeyEvent& aKeyEvent,
TEventCode aType );
private: // Data
/**
* iAppView, the application view.
* Owned by CSocketsAppUi object.
*/
CSocketsAppView* iAppView;
/**
* iSocketsEngine, an RSocket wrapper to do the work for this example.
* Owned by CSocketsAppUi object.
*/
CSocketsEngine* iSocketsEngine;
};
#endif // __SOCKETSAPPUI_H__
// End of File
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -