videocollection/tsrc/stubs/inc/xqsettingsmanagerstub.h
changeset 44 518105d52e45
child 50 21fe8338c6bf
equal deleted inserted replaced
42:17f382c040b1 44:518105d52e45
       
     1 /*
       
     2 * Copyright (c) 2008-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:  XQSettingsManager class stub.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef XQSETTINGSMANAGER_H
       
    19 #define XQSETTINGSMANAGER_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <QVariant>
       
    23 
       
    24 class XQCentralRepositorySettingsKey : public QObject
       
    25 {
       
    26 
       
    27 public:
       
    28     
       
    29     XQCentralRepositorySettingsKey(int uid, int key)
       
    30     {
       
    31         Q_UNUSED(uid);
       
    32         Q_UNUSED(key);
       
    33     }
       
    34 };
       
    35 
       
    36 class XQSettingsManager
       
    37 {
       
    38 
       
    39     enum Type
       
    40     {
       
    41         TypeVariant = 0,
       
    42         TypeInt,
       
    43         TypeDouble,
       
    44         TypeString,
       
    45         TypeByteArray
       
    46     };
       
    47     
       
    48 public:
       
    49     QVariant readItemValue(XQCentralRepositorySettingsKey &key, int type)
       
    50     {
       
    51         Q_UNUSED(key);
       
    52         Q_UNUSED(type);
       
    53         return QVariant();
       
    54     }
       
    55     
       
    56 };
       
    57 
       
    58 #endif // XQSETTINGSMANAGER_H