videocollection/tsrc/stubs/src/xqserviceutil.cpp
changeset 39 f6d44a0cd476
parent 36 8aed59de29f9
equal deleted inserted replaced
38:ff53afa8ad05 39:f6d44a0cd476
    13 *
    13 *
    14 * Description:
    14 * Description:
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 #include "hbaction.h"
    18 #include "xqserviceutilstub.h"
    19 #include "xqserviceutilxtra.h"
    19 #include "xqserviceutilxtra.h"
       
    20 #include "videoservices.h"
    20 
    21 
    21 void XQServiceUtil::toBackground(bool value)
    22 void XQServiceUtil::toBackground(bool value)
    22 {
    23 {
    23     Q_UNUSED(value);
    24     Q_UNUSED(value);
    24 }
    25 }
    35     service = ptr->currentService();
    36     service = ptr->currentService();
    36     ptr->decreaseReferenceCount();
    37     ptr->decreaseReferenceCount();
    37     return service;
    38     return service;
    38 }
    39 }
    39 
    40 
       
    41 QString XQServiceUtil::interfaceName()
       
    42 {
       
    43     VideoServices *videoServices = VideoServices::instance();
       
    44     QString interfaceName;
       
    45     if(videoServices->currentService() == VideoServices::EUriFetcher)
       
    46     {
       
    47         interfaceName = "IVideoFetch";
       
    48     } 
       
    49     else if(videoServices->currentService() == VideoServices::EBrowse)
       
    50     {
       
    51         interfaceName = "IVideoBrowse";
       
    52     }
       
    53     videoServices->decreaseReferenceCount();
       
    54     return interfaceName;
       
    55 }
       
    56 
       
    57 QString XQServiceUtil::operationName()
       
    58 {
       
    59     return QString();
       
    60 }
       
    61 
    40 // End of file
    62 // End of file