camerauis/cameraxui/cxui/stubs_desktop/inc/xqserviceprovider.h
branchRCL_3
changeset 24 bac7acad7cb3
parent 23 61bc0f252b2b
child 25 2c87b2808fd7
equal deleted inserted replaced
23:61bc0f252b2b 24:bac7acad7cb3
     1 /*
       
     2 * Copyright (c) 2010 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 *   Stub used by CxuiServiceProvider
       
    16 */
       
    17 
       
    18 #ifndef XQSERVICEPROVIDER_H
       
    19 #define XQSERVICEPROVIDER_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <QString>
       
    23 
       
    24 class XQServiceProvider : public QObject
       
    25 {
       
    26     Q_OBJECT
       
    27 public:
       
    28     XQServiceProvider(const QString &service, QObject *parent = 0) : QObject(parent) {Q_UNUSED(service)}
       
    29     virtual ~XQServiceProvider() {}
       
    30 protected:
       
    31     virtual void publishAll(){}
       
    32     bool completeRequest(int index, const QVariant &retValue) {return true;}
       
    33     int setCurrentRequestAsync() {return 0;}
       
    34 
       
    35 };
       
    36 
       
    37 #endif // XQSERVICEPROVIDER_H