videocollection/tsrc/stubs/inc/xqappmgrstub.h
changeset 67 72c709219fcd
equal deleted inserted replaced
66:adb51f74b890 67:72c709219fcd
       
     1 /*
       
     2 * Copyright (c) 2009 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:   
       
    15 * 
       
    16 */
       
    17 
       
    18 #ifndef XQAPPLICATIONMANAGER_H
       
    19 #define XQAPPLICATIONMANAGER_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <QUrl>
       
    23 #include "xqaiwrequeststub.h"
       
    24 
       
    25 class XQApplicationManager : public QObject
       
    26 {
       
    27     Q_OBJECT
       
    28 
       
    29 public:
       
    30     
       
    31     XQApplicationManager() {}
       
    32     virtual ~XQApplicationManager() {}
       
    33 
       
    34 public:
       
    35             
       
    36     static void reset()
       
    37     {
       
    38         mCreateFails = 0;
       
    39         mCreateCallCount = 0;        
       
    40     }
       
    41 
       
    42     XQAiwRequest* create( QUrl url );
       
    43 
       
    44 public:
       
    45     
       
    46     static bool mCreateFails;
       
    47     static int mCreateCallCount;
       
    48 
       
    49 };
       
    50 
       
    51 #endif