videoplayback/hbvideoplaybackview/tsrc/testvideoplaybackcontrolscontroller/stub/inc/xqserviceutilxtra.h
changeset 36 8aed59de29f9
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: XQServiceUtilXtra STUB class definition
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version:  1 %
       
    19 
       
    20 #ifndef XQSERVICEUTILXTRA_H_
       
    21 #define XQSERVICEUTILXTRA_H_
       
    22 
       
    23 #include <QObject>
       
    24 
       
    25 class XQServiceUtilXtra : public QObject
       
    26 {
       
    27     Q_OBJECT
       
    28 
       
    29     public:
       
    30 
       
    31         static XQServiceUtilXtra *instance();
       
    32         void decreaseReferenceCount();
       
    33         bool currentService();
       
    34         void setCurrentService( bool service );
       
    35 
       
    36     private:
       
    37 
       
    38         XQServiceUtilXtra();
       
    39         static XQServiceUtilXtra* mInstance;
       
    40         virtual ~XQServiceUtilXtra();
       
    41 
       
    42     Q_DISABLE_COPY( XQServiceUtilXtra )
       
    43 
       
    44     public:
       
    45         
       
    46         static int mReferenceCount;
       
    47         static bool service;
       
    48 
       
    49 };
       
    50 #endif