CGPSSetClockBase Class Reference

class CGPSSetClockBase : public CBase

Optional, licensee specific Set Clock plug-in interface definition. The plug-in is allowed to allocate memory only at construction stage.

Inherits from

Constructor & Destructor Documentation

CGPSSetClockBase()

IMPORT_C CGPSSetClockBase ( ) [protected]

Default constructor.

~CGPSSetClockBase()

IMPORT_C ~CGPSSetClockBase ( ) [virtual]

Default destructor.

Member Functions Documentation

ExtendedInterface(TInt, TAny *, TAny *)

IMPORT_C TAny * ExtendedInterface ( TInt aFunctionNumber,
TAny * aPtr1,
TAny * aPtr2
) [protected, virtual]

Method which allow polymorphic extensions to the API without breaking BC. Currently not implemented.

This method is used to allow polymorphic extensions to the API without breaking BC. See documentation for explanation. Reserved for future expansion - derived classes should see documentation on how this is to be used.

Parameters

TInt aFunctionNumber contains the Id of the function to be invoked.
TAny * aPtr1 a pointer to any data
TAny * aPtr2 a pointer to any data.

NewL(TUid)

IMPORT_C CGPSSetClockBase * NewL ( TUid aImplementationId ) [static]

Static constructor.

Parameters

TUid aImplementationId An Uid of a customer specific plug-in to be loaded

SetUTCTime(const TTime &)

TInt SetUTCTime ( const TTime & aUTCTime ) [pure virtual]

SetUTCTime must not allocate memory

A licensee specific implementation of setting the system UTC time. The method must NOT allocate memory or leave. Capabilities of the process must be checked (usually the WriteDeviceData is required)

Parameters

const TTime & aUTCTime

Member Data Documentation

TUid iDtorIDKey

TUid iDtorIDKey [private]