videocollection/tsrc/stubs/inc/xqsettingsmanagerstub.h
changeset 52 e3cecb93e76a
child 59 a76e86df7ccd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/videocollection/tsrc/stubs/inc/xqsettingsmanagerstub.h	Wed Aug 18 09:50:14 2010 +0300
@@ -0,0 +1,60 @@
+/*
+* Copyright (c) 2008-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:  XQSettingsManager class stub.
+*
+*/
+
+#ifndef XQSETTINGSMANAGER_H
+#define XQSETTINGSMANAGER_H
+
+#include <QObject>
+#include <QVariant>
+
+class XQCentralRepositorySettingsKey : public QObject
+{
+    Q_OBJECT
+    
+public:
+    
+    XQCentralRepositorySettingsKey(int uid, int key)
+    {
+        Q_UNUSED(uid);
+        Q_UNUSED(key);
+    }
+};
+
+class XQSettingsManager : QObject
+{
+    Q_OBJECT
+    
+public:
+    XQSettingsManager();
+    ~XQSettingsManager();
+    
+    enum Type
+    {
+        TypeVariant = 0,
+        TypeInt,
+        TypeDouble,
+        TypeString,
+        TypeByteArray
+    };
+    
+public:
+    QVariant readItemValue(XQCentralRepositorySettingsKey &key, int type);
+    
+    static QVariant mReadItemValueReturnValue;
+};
+
+#endif // XQSETTINGSMANAGER_H