classicui_pub/common_file_dialogs_api/tsrc/inc/testsdkcfdsettingitem.h
changeset 0 2f259fa3e83a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/classicui_pub/common_file_dialogs_api/tsrc/inc/testsdkcfdsettingitem.h	Tue Feb 02 01:00:49 2010 +0200
@@ -0,0 +1,88 @@
+/*
+* Copyright (c) 2002 - 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:  Test Common File Dialogs
+ *
+*/
+
+
+#ifndef C_TESTSDKCFDSETTINGITEM_H
+#define C_TESTSDKCFDSETTINGITEM_H
+
+#include <caknmemoryselectionsettingitem.h>
+#include <testsdkcfd.rsg>
+
+/**
+ * CTestSettingItem derived from CAknMemorySelectionSettingItem and test it for
+ * getting private member variable
+ */
+class CTestSettingItem : public CAknMemorySelectionSettingItem
+    {
+public:
+    
+    /**
+     * Constructor.
+     */
+    CTestSettingItem( TInt aIdentifier,
+        CAknMemorySelectionSettingPage::TMemory& aSelectedMemory );
+    
+    /**
+     * Get iExternale value.
+     */
+    CAknMemorySelectionDialog::TMemory GetExternalData() const;
+    
+    /**
+     * Get iInternale value.
+     */
+    CAknMemorySelectionDialog::TMemory GetInternalData() const;
+    
+    /**
+     * Get setting page pointer.
+     */
+    CAknMemorySelectionSettingPage* GetSettingPagePointer() const;
+    
+    /**
+     * Get text value.
+     */
+    TDes GetSettingText() const;
+    /**
+     * Get text value.
+     */
+    void GetText( TDes& aDes );
+    };
+
+/**
+ *  CTestSettingItemList derived from CAknSettingItemList and test it for getting private member variable
+ */
+class CTestSettingItemList : public CAknSettingItemList
+    {
+public:
+    
+    /**
+     * By default Symbian 2nd phase constructor is private.
+     */
+    void ConstructL();
+    
+    /**
+     * Constructor.
+     */
+    CAknSettingItem* CreateSettingItemL( TInt aIdentifier );
+
+public:
+    //Own : setting itme pointer
+    CTestSettingItem* iItem;
+    };
+
+#endif      // C_TESTSDKCFDSETTINGITEM_H
+
+// End of File