camerauis/cameraapp/generic/GsCamcorderPlugin/inc/CamLocationSettingItem.h
changeset 0 1ddebce53859
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraapp/generic/GsCamcorderPlugin/inc/CamLocationSettingItem.h	Thu Jan 07 16:18:56 2010 +0200
@@ -0,0 +1,80 @@
+/*
+* Copyright (c) 2007 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:  Setting item for Location setting item in image settings*
+*/
+
+
+
+
+#ifndef CAMLOCATIONSETTINGITEM_H
+#define CAMLOCATIONSETTINGITEM_H
+
+//  INCLUDES
+#include <aknsettingitemlist.h>
+#include "CamStaticSettingsModel.h"
+#include "MCamAppController.h"
+
+// CLASS DECLARATION
+
+/**
+* Setting item for image/video location texts
+* @since 2.8
+*/
+class CCamLocationSettingItem : public CAknEnumeratedTextPopupSettingItem
+    {
+    public: // Constructors and destructor
+        /**
+        * C++ constructor
+        * @since 2.8
+        * @param aController reference to the controller 
+        * @param aMode       current mode (video or still image)
+        * @param aIdentifier setting page resource id
+        * @param aValue      current name base type
+        */
+        CCamLocationSettingItem( TCamCameraMode aMode, 
+                                 TInt aIdentifier, 
+                                 TInt& aValue );
+
+        /**
+        * Destructor
+        */
+        virtual ~CCamLocationSettingItem();
+
+    protected: // Functions from base classes
+        /**
+        * From CAknEnumeratedTextPopupSettingItem
+        * @since 2.8
+        * Framework method for constructing the launching setting page.
+        * @return   a constructed CAknSettingPage object on the heap
+        */
+        CAknSettingPage* CreateSettingPageL();
+
+        /**
+        *
+        * Virtual method called by framework to complete the construction.  
+        * In this class, the two arrays, pointers to which can be obtained by calling 
+        * EnumeratedTextArray() and PoppedUpTextArray() are created.
+        *
+        */
+        void CompleteConstructionL();
+
+    private: // Data
+
+        // The current mode of capture.
+        TCamCameraMode iMode;
+    };
+
+#endif // CAMLOCATIONSETTINGITEM_H
+
+// End of File