CCdlInstance Class Reference
class CCdlInstance : public CCdlEngineRef
|
The abstract base class for all customisation instance objects. Only the CDL engine can create objects derived from this class.
Constructor & Destructor Documentation
CCdlInstance(CCdlEngine *, TInt *)
Member Functions Documentation
Extension(TInt)
TAny
*
|
Extension
|
(
|
TInt
|
aId
|
)
|
const [virtual]
|
FileNameRelativeToLastAccessedInstance(TFileName &)
IMPORT_C void
|
FileNameRelativeToLastAccessedInstance
|
(
|
TFileName
&
|
aFileName
|
)
|
const
|
Adjusts a filename to be relative to the file containing the CDL instance that implemented the last accessed API. The filename will be made relative to this instances file, or the file of one of this instances sub-layers.
Parameters
TFileName
& aFileName
|
the filename to be adjusted.
|
GetData(TInt)
IMPORT_C
TAny
*
|
GetData
|
(
|
TInt
|
aCdlApiId
|
)
|
const
|
Implementation(TInt)
TAny
*
|
Implementation
|
(
|
TInt
|
aCdlApiId
|
)
|
const [pure virtual]
|
IsComplete()
TBool
|
IsComplete
|
(
|
)
|
const [pure virtual]
|
Does this instance implement all of it's API? Instances that don't implement their entire API need a sub-layer that does implement the entire API.
LastAccessedRef()
IMPORT_C const
TCdlRef
&
|
LastAccessedRef
|
(
|
)
|
const
|
The CDL instance reference for the instance that actually implemented the last accessed API. If this instance implemented the API, then this instance's reference will be returned. Otherwise it will be the reference of one of this instance's sub-layers.
NewL(const TCdlRef &, const SCdlInterface *, const CCdlInstance *, CCdlEngine *, TInt *)
NewLC(const TCdlRef &, const SCdlInterface *, const CCdlInstance *, CCdlEngine *, TInt *)
Ref()
IMPORT_C const
TCdlRef
&
|
Ref
|
(
|
)
|
const
|
Gets the CDL instance reference for this instance
SubLayer()
Gets the instance that forms the sub-layer for this instance. Any API not implemented by this instance will be implemented in a sub-layer.
operator==(const CCdlInstance &)
Test whether this instance is the same as another.
Parameters
const
CCdlInstance
& aOther
|
the instance you want to compare with this one.
|
Member Data Documentation
TInt & iLastApi
TInt
&
|
iLastApi
|
[protected]
|
const CCdlInstance * iSubLayer
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.