sipexaddrquerydlg.h
来自「an example for sip for symbian」· C头文件 代码 · 共 95 行
H
95 行
/*
* ==============================================================================
* Name : SIPExAddrQueryDlg.h
* Part of : SIPEx
* Interface :
* Description :
* Version :
*
* Copyright (c) 2004-2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
#ifndef __CSIPEXADDRQUERYDLG_H__
#define __CSIPEXADDRQUERYDLG_H__
// INCLUDES
#include <akndialog.h>
// FORWARD DECLARATIONS
class CSIPAddress;
// CLASS DECLARATION
/**
* A recipient's address query dialog for game invitation.
*/
class CSIPExAddrQueryDlg : public CAknDialog
{
public:
/**
* Static constructor
* @param aAddr On return contains the other player's address.
*/
static CSIPExAddrQueryDlg* NewL( TDes& aAddr );
/**
* Static constructor. On return the instance is left to the
* CleanupStack.
* @param aAddr On return contains the other player's address.
*/
static CSIPExAddrQueryDlg* NewLC( TDes& aAddr );
/**
* Destructor
*/
~CSIPExAddrQueryDlg();
private:
/**
* C++ default constructor
* @param aAddr On return contains the other player's address.
*/
CSIPExAddrQueryDlg( TDes& aAddr );
private: // From base classes
/**
* From CEikDialog
*/
TBool OkToExitL(TInt aKeyCode);
/**
* From CEikDialog
*/
virtual void PreLayoutDynInitL();
/**
* From CEikDialog
*/
virtual void HandleResourceChange( TInt aType );
private: // New functions
/**
* Checks if user typed address is valid sip address.
* @param aSipAddr address which validity is checked
* Returns true if valid address, otherwise returns false
*/
TBool AddressValid( const TDesC8& aSipAddr );
private:
// Member variables
TDes& iAddress;
};
#endif // __CSIPEXADDRQUERYDLG_H__
// End of file
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?