CIAUpdateParameters Class Reference

class CIAUpdateParameters : public CBase

CIAUpdateParameters defines the update targets. The update action will be directed only to the objects that qualify at least one of the parameter requirements.

CIAUpdate The operation functions provide more detailed description about what combinations of the parameter values are supported.
Since
S60 v3.2

Inherits from

Public Member Functions
~CIAUpdateParameters()
IMPORT_C const TDesC8 &CommandLineArguments()
IMPORT_C const TDesC &CommandLineExecutable()
IMPORT_C TUintImportance()
IMPORT_C CIAUpdateParameters *NewL()
IMPORT_C CIAUpdateParameters *NewLC()
IMPORT_C TBoolRefresh()
IMPORT_C const TDesC &SearchCriteria()
IMPORT_C voidSetCommandLineArgumentsL(const TDesC8 &)
IMPORT_C voidSetCommandLineExecutableL(const TDesC &)
IMPORT_C voidSetImportance(TUint)
IMPORT_C voidSetRefresh(TBool)
IMPORT_C voidSetSearchCriteriaL(const TDesC &)
IMPORT_C voidSetShowProgress(TBool)
IMPORT_C voidSetType(TUint)
IMPORT_C voidSetUid(const TUid &)
IMPORT_C TBoolShowProgress()
IMPORT_C TUintType()
IMPORT_C const TUid &Uid()
Private Member Functions
CIAUpdateParameters()
CIAUpdateParameters(const CIAUpdateParameters &)
voidConstructL()
CIAUpdateParameters &operator=(const CIAUpdateParameters &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enumTUpdateImportance {
ETest = 0x1, ENormal = 0x2, ERecommended = 0x4, ECritical = 0x8, EMandatory = 0x10, EHidden = 0x20
}
enumTUpdateType { ESis = 0x1, EFota = 0x2, ENsu = 0x4 }
Private Attributes
HBufC8 *iCommandLineArguments
HBufC *iCommandLineExecutable
TUint iImportance
TBool iRefresh
HBufC *iSearchCriteria
TBool iShowProgress
TUint iType
TUid iUid

Constructor & Destructor Documentation

CIAUpdateParameters()

CIAUpdateParameters()[private]

Constructor is private because this class is not meant for inheritance.

CIAUpdateParameters::NewL
Since
S60 v3.2

CIAUpdateParameters(const CIAUpdateParameters &)

CIAUpdateParameters(const CIAUpdateParameters &aObject)[private]

Parameters

const CIAUpdateParameters & aObject

~CIAUpdateParameters()

IMPORT_C~CIAUpdateParameters()[virtual]

Destructor

Since
S60 v3.2

Member Functions Documentation

CommandLineArguments()

IMPORT_C const TDesC8 &CommandLineArguments()const
Since
S60 v3.2

CommandLineExecutable()

IMPORT_C const TDesC &CommandLineExecutable()const
Since
S60 v3.2

ConstructL()

voidConstructL()[private]
CIAUpdateParameters::NewL
Since
S60 v3.2

Importance()

IMPORT_C TUintImportance()const

NewL()

IMPORT_C CIAUpdateParameters *NewL()[static]
Exceptions
Leaves

with system wide error code.

Since
S60 v3.2

NewLC()

IMPORT_C CIAUpdateParameters *NewLC()[static]

Refresh()

IMPORT_C TBoolRefresh()const

SearchCriteria()

IMPORT_C const TDesC &SearchCriteria()const
Since
S60 v3.2

SetCommandLineArgumentsL(const TDesC8 &)

IMPORT_C voidSetCommandLineArgumentsL(const TDesC8 &aCommandLineArguments)
Since
S60 v3.2

Parameters

const TDesC8 & aCommandLineArgumentsWhen the update operation finishes, the content of this desciptor will be used as command line arguments with the command line executable.

SetCommandLineExecutableL(const TDesC &)

IMPORT_C voidSetCommandLineExecutableL(const TDesC &aCommandLineExecutable)
Since
S60 v3.2

Parameters

const TDesC & aCommandLineExecutable

SetImportance(TUint)

IMPORT_C voidSetImportance(TUintaImportance)

Parameters

TUint aImportance

SetRefresh(TBool)

IMPORT_C voidSetRefresh(TBoolaRefresh)

Parameters

TBool aRefresh

SetSearchCriteriaL(const TDesC &)

IMPORT_C voidSetSearchCriteriaL(const TDesC &aSearchCriteria)
Since
S60 v3.2

Parameters

const TDesC & aSearchCriteriaWhen correct updates are searched, this text is used as a criteria when checking the information that is attached to the updates.

SetShowProgress(TBool)

IMPORT_C voidSetShowProgress(TBoolaShowProgress)

If this parameter is set to ETrue, a ready-made wait dialog with localized texts is shown if CIAUpdate::CheckUpdates operation takes longer time to complete. This happens e.g. if the updates are refreshed from the server.

CIAUpdate::CheckUpdates
Since
S60 v3.2

Parameters

TBool aShowProgressIf ETrue, a wait dialog is shown when CIAUpdate::CheckUpdates operation is started. If EFalse, the dialog is not shown.

SetType(TUint)

IMPORT_C voidSetType(TUintaType)

Parameters

TUint aType

SetUid(const TUid &)

IMPORT_C voidSetUid(const TUid &aUid)
Since
S60 v3.2

Parameters

const TUid & aUidUid describes either package UID or SID.

ShowProgress()

IMPORT_C TBoolShowProgress()const

If this parameter is set to ETrue, a ready-made wait dialog with localized texts is shown if CIAUpdate::CheckUpdates operation takes longer time to complete. This happens e.g. if the updates are refreshed from the server.

CIAUpdate::CheckUpdates
Since
S60 v3.2

Type()

IMPORT_C TUintType()const

Uid()

IMPORT_C const TUid &Uid()const
Since
S60 v3.2

operator=(const CIAUpdateParameters &)

CIAUpdateParameters &operator=(const CIAUpdateParameters &aObject)[private]

Parameters

const CIAUpdateParameters & aObject

Member Enumerations Documentation

Enum TUpdateImportance

Enumerators

ETest = 0x1
ENormal = 0x2
ERecommended = 0x4
ECritical = 0x8
EMandatory = 0x10
EHidden = 0x20

Enum TUpdateType

Enumerators

ESis = 0x1
EFota = 0x2
ENsu = 0x4

Member Data Documentation

HBufC8 * iCommandLineArguments

HBufC8 *iCommandLineArguments[private]

HBufC * iCommandLineExecutable

HBufC *iCommandLineExecutable[private]

TUint iImportance

TUint iImportance[private]

TBool iRefresh

TBool iRefresh[private]

HBufC * iSearchCriteria

HBufC *iSearchCriteria[private]

TBool iShowProgress

TBool iShowProgress[private]

TUint iType

TUint iType[private]

TUid iUid

TUid iUid[private]