contentstorage/cahandler/tapp/src/catapphandlerplugin.cpp
changeset 103 b99b84bcd2d1
parent 66 32469d7d46ff
equal deleted inserted replaced
83:156f692b1687 103:b99b84bcd2d1
    16  */
    16  */
    17 
    17 
    18 #include "catapphandlerplugin.h"
    18 #include "catapphandlerplugin.h"
    19 #include "catapphandler.h"
    19 #include "catapphandler.h"
    20 
    20 
    21 #ifdef COVERAGE_MEASUREMENT
       
    22 #pragma CTC SKIP
       
    23 #endif //COVERAGE_MEASUREMENT
       
    24 /*!
    21 /*!
    25     \class CaTappHandlerPlugin
    22     \class CaTappHandlerPlugin
    26     \ingroup
    23     \ingroup
    27     \brief Implementation of Qt SF plugin for templated application command handler.
    24     \brief Implementation of Qt SF plugin for templated application command handler.
    28 */
    25 */
    29 
    26 
    30 /*!
    27 /*!
    31     \param descriptor service descriptor
    28     \param descriptor service descriptor
    32     \param context ignored
    29     \param context ignored
    33     \param session ignored
    30     \param session ignored
    34     \return An instance of the CaTapphandler object when descriptor interface name
    31     \retval An instance of the CaTapphandler object when descriptor interface name
    35     is "com.nokia.homescreen.ICommandHandler", NULL otherwise.
    32     is "com.nokia.homescreen.ICommandHandler", NULL otherwise.
    36 */
    33 */
    37 QObject *CaTappHandlerPlugin::createInstance(const QServiceInterfaceDescriptor &descriptor,
    34 QObject *CaTappHandlerPlugin::createInstance(const QServiceInterfaceDescriptor &descriptor,
    38     QServiceContext *context, QAbstractSecuritySession *session)
    35     QServiceContext *context, QAbstractSecuritySession *session)
    39 {
    36 {
    46     else {
    43     else {
    47         return 0;
    44         return 0;
    48     }
    45     }
    49 }
    46 }
    50 
    47 
       
    48 #ifdef COVERAGE_MEASUREMENT
       
    49 #pragma CTC SKIP
       
    50 #endif //COVERAGE_MEASUREMENT (QT macro)
       
    51 
    51 Q_EXPORT_PLUGIN2(catapphandlerplugin, CaTappHandlerPlugin)
    52 Q_EXPORT_PLUGIN2(catapphandlerplugin, CaTappHandlerPlugin)
    52 
    53 
    53 #ifdef COVERAGE_MEASUREMENT
    54 #ifdef COVERAGE_MEASUREMENT
    54 #pragma CTC ENDSKIP
    55 #pragma CTC ENDSKIP
    55 #endif //COVERAGE_MEASUREMENT
    56 #endif //COVERAGE_MEASUREMENT