videocollection/tsrc/stubs/src/xqserviceutil.cpp
changeset 36 8aed59de29f9
child 28 c48470be1ba7
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
       
     1 /**
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #include "hbaction.h"
       
    19 #include "xqserviceutilxtra.h"
       
    20 
       
    21 void XQServiceUtil::toBackground(bool value)
       
    22 {
       
    23     Q_UNUSED(value);
       
    24 }
       
    25 
       
    26 bool XQServiceUtil::isEmbedded()
       
    27 {
       
    28     return false;
       
    29 }
       
    30 
       
    31 bool XQServiceUtil::isService()
       
    32 {
       
    33     bool service = false;
       
    34     XQServiceUtilXtra* ptr = XQServiceUtilXtra::instance();
       
    35     service = ptr->currentService();
       
    36     ptr->decreaseReferenceCount();
       
    37     return service;
       
    38 }
       
    39 
       
    40 // End of file