CSsmStartupProperties Class Reference
class CSsmStartupProperties : public CBase
|
A parameter class containing application/process starter information that is shared among client applications, system components and client/server processes. This class is used to pass multiple different types of data to API's in only one parameter while ensuring proper data initialization, memory allocation and serializing over IPC when required.
When an instance of this class is created it contains default values for all properties. The usage of this class for different scenarios only requires calling setter functions to overrride parameters which has non-default values.
Constructor & Destructor Documentation
CSsmStartupProperties()
CSsmStartupProperties
|
(
|
)
|
[private]
|
CSsmStartupProperties(const CSsmStartupProperties &)
~CSsmStartupProperties()
IMPORT_C
|
~CSsmStartupProperties
|
(
|
)
|
|
Member Functions Documentation
Args()
IMPORT_C
TPtrC
|
Args
|
(
|
)
|
const
|
CommandType()
IMPORT_C
TSsmCommandType
|
CommandType
|
(
|
)
|
const
|
ConstructFromResourceL(RResourceReader &, CResourceFile *, TSsmCommandType)
void
|
ConstructFromResourceL
|
(
|
RResourceReader &
|
aReader,
|
|
CResourceFile *
|
aResourceFile,
|
|
TSsmCommandType
|
aCommandType
|
|
)
|
[private]
|
Parameters
RResourceReader & aReader
|
|
CResourceFile * aResourceFile
|
|
TSsmCommandType
aCommandType
|
|
ConstructL(const CSsmStartupProperties &)
ExecutionBehaviour()
IMPORT_C
TSsmExecutionBehaviour
|
ExecutionBehaviour
|
(
|
)
|
const
|
ExternalizeL(RWriteStream &)
IMPORT_C void
|
ExternalizeL
|
(
|
RWriteStream
&
|
aWriteStream
|
)
|
const
|
FileName()
IMPORT_C
TPtrC
|
FileName
|
(
|
)
|
const
|
InternalizeL(RReadStream &)
IMPORT_C void
|
InternalizeL
|
(
|
RReadStream
&
|
aReadStream
|
)
|
|
IsMonitoringRequired()
IMPORT_C
TBool
|
IsMonitoringRequired
|
(
|
)
|
const
|
NewL(const TDesC &, const TDesC &)
NewL(RResourceReader &, CResourceFile *, TSsmCommandType)
IMPORT_C
CSsmStartupProperties
*
|
NewL
|
(
|
RResourceReader &
|
aReader,
|
|
CResourceFile *
|
aResourceFile,
|
|
TSsmCommandType
|
aCommandType
|
|
)
|
[static]
|
Parameters
RResourceReader & aReader
|
|
CResourceFile * aResourceFile
|
|
TSsmCommandType
aCommandType
|
|
NewL(const CSsmStartupProperties &)
NewLC(const TDesC &, const TDesC &)
NewLC(RResourceReader &, CResourceFile *, TSsmCommandType)
IMPORT_C
CSsmStartupProperties
*
|
NewLC
|
(
|
RResourceReader &
|
aReader,
|
|
CResourceFile *
|
aResourceFile,
|
|
TSsmCommandType
|
aCommandType
|
|
)
|
[static]
|
Parameters
RResourceReader & aReader
|
|
CResourceFile * aResourceFile
|
|
TSsmCommandType
aCommandType
|
|
Retries()
IMPORT_C
TInt
|
Retries
|
(
|
)
|
const
|
SetCommandTypeL(TSsmCommandType)
IMPORT_C void
|
SetCommandTypeL
|
(
|
TSsmCommandType
|
aCommandType
|
)
|
|
Parameters
TSsmCommandType
aCommandType
|
|
SetExecutionBehaviour(TSsmExecutionBehaviour)
IMPORT_C void
|
SetExecutionBehaviour
|
(
|
TSsmExecutionBehaviour
|
aExecutionBehaviour
|
)
|
|
Parameters
TSsmExecutionBehaviour
aExecutionBehaviour
|
|
SetFileParamsL(const TDesC &, const TDesC &)
IMPORT_C void
|
SetFileParamsL
|
(
|
const
TDesC
&
|
aFileName,
|
|
const
TDesC
&
|
aArgs
|
|
)
|
|
SetMonitorInfoL(TSsmMonitorInfo)
SetRetries(TInt)
IMPORT_C void
|
SetRetries
|
(
|
TInt
|
aRetries
|
)
|
|
SetStartInBackground(TBool)
IMPORT_C void
|
SetStartInBackground
|
(
|
TBool
|
aStartInBackground
|
)
|
|
SetTimeout(TInt32)
IMPORT_C void
|
SetTimeout
|
(
|
TInt32
|
aTimeout
|
)
|
|
SetViewless(TBool)
IMPORT_C void
|
SetViewless
|
(
|
TBool
|
aViewless
|
)
|
|
StartInBackground()
IMPORT_C
TBool
|
StartInBackground
|
(
|
)
|
const
|
Timeout()
IMPORT_C
TInt32
|
Timeout
|
(
|
)
|
const
|
Viewless()
IMPORT_C
TBool
|
Viewless
|
(
|
)
|
const
|
Member Data Documentation
TSsmCommandType
iCommandType
TSsmCommandType
|
iCommandType
|
[private]
|
TSsmExecutionBehaviour
iExecutionBehaviour
TSsmExecutionBehaviour
|
iExecutionBehaviour
|
[private]
|
HBufC * iFileName
HBufC
*
|
iFileName
|
[private]
|
TSsmMonitorInfo
iMonitorInfo
TBool
iMonitoringRequired
TBool
|
iMonitoringRequired
|
[private]
|
TInt
iReserved1
TInt
|
iReserved1
|
[private]
|
TInt
iReserved2
TInt
|
iReserved2
|
[private]
|
TInt
iReserved3
TInt
|
iReserved3
|
[private]
|
TBool
iStartInBackground
TBool
|
iStartInBackground
|
[private]
|
TBool
iViewless
TBool
|
iViewless
|
[private]
|
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.