CNewFileServiceBase Class Reference

class CNewFileServiceBase : public CAknAppServiceBase

Base class for server applications

NewService.lib
Since
Series 60 3.0
Public Member Functions
~CNewFileServiceBase()
IMPORT_C TIntGetErrorCode()
IMPORT_C voidSetErrorCode(TInt)
Protected Member Functions
CNewFileServiceBase()
IMPORT_C CAiwGenericParamList *GenericParams()
IMPORT_C voidHandleCompletedNewServiceL(TBool)
voidHandleNewFileL(MNewFileServiceObserver *, CDesCArray &, TNewServiceFileType, TBool)
voidHandleNewFileL(MNewFileServiceObserver *, RFile &, TNewServiceFileType)
voidServiceCompleteL()
IMPORT_C voidServiceL(const RMessage2 &)
Private Member Functions
voidDeserializeGenericParamsL(const RMessage2 &)
Inherited Functions
CAknAppServiceBase::CAknAppServiceBase()
CAknAppServiceBase::CreateL()
CAknAppServiceBase::ServiceError(const RMessage2 &,TInt)
CAknAppServiceBase::~CAknAppServiceBase()
CApaAppServiceBase::CApaAppServiceBase()
CApaAppServiceBase::CountResources()
CApaAppServiceBase::Disconnect(const RMessage2 &)
CApaAppServiceBase::SecurityCheckL(const RMessage2 &,TInt &,TSecurityInfo &)
CApaAppServiceBase::SendAppServerExitNotification(TInt)
CApaAppServiceBase::~CApaAppServiceBase()
CBase::CBase()
CBase::Delete(CBase *)
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()
CSession2::CSession2()
CSession2::Extension_(TUint,TAny *&,TAny *)
CSession2::ResourceCountMarkEnd(const RMessage2 &)
CSession2::ResourceCountMarkStart()
CSession2::Server()const
CSession2::SetServer(const CServer2 *)
CSession2::~CSession2()
Inherited Enumerations
CSession2:TPanicNo
Private Attributes
TInt iError
CDesCArrayFlat *iFilenameArray
CAiwGenericParamList *iGenericParams
RMessage2 iPendingMessage

Constructor & Destructor Documentation

CNewFileServiceBase()

IMPORT_CCNewFileServiceBase()[protected]

C++ default constructor.

~CNewFileServiceBase()

IMPORT_C~CNewFileServiceBase()[virtual]

Destructor.

Member Functions Documentation

DeserializeGenericParamsL(const RMessage2 &)

voidDeserializeGenericParamsL(const RMessage2 &aMessage)[private]

Parameters

const RMessage2 & aMessage

GenericParams()

IMPORT_C CAiwGenericParamList *GenericParams()[protected]
Getter for member variable
Since
Series 60 3.0

GetErrorCode()

IMPORT_C TIntGetErrorCode()

return iErrorCode.

HandleCompletedNewServiceL(TBool)

IMPORT_C voidHandleCompletedNewServiceL(TBoolaReturnValue)[protected]
From MNewFileServiceObserver
Since
Series 60 3.0

Parameters

TBool aReturnValueETrue if the media file was succesfully created

HandleNewFileL(MNewFileServiceObserver *, CDesCArray &, TNewServiceFileType, TBool)

voidHandleNewFileL(MNewFileServiceObserver *aObserver,
CDesCArray &aFilenameArray,
TNewServiceFileTypeaType,
TBoolaMultipleFiles
)[protected, pure virtual]
Create a new media file
Since
Series 60 3.0

Parameters

MNewFileServiceObserver * aObserverObject that is notified when recording is ready
CDesCArray & aFilenameArrayArray for the filename(s) of the recorded files
TNewServiceFileType aTypeRequired media type
TBool aMultipleFiles

HandleNewFileL(MNewFileServiceObserver *, RFile &, TNewServiceFileType)

voidHandleNewFileL(MNewFileServiceObserver *aObserver,
RFile &aFile,
TNewServiceFileTypeaType
)[protected, pure virtual]
Create a new media file
Since
Series 60 3.0

Parameters

MNewFileServiceObserver * aObserverObject that is notified when recording is ready
RFile & aFileFile handle that the media file is to be recorded
TNewServiceFileType aTypeRequired media type

ServiceCompleteL()

voidServiceCompleteL()[protected, pure virtual]
Notifies the server application that service is complete and it may safely close
Since
Series 60 3.0

ServiceL(const RMessage2 &)

IMPORT_C voidServiceL(const RMessage2 &aMessage)[protected, virtual]
From CAknAppServiceBase
Since
Series 60 3.0

Parameters

const RMessage2 & aMessageThe client message

SetErrorCode(TInt)

IMPORT_C voidSetErrorCode(TInt)

set iErrorCode.

Parameters

TInt

Member Data Documentation

TInt iError

TInt iError[private]

CDesCArrayFlat * iFilenameArray

CDesCArrayFlat *iFilenameArray[private]

CAiwGenericParamList * iGenericParams

CAiwGenericParamList *iGenericParams[private]

RMessage2 iPendingMessage

RMessage2 iPendingMessage[private]