videocollection/tsrc/stubs/src/xqappmgr.cpp
author hgs
Fri, 15 Oct 2010 16:29:10 +0300
changeset 67 72c709219fcd
permissions -rw-r--r--
201041

/*
* 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:
* 
*/

#include "xqappmgrstub.h"

bool XQApplicationManager::mCreateFails = false;
int XQApplicationManager::mCreateCallCount = 0;

XQAiwRequest* XQApplicationManager::create( QUrl url )
{
    Q_UNUSED(url);
    mCreateCallCount++;
    if(!mCreateFails)
    {
        return new XQAiwRequest();
    }
    return 0;
}