📄 sysinfo60view3.h
字号:
/*
* ============================================================================
* Name : CSYSINFO60View3 from SYSINFO60View3.h
* Part of : SYSINFO60
* Created : 09.09.2003 by Petri-Veikko Alaj鋜vi OH1GIU
* Description:
* Declares view for application.
* Version :
* Copyright: (c) 2003, Petri-Veikko Alaj鋜vi OH1GIU
* ============================================================================
*/
#ifndef SYSINFO60VIEW3_H
#define SYSINFO60VIEW3_H
// INCLUDES
#include <aknview.h>
#include <bt_sock.h>
#include <btmanclient.h>
// CONSTANTS
// UID of view
const TUid KView3Id = {3};
const TInt KInfoBufSize = 40;
// FORWARD DECLARATIONS
class CSYSINFO60Container3;
// CLASS DECLARATION
/**
* CSYSINFO60View3 view class.
*
*/
class CSYSINFO60View3 : public CAknView
{
public: // Constructors and destructor
/**
* EPOC default constructor.
*/
void ConstructL();
/**
* Destructor.
*/
~CSYSINFO60View3();
public: // Functions from base classes
/**
* From ?base_class ?member_description
*/
TUid Id() const;
/**
* From ?base_class ?member_description
*/
void HandleCommandL(TInt aCommand);
/**
* From ?base_class ?member_description
*/
void HandleClientRectChange();
private:
/**
* From AknView, ?member_description
*/
void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
const TDesC8& aCustomMessage);
/**
* From AknView, ?member_description
*/
void DoDeactivate();
// From MEikMenuObserver
void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
public: // New functions
void UpdateMenuL(CEikMenuPane* aMenuPane);
private: // New functions
void GetHCILocalVersion(void);
void GetHCILocalFeatures(void);
void GetHCILocalAddress(void);
void GetHCIDeviceClass(void);
void GetHCICountryCode(void);
void GetHCIVoiceSetting(void);
void GetHCIPageTimeout(void);
void GetHCIScanEnable(void);
private: // Data
CSYSINFO60Container3* iContainer;
RSocketServ iSocketServer;
RSocket iSocket;
TBTDevAddrPckg iDevAddrPckg;
THCILocalVersionBuf iLocalVersionBuf;
TPckgBuf<TUint> iLocalFeaturesBuf;
TPckgBuf<TUint8> iCountryCodeBuf;
TPckgBuf<TUint16> iVoiceSetBuf;
THCIDeviceClassBuf iCodbuf;
TRequestStatus iStatus;
HBufC* iInfoBuf;
TInt iSockOK;
};
#endif
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -