controlpanel/controlpanel_plat/inc/cppluginutility.h
changeset 52 58cebe0861a8
parent 32 20bd089f4aaa
equal deleted inserted replaced
40:6465d5bb863a 52:58cebe0861a8
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  
    14 * Description:  Utility class for controlpanel plugins.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 #ifndef CP_PLUGINUTILITY_H
    18 #ifndef CPPLUGINUTILITY_H
    19 #define CP_PLUGINUTILITY_H
    19 #define CPPLUGINUTILITY_H
    20 
    20 
    21 #include <cpglobal.h>
    21 #include <cpglobal.h>
       
    22 
    22 class HbDataForm;
    23 class HbDataForm;
    23 
    24 
    24 class CP_EXPORT CpPluginUtility
    25 class CP_EXPORT CpPluginUtility
    25 {
    26 {
    26 /*!
       
    27      This function can add the proto type of setting items (like entry item) 
       
    28      which is supplied by control panel into your dataform's instance
       
    29  */
       
    30 public:
    27 public:
    31     static void addCpItemPrototype(HbDataForm *settingForm);
    28     static void addCpItemPrototype(HbDataForm *settingForm);
    32 };
    29 };
    33 
    30 
    34 #endif
    31 #endif