📄 udpsocketappui.h
字号:
/*
* ============================================================================
* Name : CUdpSocketAppUi from UdpSocketAppui.h
* Part of : UdpSocket
* Created : 07.03.2006 by ToBeReplacedByAuthor
* Description:
* Declares UI class for application.
* Version :
* Copyright: ToBeReplacedByCopyright
* ============================================================================
*/
#ifndef UDPSOCKETAPPUI_H
#define UDPSOCKETAPPUI_H
// INCLUDES
#include <aknappui.h>
#include "UdpSocketEngine.h"
// FORWARD DECLARATIONS
class CUdpSocketContainer;
// CLASS DECLARATION
/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
*
*/
class CUdpSocketAppUi : public CAknAppUi, public CUdpSocketEngine::MUdpObserver
{
public: // // Constructors and destructor
/**
* EPOC default constructor.
*/
void ConstructL();
/**
* Destructor.
*/
~CUdpSocketAppUi();
public: // New functions
public: // Functions from CUdpSocketEngine::MUdpObserver
void OnSendL(const TDesC& aMsg, TInt aError);
void OnReceiveL(const TDesC& aMsg, TInt aError);
private:
// From MEikMenuObserver
void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
private:
/**
* From CEikAppUi, takes care of command handling.
* @param aCommand command to be handled
*/
void HandleCommandL(TInt aCommand);
void OutputMsgL(TInt aResourceId);
void OutputErrL(TInt aError);
private: //Data
CUdpSocketContainer* iAppContainer;
CUdpSocketEngine* iEngine;
};
#endif
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -