diff -r 3738fe97f027 -r 8aed59de29f9 videoplayback/hbvideoplaybackview/tsrc/testvideoplaybackcontrolscontroller/stub/inc/xqserviceutilxtra.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videoplayback/hbvideoplaybackview/tsrc/testvideoplaybackcontrolscontroller/stub/inc/xqserviceutilxtra.h Fri Apr 16 18:13:14 2010 +0300 @@ -0,0 +1,50 @@ +/** +* 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 + +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