filemanager/View/inc/CFileManagerCheckBoxSettingPage.h
changeset 0 6a9f87576119
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/filemanager/View/inc/CFileManagerCheckBoxSettingPage.h	Mon Jan 18 20:09:41 2010 +0200
@@ -0,0 +1,73 @@
+/*
+* Copyright (c) 2006 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:  Checkbox setting page
+*
+*/
+
+
+
+#ifndef C_FILEMANAGERCHECKBOXSETTINGPAGE_H
+#define C_FILEMANAGERCHECKBOXSETTINGPAGE_H
+
+
+//  INCLUDES
+#include <akncheckboxsettingpage.h>
+
+
+// CLASS DECLARATION
+/**
+ *  This class implements checkbox setting page
+ *
+ *  @lib FileManagerView.lib
+ *  @since S60 3.1
+ */
+NONSHARABLE_CLASS(CFileManagerCheckBoxSettingPage) :
+        public CAknCheckBoxSettingPage
+    {
+
+public:
+	/**
+     * Constructor.
+	 * @see CAknCheckBoxSettingPage
+     */
+    CFileManagerCheckBoxSettingPage(
+        const TInt aResourceID,
+        CSelectionItemList& aItemArray,
+        const TInt aDominantItemIndex );
+
+    ~CFileManagerCheckBoxSettingPage();
+
+private: // From CAknCheckBoxSettingPage
+    void UpdateSettingL();
+
+private: // New functions
+    void UpdateSelection();
+
+private: // Data
+    /**
+     * Pointer to items array
+     * Not own.
+     */
+    CSelectionItemList& iItemsArray;
+
+    /**
+     * Index of the dominant item
+     */
+    TInt iDominantItemIndex;
+
+    };
+
+#endif // C_FILEMANAGERCHECKBOXSETTINGPAGE_H
+
+// End of File