class ContentAccess::CF32AgentUi : public CBase |
Interface that must be implemented in order for the F32 agent to display information on the screen
Public Member Functions | |
---|---|
TBool | ConfirmDeleteL(const TDesC &) |
void | DisplayInfoL(TInt, RFile &) |
TInt | SetProperty(TInt, TInt) |
TBool | ConfirmDeleteL | ( | const TDesC & | aFileName | ) | [pure virtual] |
The implementation of this API will display a dialog asking the user to confirm deletion of a file. The implementation will display the dialog if the appropriate setting, TAgentProperty::EAgentPropertyAgentUI, has been set using CF32AgentUi::SetProperty, enabling the Agent UI. If the user selects to delete the file ETrue will be returned, EFalse if the file is not to be deleted. If the Agent UI is not enabled a default value of ETrue will be returned.
The function should only return once the dialog has completed
const TDesC & aFileName | The name of the file that is about to be deleted |
void | DisplayInfoL | ( | TInt | aInfo, |
RFile & | aFile | |||
) | [pure virtual] |
Display information describing the supplied file
The file will already be open before calling this function. The function should only return once the dialog has completed
TInt aInfo | The information to display, from ContentAccess::TDisplayInfo |
RFile & aFile | The file to display |
TInt | SetProperty | ( | TInt | aProperty, |
TInt | aValue | |||
) | [pure virtual] |
The implementation of this API will action/remember Agent properties applicable to the Agent UI.
Currently the F32 Agent only supports one UI property - TAgentProperty::EAgentPropertyAgentUI, enabling or disabling the Agent UI. The implementation of this function should store the property that has been set and subsequent requests to the interface should be dealt with in accordance with these properties.
CF32AgentUi::ConfirmDeleteLThe implementation will return KErrNone if the property has been set correctly or KErrCANotSupported if the property supplied is not supported.
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.