contacts_plat/contacts_ui_extensions_api/inc/cntuiextensionfactory.h
changeset 37 fd64c38c277d
parent 27 de1630741fbe
child 61 d30183af6ca6
equal deleted inserted replaced
31:2a11b5b00470 37:fd64c38c277d
    45 
    45 
    46 /**
    46 /**
    47  * A factory which gives access to UI extension interfaces.
    47  * A factory which gives access to UI extension interfaces.
    48  * The plugin can extend the needed extensions and return null for the
    48  * The plugin can extend the needed extensions and return null for the
    49  * unsupported extension types.
    49  * unsupported extension types.
       
    50  *
       
    51  * Plugins must be exported to /resource/qt/plugins/contacts/extensions
    50  */
    52  */
    51 class CntUiExtensionFactory
    53 class CntUiExtensionFactory
    52 {
    54 {
    53  public:
    55  public:
    54     virtual ~CntUiExtensionFactory() {}
    56     virtual ~CntUiExtensionFactory() {}
    55 
       
    56     /**
       
    57      * Gives access to an interface for extending UI action buttons.
       
    58      * @return Returns null if not supported. Ownership is not given.
       
    59      */
       
    60     virtual CntContactCardActionSupplier* contactCardActionSupplier() = 0;
       
    61 
    57 
    62     /**
    58     /**
    63      * Gives access to an interface for extending UI with new groups.
    59      * Gives access to an interface for extending UI with new groups.
    64      * @return Returns null if not supported. Ownership is not given.
    60      * @return Returns null if not supported. Ownership is not given.
    65      */
    61      */