diff -r adb51f74b890 -r 72c709219fcd videocollection/tsrc/stubs/inc/xqappmgrstub.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videocollection/tsrc/stubs/inc/xqappmgrstub.h Fri Oct 15 16:29:10 2010 +0300 @@ -0,0 +1,51 @@ +/* +* Copyright (c) 2009 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: +* +*/ + +#ifndef XQAPPLICATIONMANAGER_H +#define XQAPPLICATIONMANAGER_H + +#include +#include +#include "xqaiwrequeststub.h" + +class XQApplicationManager : public QObject +{ + Q_OBJECT + +public: + + XQApplicationManager() {} + virtual ~XQApplicationManager() {} + +public: + + static void reset() + { + mCreateFails = 0; + mCreateCallCount = 0; + } + + XQAiwRequest* create( QUrl url ); + +public: + + static bool mCreateFails; + static int mCreateCallCount; + +}; + +#endif