camerauis/cameraxui/cxengine/tsrc/fakeclasses/cxefakesettingsmodel.h
changeset 46 c826656d6714
parent 42 feebad15db8c
child 52 7e18d488ac5f
--- a/camerauis/cameraxui/cxengine/tsrc/fakeclasses/cxefakesettingsmodel.h	Thu Jul 15 01:53:45 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-/*
-* Copyright (c) 2009-2010 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:
-*
-*/
-#ifndef CXEFAKESETTINGSMODEL_H
-#define CXEFAKESETTINGSMODEL_H
-
-#include <QHash>
-#include "cxesettingsmodel.h"
-
-class CxeFakeSettingsModel  : public CxeSettingsModel
-{
-
-public:
-
-    CxeFakeSettingsModel();
-    ~CxeFakeSettingsModel();
-
-    void reset() {};
-    CxeError::Id getSettingValue(const QString &key, QVariant &value);
-    void getSettingValue(long int uid, unsigned long int key, Cxe::SettingKeyType type, QVariant &value);
-    CxeError::Id getRuntimeValue(const QString &key, QVariant &value);
-
-    CxeError::Id set(const QString &key,const QVariant newValue);
-    CxeScene& currentImageScene();
-    CxeScene& currentVideoScene();
-    void cameraModeChanged(Cxe::CameraMode newMode);
-    CxeError::Id setImageScene(const QString &newScene);
-    CxeError::Id setVideoScene(const QString &newScene);
-
-public: // own helper methods
-    void setRuntimeValues(QString &key, QList<QVariant> value);
-    void initDefaultCameraSettings();
-    void initRuntimeSettings();
-    void testSetCurrenImageScene();
-    void testSetCurrenVideoScene();
-
-    Cxe::CameraMode getDummyCameraMode() {return mDummyCameraMode;}
-
-private:
-
-    QHash<QString, QVariant> mSettingStore;
-    QHash<QString, QVariantList> mRuntimeSettings;
-    CxeScene mDummyImageScene;
-    CxeScene mDummyVideoScene;
-    Cxe::CameraMode mDummyCameraMode;
-};
-
-#endif  // CXEFAKESETTINGSMODEL_H
-
-
-
-
-