diff -r 491b3ed49290 -r 65326cf895ed filemanager/View/inc/CFileManagerCheckBoxSettingPage.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/filemanager/View/inc/CFileManagerCheckBoxSettingPage.h Wed Sep 01 12:31:07 2010 +0100 @@ -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 + + +// 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