#include <app/VPbkFieldTypeSelectorFactory.h>
class VPbkFieldTypeSelectorFactory |
Public Member Enumerations | |
---|---|
enum | TVPbkContactActionTypeSelector { EEmptySelector, EVoiceCallSelector, EUniEditorSelector, EEmailEditorSelector, ..., EAssignFromMapSelector } |
enum | TVPbkFieldTypeSelector { EPhoneNumberSelector, EMobileNumberSelector, EFaxNumberSelector, EVideoNumberSelector, ..., EPagerfaxSelector } |
Public Member Functions | |
---|---|
IMPORT_C CVPbkFieldTypeSelector * | BuildContactActionTypeSelectorL(TVPbkContactActionTypeSelector, const MVPbkFieldTypeList &) |
IMPORT_C CVPbkFieldTypeSelector * | BuildFieldTypeSelectorL(TVPbkFieldTypeSelector, const MVPbkFieldTypeList &) |
IMPORT_C TVPbkContactActionTypeSelector | CreateActionTypeSelectorIdL(const TInt) |
Factory for creating selectors based on field type or contact action type.
Defines predefined field type selectors.
IMPORT_C CVPbkFieldTypeSelector * | BuildContactActionTypeSelectorL | ( | TVPbkContactActionTypeSelector | aType, |
const MVPbkFieldTypeList & | aFieldTypeList | |||
) | [static] |
Build a predefined contact action type selector.
Parameter | Description |
---|---|
aType | Id of the predefined selector. |
aFieldTypeList | Field type list used to search for the field. |
Returns: A new instance of CVPbkFieldTypeSelector
IMPORT_C CVPbkFieldTypeSelector * | BuildFieldTypeSelectorL | ( | TVPbkFieldTypeSelector | aType, |
const MVPbkFieldTypeList & | aFieldTypeList | |||
) | [static] |
Build a predefined field type selector.
Parameter | Description |
---|---|
aType | Id of the predefined selector. |
aFieldTypeList | Field type list used to search for the field. |
Returns: A new instance of CVPbkFieldTypeSelector
IMPORT_C TVPbkContactActionTypeSelector | CreateActionTypeSelectorIdL | ( | const TInt | aID | ) | [static] |
Creates selector id based on an integer value. The function leaves with KErrNotFound if the integer doesnt fit any selector id.
Returns: Created TVPbkContactActionTypeSelector.