CNSmlDmPcdata Class Reference
class CNSmlDmPcdata : public CBase |
Constructor & Destructor Documentation
CNSmlDmPcdata()
Constructor
Example usage:
// replace <featureUID> with a real UID
#include <featmgr/featmgr.h>
#include <bldvariant.hrh> // for feature definitions
CMyClass::ConstructL()
{
// Sets up TLS, must be done before FeatureManager is used.
FeatureManager::InitializeLibL();
// Used in destructor.
iFeatMgrInitialized = ETrue;
}
CMyClass::ShowMenuL()
{
if ( FeatureManager::FeatureSupported( <featureUID> ) )
{
// Feature supported, show menu item associated with it.
}
}
CMyClass::~CMyClass()
{
// Do not call UnInitializeLib() if InitalizeLib() leaves.
if ( iFeatMgrInitialized )
{
// Frees the TLS. Must be done after FeatureManager is used.
FeatureManager::UnInitializeLib();
}
}
Member Functions Documentation
Compare(const TUint8 *, TInt)
Parameters
const TUint8 * aStr | Data start pointer |
TInt aLength | Data length |
DataL(const TDesC8 &)
void | DataL | ( | const TDesC8 & | aData | ) | |
Parameters
const TDesC8 & aData | Data to be set |
Member Data Documentation
TInt
iLength
Length of the data in this PCDATA structure
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.