?? taskmanagerconninfo.h
字號:
/*
* ============================================================================
* Name : TTaskManagerConnInfo from TaskManagerConnInfo.h
* Part of : TaskManager
* Created : 03/13/2005 by Forum Nokia
* Version : 1.2
* Copyright: Nokia Corporation
* ============================================================================
*/
#ifndef TASKMANAGERCONNINFO_H
#define TASKMANAGERCONNINFO_H
// INCLUDE FILES
#include <e32std.h>
#include <e32def.h>
#include <s32strm.h>
#include "TaskManager.hrh"
// CLASS DECLARATION
/**
* A class for holding connections settings.
*
*/
class TTaskManagerConnInfo
{
public: // Constructors
/**
* Constructor
*/
TTaskManagerConnInfo();
public: // Getters and setters
void SetServerAddress( const TDesC& aAddress );
TBufC< KMaxServerNameLength > ServerAddress() const;
void SetPhp( const TBool& aPhp);
const TBool Php() const;
void SetUsername( const TDesC& aUsername );
TBufC< KMaxUsernameLength > Username() const;
void SetPassword( const TDesC& aPassword );
TBufC< KMaxPasswordLength > Password() const;
void SetIap( const TUint32& aId);
TUint32 Iap() const;
public: // New functions
/**
* Saves connections setting to the stream.
* @param aStream the stream where data is written.
*/
void ExternalizeL(RWriteStream& aStream) const;
/**
* Reads the connections settings from the stream.
* @param aStream the stream where the data is read from.
*/
void InternalizeL(RReadStream& aStream);
private: // Data members
// Address of the server
TBuf< KMaxServerNameLength > iServerAddress;
// Is the server end implemented with PHP.
TBool iPhp;
// Username
TBuf< KMaxUsernameLength > iUsername;
// Password
TBuf< KMaxPasswordLength > iPassword;
// Default IAP;
TUint32 iIap;
};
#endif
// End of file
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -