videoplayback/hbvideoplaybackview/tsrc/testvideoplaybackcontrolscontroller/stub/inc/xqserviceutilxtra.h
author hgs
Fri, 16 Apr 2010 18:13:14 +0300
changeset 36 8aed59de29f9
permissions -rw-r--r--
201015

/**
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: XQServiceUtilXtra STUB class definition
*
*/

// Version : %version:  1 %

#ifndef XQSERVICEUTILXTRA_H_
#define XQSERVICEUTILXTRA_H_

#include <QObject>

class XQServiceUtilXtra : public QObject
{
    Q_OBJECT

    public:

        static XQServiceUtilXtra *instance();
        void decreaseReferenceCount();
        bool currentService();
        void setCurrentService( bool service );

    private:

        XQServiceUtilXtra();
        static XQServiceUtilXtra* mInstance;
        virtual ~XQServiceUtilXtra();

    Q_DISABLE_COPY( XQServiceUtilXtra )

    public:
        
        static int mReferenceCount;
        static bool service;

};
#endif