Revision: 201017
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 14 May 2010 16:06:26 +0300
changeset 22 75713bee6484
parent 21 558113899881
child 26 62ef28f7b435
child 28 d33307312dfe
Revision: 201017 Kit: 201019
classicui_plat/common_file_dialogs_filter_factory_api/tsrc/data/testdomcfdfilterfactory.rss
classicui_plat/common_file_dialogs_filter_factory_api/tsrc/src/testdomcfdfilterfactoryblocks.cpp
classicui_plat/extended_aiw_criteria_api/inc/AiwPoCParameters.h
classicui_plat/ganes_api/inc/ganes/HgScroller.h
classicui_plat/group/bld.inf
classicui_plat/legacy_ui_framework_headers_api/inc/calslbs.h
classicui_pub/sounds_api/tsrc/group/testsdksounds.mmp
classicui_pub/sounds_api/tsrc/inc/testsdksounds.h
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg.mmp
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg.rss
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg_reg.rss
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/group/bld.inf
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/CVRSettingsDialogMMCSupported.h
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/StreamLogger.h
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlg.hrh
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlg.loc
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgapp.h
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgappUi.h
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgcase.h
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgcontainer.h
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgdocument.h
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgview.h
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcommondlg.h
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestfilenamedlg.h
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestfileseldlg.h
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestmemselitem.h
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestmemselpage.h
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/sis/bctestcmdlg.pkg
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/CVRSettingsDialogMMCSupported.cpp
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgapp.cpp
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgappui.cpp
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgcase.cpp
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgcontainer.cpp
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgdocument.cpp
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgview.cpp
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestcommondlg.cpp
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestfilenamedlg.cpp
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestfileseldlg.cpp
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestmemselitem.cpp
classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestmemselpage.cpp
commonuis/CommonUi/data/DocumentHandlerUi.rss
commonuis/CommonUi/data/FindItemmenu.rss
commonuis/CommonUi/src/DocDefaultHandler.cpp
commonuis/CommonUi/src/FindItemMenu.cpp
group/bld.inf
lafagnosticuifoundation/cone/inc/COECNTRL.H
lafagnosticuifoundation/cone/inc/CoeDynamicStorage.inl
lafagnosticuifoundation/cone/src/COECNTRL.CPP
lafagnosticuifoundation/cone/tef/TCONE2STEP.CPP
lafagnosticuifoundation/cone/tef/TCONE6STEP.CPP
lafagnosticuifoundation/cone/tef/TCone2Step.h
psln/Rss/Psln.rss
uifw/AvKon/srcdata/avkon.rss
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg.mmp
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg.rss
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg_reg.rss
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/group/bld.inf
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/CVRSettingsDialogMMCSupported.h
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/StreamLogger.h
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlg.hrh
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlg.loc
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgapp.h
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgappUi.h
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgcase.h
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgcontainer.h
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgdocument.h
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgview.h
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcommondlg.h
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestfilenamedlg.h
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestfileseldlg.h
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestmemselitem.h
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestmemselpage.h
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/sis/bctestcmdlg.pkg
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/CVRSettingsDialogMMCSupported.cpp
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgapp.cpp
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgappui.cpp
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgcase.cpp
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgcontainer.cpp
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgdocument.cpp
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgview.cpp
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestcommondlg.cpp
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestfilenamedlg.cpp
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestfileseldlg.cpp
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestmemselitem.cpp
uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestmemselpage.cpp
uifw/AvKon/tsrc/bc/S60_SDK5.0/bcmultidriver/src/bctestmultidrivercase.cpp
uifw/AvKon/tsrc/bc/S60_SDK5.0/bctestmix50/group/bctestmix50.rss
uifw/AvKon/tsrc/bc/S60_SDK5.0/bctestmix50/inc/bctestmix50patchmisc.h
uifw/AvKon/tsrc/bc/S60_SDK5.0/bctestmix50/src/bctestmix50patchcontrolcase.cpp
uifw/AvKon/tsrc/bc/S60_SDKMCL/bctestmixmcl/group/bctestmixmcl.rss
uifw/AvKon/tsrc/bc/bctestdom3.2/bctestdomaiwakn/group/bctestdomaiwakn.rss
uifw/AvKon/tsrc/bc/bctestdom3.2/bctestdomaiwakn/inc/bctestdomaknctrlcase.h
uifw/AvKon/tsrc/bc/bctestdom3.2/bctestdomaiwakn/src/bctestdomaknctrlcase.cpp
uifw/AvKon/tsrc/bc/bctestdom5.0/bctestdomaiwakn/group/bctestdomaiwakn.rss
uifw/AvKon/tsrc/bc/bctestdom5.0/bctestdomaiwakn/inc/bctestdomaknctrlcase.h
uifw/AvKon/tsrc/bc/bctestdom5.0/bctestdomaiwakn/src/bctestdomaknctrlcase.cpp
uifw/EikStd/srvuisrc/EIKSRVUI.CPP
uifw/EikStd/srvuisrc/EIKSRVUI.MMP
--- a/classicui_plat/common_file_dialogs_filter_factory_api/tsrc/data/testdomcfdfilterfactory.rss	Mon May 03 12:45:33 2010 +0300
+++ b/classicui_plat/common_file_dialogs_filter_factory_api/tsrc/data/testdomcfdfilterfactory.rss	Fri May 14 16:06:26 2010 +0300
@@ -22,9 +22,6 @@
 #include <avkon.rh>
 #include <eikon.rh>
 
-#include <CommonDialogs.hrh> // Enumerations
-#include <CommonDialogs.rh> // Resource structures
-
 RESOURCE RSS_SIGNATURE
     {
     }
@@ -33,20 +30,3 @@
     buf = "";
     }
 
-// ---------------------------------------------------------------------------
-// r_test_file_filter_factory
-// ---------------------------------------------------------------------------
-//
-RESOURCE FILTER r_test_attribute_filter_factory
-    {
-        filter_type = EAttributeFilter;
-        filter_style = EExclusiveFilter;
-        filter_data = { "SH", "R" }; // Excludes system, hidden and read-only attributes        
-    }
-
-RESOURCE FILTER r_test_filename_filter_factory
-    {
-        filter_type = EFilenameFilter;
-        filter_style = EExclusiveFilter;
-        filter_data = { "*.jpg", "*.gif" }; // Excludes system, hidden and read-only attributes        
-    }
--- a/classicui_plat/common_file_dialogs_filter_factory_api/tsrc/src/testdomcfdfilterfactoryblocks.cpp	Mon May 03 12:45:33 2010 +0300
+++ b/classicui_plat/common_file_dialogs_filter_factory_api/tsrc/src/testdomcfdfilterfactoryblocks.cpp	Fri May 14 16:06:26 2010 +0300
@@ -72,15 +72,6 @@
     // Print to log file
     iLog->Log( KTestFFFCreateAttributeFilterLC );
 
-    MAknFileFilter* fileFilter;
-    TResourceReader reader;
-    CCoeEnv::Static()->CreateResourceReaderLC( reader, R_TEST_ATTRIBUTE_FILTER_FACTORY );
-        
-    fileFilter = AknFileFilterFactory::CreateFilterLC( reader );
-    STIF_ASSERT_NOT_NULL( fileFilter );
-    CleanupStack::Pop();
-    CleanupStack::PopAndDestroy();
-    
     return KErrNone;
     }
 
@@ -98,15 +89,6 @@
     // Print to log file
     iLog->Log( KTestFFFCreateFilenameFilterLC );
 
-    MAknFileFilter* fileFilter;
-    TResourceReader reader;
-    CCoeEnv::Static()->CreateResourceReaderLC( reader, R_TEST_FILENAME_FILTER_FACTORY );
-        
-    fileFilter = AknFileFilterFactory::CreateFilterLC( reader );
-    STIF_ASSERT_NOT_NULL( fileFilter );
-    CleanupStack::Pop();
-    CleanupStack::PopAndDestroy();
-    
     return KErrNone;
     }
 
--- a/classicui_plat/extended_aiw_criteria_api/inc/AiwPoCParameters.h	Mon May 03 12:45:33 2010 +0300
+++ b/classicui_plat/extended_aiw_criteria_api/inc/AiwPoCParameters.h	Fri May 14 16:06:26 2010 +0300
@@ -23,7 +23,7 @@
 #define AIWPOCPARAMETERS_H
 
 //  INCLUDES
-#include <aiwpocparameters.hrh>
+#include <AiwPoCParameters.hrh>
 #include <logwrap.h>
 
 // DATA TYPES
@@ -222,7 +222,7 @@
     };
 
 // Inline methods
-#include <aiwpocparameters.inl>
+#include <AiwPoCParameters.inl>
 
 #endif      // AIWPOCPARAMETERS_H   
             
--- a/classicui_plat/ganes_api/inc/ganes/HgScroller.h	Mon May 03 12:45:33 2010 +0300
+++ b/classicui_plat/ganes_api/inc/ganes/HgScroller.h	Fri May 14 16:06:26 2010 +0300
@@ -23,7 +23,7 @@
 #include <coecntrl.h>
 #include <coemain.h>
 
-#include <AknPhysicsObserverIface.h>
+#include <aknphysicsobserveriface.h>
 #include <aknlongtapdetector.h>
 #include <akncollection.h>
 #include <ganes/HgBufferOwnerIface.h>
--- a/classicui_plat/group/bld.inf	Mon May 03 12:45:33 2010 +0300
+++ b/classicui_plat/group/bld.inf	Fri May 14 16:06:26 2010 +0300
@@ -18,16 +18,13 @@
 
 
 
-#include "../personalisation_framework_api/group/bld.inf"
 #include "../signal_pane_api/group/bld.inf"
 #include "../japanese_reading_api/group/bld.inf"
 #include "../global_popup_priority_controller_api/group/bld.inf"
 #include "../item_finder_api/group/bld.inf"
 #include "../avkon_fonts_api/group/bld.inf"
 #include "../extended_utilities_api/group/bld.inf"
-#include "../personalisation_plugin_api/group/bld.inf"
 #include "../extended_aiw_criteria_api/group/bld.inf"
-#include "../personalisation_application_api/group/bld.inf"
 #include "../volume_popup_api/group/bld.inf"
 #include "../avkon_secondary_display_support_api/group/bld.inf"
 #include "../extended_setting_pages_api/group/bld.inf"
@@ -38,7 +35,6 @@
 #include "../extended_status_pane_api/group/bld.inf"
 #include "../extended_notifiers_api/group/bld.inf"
 #include "../task_list_api/group/bld.inf"
-#include "../personalisation_slide_show_dialog_api/group/bld.inf"
 #include "../key_event_utilities_api/group/bld.inf"
 #include "../emergency_call_support_api/group/bld.inf"
 #include "../extended_dialogs_api/group/bld.inf"
@@ -55,7 +51,6 @@
 #include "../skinnable_clock_api/group/bld.inf"
 #include "../battery_pane_api/group/bld.inf"
 #include "../fep_document_navigation_api/group/bld.inf"
-#include "../personalisation_localised_texts_api/group/bld.inf"
 #include "../memory_card_ui_api/group/bld.inf"
 #include "../avkon_status_api/group/bld.inf"
 #include "../application_switching_api/group/bld.inf"
--- a/classicui_plat/legacy_ui_framework_headers_api/inc/calslbs.h	Mon May 03 12:45:33 2010 +0300
+++ b/classicui_plat/legacy_ui_framework_headers_api/inc/calslbs.h	Fri May 14 16:06:26 2010 +0300
@@ -22,7 +22,7 @@
 #ifndef __CALSLBS_H__
 #define __CALSLBS_H__
 
-#include <aknutils.h>
+#include <AknUtils.h>
 
 #endif
 
--- a/classicui_pub/sounds_api/tsrc/group/testsdksounds.mmp	Mon May 03 12:45:33 2010 +0300
+++ b/classicui_pub/sounds_api/tsrc/group/testsdksounds.mmp	Fri May 14 16:06:26 2010 +0300
@@ -31,20 +31,6 @@
 
 DEFFILE         testsdksounds.def
 
-#ifdef SBSV2
-    USERINCLUDE     ../inc
-
-    MW_LAYER_SYSTEMINCLUDE
-
-
-    START RESOURCE ../data/testsdktestsdksounds.rss
-        TARGETPATH RESOURCE_FILES_DIR
-        HEADER
-        END
-    
-    SOURCEPATH      ../src
-    
-#else // SBSV2 not defined
     USERINCLUDE     ../inc 
 
     MW_LAYER_SYSTEMINCLUDE
@@ -54,7 +40,6 @@
         HEADER
         END
     SOURCEPATH      ../src
-#endif // SBSV2
 
 SOURCE          testsdksounds.cpp
 SOURCE          testsdksoundsblocks.cpp
--- a/classicui_pub/sounds_api/tsrc/inc/testsdksounds.h	Mon May 03 12:45:33 2010 +0300
+++ b/classicui_pub/sounds_api/tsrc/inc/testsdksounds.h	Fri May 14 16:06:26 2010 +0300
@@ -28,10 +28,6 @@
 #include <aknsoundinfo.h>
 #include <coemain.h>
 #include <coeaui.h>
-#include <caknmemoryselectionsettingpage.h>
-#include <caknfilenamepromptdialog.h>
-#include <maknfileselectionobserver.h>
-#include <caknfileselectiondialog.h>
 
 #include <aknsoundsystem.h>
 
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg.mmp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,85 +0,0 @@
-/*
-* Copyright (c) 2002-2009 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:         project specification file for the BCTestCmDlg.
-*
-*/
-
-
-
-
-
-
-
-
-
-TARGET          BCTestCmDlg.exe
-TARGETTYPE      exe
-UID             0x0 0x2000475D
-
-VENDORID        0x101FB657
-CAPABILITY      NetworkServices LocalServices Location ReadUserData \
-                WriteUserData ReadDeviceData WriteDeviceData SwEvent UserEnvironment
-
-TARGETPATH      sys/bin
-
-EPOCSTACKSIZE 0x10000
-EPOCHEAPSIZE 0x10000 0x1000000
-
-START RESOURCE BCTestCmDlg.rss
-HEADER
-TARGETPATH resource/apps
-END  // RESOURCE
-
-//LANG            01
-
-SOURCEPATH      ../Src
-SOURCE          bctestcmdlgapp.cpp
-SOURCE          bctestcmdlgdocument.cpp
-SOURCE          bctestcmdlgappui.cpp
-SOURCE          bctestcmdlgview.cpp
-SOURCE          bctestcmdlgcontainer.cpp
-SOURCE          bctestcmdlgcase.cpp
-SOURCE          bctestmemselpage.cpp
-SOURCE          bctestfileseldlg.cpp
-SOURCE          bctestfilenamedlg.cpp
-SOURCE          bctestcommondlg.cpp
-SOURCE          bctestmemselitem.cpp
-SOURCE          CVRSettingsDialogMMCSupported.cpp
-
-USERINCLUDE     . ../Inc
-USERINCLUDE     ../../../bctestutil/inc
-
-SYSTEMINCLUDE   . /epoc32/include
-
-LIBRARY         euser.lib
-LIBRARY         apparc.lib
-LIBRARY         cone.lib
-LIBRARY         eikcore.lib
-LIBRARY         eikcoctl.lib
-LIBRARY         avkon.lib
-LIBRARY         ws32.lib
-LIBRARY         AknSkins.lib
-LIBRARY         apgrfx.lib
-LIBRARY         bctestutil.lib
-LIBRARY	        efsrv.lib
-LIBRARY	        commondialogs.lib
-LIBRARY         eikdlg.lib
-
-START RESOURCE ../group/bctestcmdlg_reg.rss
-DEPENDS bctestcmdlg.rsg
-HEADER
-TARGETPATH /private/10003a3f/apps
-END
-
-// End of File
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg.rss	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,637 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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:         resources for the module
-*
-*/
-
-
-
-
-
-
-
-
-
-//  RESOURCE IDENTIFIER
-NAME TEMP
-
-//  INCLUDES
-
-#include <eikon.rh>
-#include <eikon.rsg>
-#include <avkon.hrh>
-#include <avkon.mbg>
-#include <avkon.rsg>
-#include <avkon.rh>
-#include <avkonicons.hrh>
-
-#include <appinfo.rh>
-#include <commondialogs.rh>
-
-#include "bctestcmdlg.hrh"
-#include "bctestcmdlg.loc"
-
-//  CONSTANTS
-#define APP_BITMAP_DIR "\\resource\\apps"
-#define AVKON_BMP_FILENAME AVKON_ICON_FILE
-#define BCTESTCMDLG_BMP_FNAME APP_BITMAP_DIR"\\bctestcmdlg.mbm"
-#define PHONE    "C:\\Data\\"
-#define MMC      "E:\\"
-
-//  MACROS
-
-//  RESOURCE DEFINITIONS
-//-----------------------------------------------------------------------------
-//
-//    RSS_SIGNATURE
-//
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE RSS_SIGNATURE
-    {
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    TBUF16
-//
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE TBUF16
-    {
-    buf = "BCTestCmDlg";
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    EIK_APP_INFO
-//
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE EIK_APP_INFO
-    {
-    menubar = r_bctestcmdlg_menubar_main;
-    cba = r_bctestcmdlg_cba_options_next;
-    }
-
-// ---------------------------------------------------------
-//    Provide Caption and Icon Info for Scalable UI
-//
-// ---------------------------------------------------------
-//
-RESOURCE LOCALISABLE_APP_INFO r_bctestcmdlg_localisable_app_info
-    {
-    short_caption = qtn_apps_tavl_grid; 
-
-    caption_and_icon = 
-    CAPTION_AND_ICON_INFO
-        {
-        caption = qtn_apps_tavl_list; 
-        //number_of_icons = 2;
-        //icon_file = APP_BITMAP_DIR"\\bctestcmdlg_aif.mbm";
-        };
-    }
-    
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_view
-//    AVKON_VIEW for CBCTestCmDlgView
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE AVKON_VIEW r_bctestcmdlg_view
-    {
-    menubar = r_bctestcmdlg_menubar_main;
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_menubar
-//    MenuBar
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_BAR r_bctestcmdlg_menubar_main
-    {
-    titles =
-        {
-        MENU_TITLE
-            {
-            menu_pane = r_bctestcmdlg_menu;            
-            },
-        MENU_TITLE
-            {
-            menu_pane = r_bctestcmdlg_case_menu;
-            }
-        };
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_case_menu
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_case_menu
-    {
-    items = 
-        {
-        MENU_ITEM
-            {
-            cascade = r_bctestcmdlg_mem_sel_menu;
-            txt = "Test Mem select dlg";
-            },
-		MENU_ITEM
-            {
-            cascade = r_bctestcmdlg_mem_sel_page;
-            txt = "Test Mem select page";
-            },
-		MENU_ITEM
-            {
-            cascade = r_bctestcmdlg_file_sel_dlg;
-            txt = "Test File select dlg";
-            },
-		MENU_ITEM
-            {
-            cascade = r_bctestcmdlg_file_name_dlg;
-            txt = "Test File prompt dlg";
-            },
-		MENU_ITEM
-            {
-            cascade = r_bctestcmdlg_common_dlg;
-            txt = "Test common dlg";
-            },
-		MENU_ITEM
-            {
-            cascade = r_bctestcmdlg_mem_sel_setting_item;
-            txt = "Test mem select item";
-            }
-        };
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_mem_sel_menu
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_mem_sel_menu
-    {
-    items = 
-        {
-        MENU_ITEM
-            {
-            command = EBCTestCmdMemSelDlgCreate;
-            txt = "Test NewL and ExecuteL";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelDlgCreateWithRes;
-            txt = "Test NewL with Res";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelDlgWithRoot;
-            txt = "Test With Root";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelDlgQuick;
-            txt = "Test RunDlgL";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelDlgQuickTitle;
-            txt = "Test RunDlgL with title";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelDlgQuickRes;
-            txt = "Test RunDlgL with ResID";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelDlgSetting;
-            txt = "Test Settings";
-            }
-        };
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_mem_sel_page
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_mem_sel_page
-    {
-    items = 
-        {
-        MENU_ITEM
-            {
-            command = EBCTestCmdMemSelPageCreate;
-            txt = "Test NewL and ExecuteL";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelPageCreateRes;
-            txt = "Test Create with Res";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelPageQuickCreate;
-            txt = "Test Quick Create";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelPageQuickCreateTitle;
-            txt = "Test Quick Create with Title";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelPageQuickCreateRes;
-            txt = "Test Quick Create with Res";
-            }
-        };
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_file_sel_dlg
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_file_sel_dlg
-    {
-    items = 
-        {
-        MENU_ITEM
-            {
-            command = EBCTestCmdFileSelDlgCreate;
-            txt = "Test NewL and ExecuteL";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileSelDlgCreateRes;
-            txt = "Test Create with ResID";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileSelDlgQuickCreate;
-            txt = "Test Quick Create";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileSelDlgQuickCreateTitle;
-            txt = "Test Quick Create with Title";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileSelDlgQuickCreateRes;
-            txt = "Test Quick Create with Res";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileSelDlgSettings;
-            txt = "Test Settings";
-            }
-        };
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_file_name_dlg
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_file_name_dlg
-    {
-    items = 
-        {
-        MENU_ITEM
-            {
-            command = EBCTestCmdFileNameDlgCreate;
-            txt = "Test NewL and ExecuteL";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileNameDlgCreateRes;
-            txt = "Test Create with ResID";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileNameDlgQuickCreate;
-            txt = "Test Quick Create";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileNameDlgQuickCreateTitle;
-            txt = "Test Quick Create with Title";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileNameDlgQuickCreateRes;
-            txt = "Test Quick Create with Res";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileNameDlgSettings;
-            txt = "Test Settings";
-            }
-        };
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_file_name_dlg
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_mem_sel_setting_item
-    {
-    items = 
-        {
-        MENU_ITEM
-            {
-            command = EBCTestCmdMemSelSettingItemCreate;
-            txt = "Test Create";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelSettingItemEdit;
-            txt = "Test Edit";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelSettingItemStore;
-            txt = "Test Quick Create";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelSettingItemSetting;
-            txt = "Test Setting";
-            }
-        };
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_common_dlg
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_common_dlg
-    {
-    items = 
-        {
-		//select
-        MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect1;
-            txt = "Test Select 1";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect2;
-            txt = "Test Select 2";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect3;
-            txt = "Test Select 3";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect4;
-            txt = "Test Select 4";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect5;
-            txt = "Test Select 5";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect6;
-            txt = "Test Select 6";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect7;
-            txt = "Test Select 7";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect8;
-            txt = "Test Select 8";
-            },
-		//move
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgMove1;
-            txt = "Test Move 1";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgMove2;
-            txt = "Test Move 2";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgMove3;
-            txt = "Test Move 3";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgMove4;
-            txt = "Test Move 4";
-            },
-		//save
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSave1;
-            txt = "Test Save 1";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSave2;
-            txt = "Test Save 2";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSave3;
-            txt = "Test Save 3";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSave4;
-            txt = "Test Save 4";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSave5;
-            txt = "Test Save 5";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSave6;
-            txt = "Test Save 6";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSave7;
-            txt = "Test Save 7";
-            },
-		//copy
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgCopy1;
-            txt = "Test Copy 1";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgCopy2;
-            txt = "Test Copy 2";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgCopy3;
-            txt = "Test Copy 3";
-            }
-        };
-    }
-
-
-
-
-            
-            
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_menu
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_menu
-    {
-    items =
-        {
-        MENU_ITEM
-            {
-            command = EProgCmdAutoTest;
-            txt = qtn_bctestcmdlg_autotest;
-            },
-        MENU_ITEM // Menu "Exit"
-            {
-            command = EAknCmdExit;
-            txt = qtn_bctestcmdlg_menu_exit;
-            }
-        };
-    }
-
-// ----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_cba_options_next
-//    ?description
-//
-// ----------------------------------------------------------------------------
-//
-
-RESOURCE CBA r_bctestcmdlg_cba_options_next
-    {
-    buttons =
-	{
-	CBA_BUTTON 
-	    {
-	    id=EAknSoftkeyOptions; 
-	    txt = text_softkey_option;
-	    },
-        AVKON_CBA_BUTTON
-            {
-            id = EBCTestCmDlgCbaCmdNext;
-            txt = qtn_bctestcmdlg_cba_next;
-            }
-	};
-    }
-
-RESOURCE MEMORYSELECTIONDIALOG r_bctest_memory_selection_locations
-	{
-	locations =
-		{
-		LOCATION { root_path = PHONE; },
-		LOCATION { root_path = MMC; }
-		};
-	}
-
-RESOURCE FILESELECTIONDIALOG r_bctest_file_selection_all
-	{
-	title = "resTitle";
-	softkey_1_file = "resSk1";
-	softkey_1_folder = "resSk2";
-	softkey_2_root_level = "resSk3";
-	softkey_2_subfolder = "resSk4";
-	root_path = "C:\\Data\\";
-	default_folder = "Sounds\\";
-	}
-
-RESOURCE MENU_BAR r_vr_settings_menubar
-	{
-	titles=
-		{
-		MENU_TITLE { menu_pane = r_vr_settings_menupane; }
-		};
-	}
-
-RESOURCE MENU_PANE r_vr_settings_menupane
-	{
-	items=
-		{
-		MENU_ITEM { command = ECmdChange;		txt = "change"; }
-		};
-	}
-
-RESOURCE TBUF r_qtn_vorec_set_store { buf = "set store"; }
-
-RESOURCE DIALOG r_vr_settings_dialog
-	{
-	buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
-	flags = EEikDialogFlagWait | EEikDialogFlagNoDrag
-			| EEikDialogFlagCbaButtons | EEikDialogFlagNoTitleBar
-			| EEikDialogFlagFillAppClientRect;
-	items =
-		{
-		DLG_LINE
-			{
-			type = EAknCtSettingListBox;
-			id = EVRSettingsListboxId;
-			itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
-			control = LISTBOX
-				{
-				flags = EAknListBoxSelectionList;
-				};
-			}
-		};
-	}
-// End of File
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg_reg.rss	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-/*
-* Copyright (c) 2009 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:       
-*
-*/
-
-
-
-
-
-
-
-#include <appinfo.rh>
-#include <bctestcmdlg.rsg>
-
-UID2 KUidAppRegistrationResourceFile
-UID3 0x2000475D // application UID
-
-RESOURCE APP_REGISTRATION_INFO
-    {
-    app_file = "bctestcmdlg";
-    localisable_resource_file = "\\resource\\apps\\bctestcmdlg";
-    localisable_resource_id = R_BCTESTCMDLG_LOCALISABLE_APP_INFO;
-    hidden = KAppIsHidden;
-    embeddability = KAppNotEmbeddable;
-    group_name = "BCTest";
-    }
-
-// End of File
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/group/bld.inf	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-/*
-* Copyright (c) 2003-2009 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:         build information
-*
-*/
-
-
-
-
-
-
-
-
-
-
-
-PRJ_MMPFILES
-
-bctestcmdlg.mmp
-
-// End of File
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/CVRSettingsDialogMMCSupported.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,107 +0,0 @@
-/*
-* Copyright (c) 2009 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 __CVRSETTINGSDIALOG_H__
-#define __CVRSETTINGSDIALOG_H__
-
-//	INCLUDES
-#include <akndialog.h>
-#include <eiklbo.h>
-
-#include <CAknMemorySelectionDialog.h>
-#include <aknsettingitemlist.h>
-
-// CLASS DECLARATION
-
-/**
-* This class defines a settings dialog for the Voice Recorder application.
-*/
-class CVRSettingsDialog
-	: public CAknDialog,
-	  public MEikListBoxObserver
-	{
-
-	public:  // Constructors and destructor
-		
-		/**
-		* Destructor.
-		*/
-		~CVRSettingsDialog();
-
-		/**
-		* Two-phased constructor.
-		*/
-		static CVRSettingsDialog* NewL();
-		
-	private: // Constructors
-
-		/**
-        * Default constructor. Inlined to save a few bytes.
-		* Parameters to array: granularity, isnumered, 1st ordinal
-        */
-		inline CVRSettingsDialog() : iSettingItemArray( 1, EFalse, 1 ) {}
-	
-	protected: // from CEikDialog
-
-		/**
-		* Tests if it is OK to exit the dialog.
-		* @param aButtonId The ID of the button that was activated.
-		* @return ETrue to validate and exit the dialog,
-		*         EFalse to keep the dialog active. 
-		*/
-		TBool OkToExitL( TInt aButtonId );
-
-		/**
-		* Pre-layout dialog initialisation.
-		*/
-		void PreLayoutDynInitL();
-
-		void ProcessCommandL( TInt aCommandId );
-		
-
-	public: // From MEikListBoxObserver
-
-		/**
-		* Handles list box events.
-		* This is invoked by CEikListBox to notify the observer of
-		* list box events.
-		* @param aListBox The originating list box.
-		* @param aEventType A code for the event.
-		*/
-		void HandleListBoxEventL( CEikListBox* aListBox,
-								  TListBoxEvent aEventType );
-
-   private:    // data
-
-		/**
-		* Array of setting items contained in the listbox. Owned.
-		*/
-		CAknSettingItemArray iSettingItemArray;
-
-		/**
-		* Selected memo store
-		*/
-		CAknMemorySelectionDialog::TMemory iMemoStore;
-	};
-
-#endif	// __CVRSETTINGSDIALOG_H__
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/StreamLogger.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,131 +0,0 @@
-/*
-* Copyright (c) 2009 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:       
-*
-*/
-
-
-
-
-
-
-
-//
-// just for simple use,
-// this file doesn't following any code convensions or symbian rules.
-//
-
-#ifndef __DLL_LOGGER_H__
-#define __DLL_LOGGER_H__
-
-#include <f32file.h>  // link against efsrv.lib
-#include <eikenv.h>
-
-#define CERR    StreamLogger::begin()
-
-/**
-* usage: StreamLogger::begin()<<"your string"<<yourNumber<<...<<end;
-*/
-class StreamLogger{
-
-    //
-    // internel class
-    // use RAII instead of symbian 2 phases contruction.
-    //
-    class LogFile{
-    public:
-        LogFile()
-        {
-            _LIT( KLogFile, "C:\\debug.log" );
-            RFs& fs = CEikonEnv::Static()->FsSession();
-            if ( file.Open( fs, KLogFile, EFileWrite | EFileShareAny ) != KErrNone )
-                file.Create( fs, KLogFile, EFileWrite | EFileShareAny );
-
-            TInt pos=0;  // this must be 0
-            file.Seek( ESeekEnd, pos );
-        }
-
-        ~LogFile(){
-            file.Close();
-        }
-
-        RFile& operator()(){ return file; }
-    private:
-        RFile file;
-    };
-
-public:
-    ~StreamLogger(){}
-
-    static StreamLogger& begin(){
-        StreamLogger* self = new (ELeave) StreamLogger;
-        return *self;
-    }
-
-    void suicide(){ delete this; }
-
-    StreamLogger& operator<<(const TDesC& aText){
-        LogFile file;
-
-        HBufC8* text = HBufC8::NewL( aText.Length() );
-        TPtr8 textPtr = text->Des();
-        textPtr.Copy( aText );
-        file().Write( *text );
-        delete text;
-
-        return *this;
-    }
-
-    StreamLogger& operator<<(TInt n){
-        LogFile file;
-
-        TInt i=1;
-        for(TInt v=n; v!=0; ++i, v/=10){}
-        HBufC* text = HBufC::NewL( i );
-        TPtr textPtr = text->Des();
-
-        _LIT(KFmt, "%d");
-        textPtr.Format( KFmt, n );
-        HBufC8*  text8 = HBufC8::NewL( textPtr.Length() );
-        TPtr8 textPtr8 = text8->Des();
-        textPtr8.Copy(*text);
-
-        file().Write( *text8 );
-        delete text;
-        delete text8;
-
-        return *this;
-    }
-
-    StreamLogger& cr(){
-        LogFile file;
-        TBuf8<2> enter;
-        enter.Append( 13 );
-        enter.Append( 10 );
-        file().Write( enter );
-        return *this;
-    }
-
-    typedef StreamLogger& (*_Manipulator)(StreamLogger&);
-    StreamLogger& operator<<(_Manipulator op){ return op(*this); }
-
-private:
-    StreamLogger(){}    //disable ctor
-};
-
-inline StreamLogger& end(StreamLogger& self){ self.suicide(); return self; }
-
-inline StreamLogger& endl(StreamLogger& self){ self.cr(); return self; }
-
-#endif //__FILE_LOGGER_H__
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlg.hrh	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,167 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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:         BCTestCmDlg resource header file
-*
-*/
-
-
-
-
-
-
-
-
-
-#ifndef BCTESTCMDLG_HRH
-#define BCTESTCMDLG_HRH
-
-enum TBCTestCmDlgMenuCommands
-    {
-    EBCTestCmdEmptyOutline = 0x6000,
-
-	EBCTestCmdMemSelDlgBegin,
-    EBCTestCmdMemSelDlgCreate,
-	EBCTestCmdMemSelDlgCreateWithRes,
-	EBCTestCmdMemSelDlgWithRoot,
-	EBCTestCmdMemSelDlgQuick,
-	EBCTestCmdMemSelDlgQuickTitle,
-	EBCTestCmdMemSelDlgQuickRes,
-	EBCTestCmdMemSelDlgSetting,
-	EBCTestCmdMemSelDlgEnd,
-
-	EBCTestCmdMemSelPageBegin,
-	EBCTestCmdMemSelPageCreate,
-	EBCTestCmdMemSelPageCreateRes,
-	EBCTestCmdMemSelPageQuickCreate,
-	EBCTestCmdMemSelPageQuickCreateTitle,
-	EBCTestCmdMemSelPageQuickCreateRes,
-	EBCTestCmdMemSelPageEnd,
-
-	EBCTestCmdFileSelDlgBegin,
-	EBCTestCmdFileSelDlgCreate,
-	EBCTestCmdFileSelDlgCreateRes,
-	EBCTestCmdFileSelDlgQuickCreate,
-	EBCTestCmdFileSelDlgQuickCreateTitle,
-	EBCTestCmdFileSelDlgQuickCreateRes,
-	EBCTestCmdFileSelDlgSettings,
-	EBCTestCmdFileSelDlgEnd,
-
-	EBCTestCmdFileNameDlgBegin,
-	EBCTestCmdFileNameDlgCreate,
-	EBCTestCmdFileNameDlgCreateRes,
-	EBCTestCmdFileNameDlgQuickCreate,
-	EBCTestCmdFileNameDlgQuickCreateTitle,
-	EBCTestCmdFileNameDlgQuickCreateRes,
-	EBCTestCmdFileNameDlgSettings,
-	EBCTestCmdFileNameDlgEnd,
-
-	EBCTestCmdCommonDlgBegin,
-	//select
-	EBCTestCmdCommonDlgSelect1,
-	EBCTestCmdCommonDlgSelect2,
-	EBCTestCmdCommonDlgSelect3,
-	EBCTestCmdCommonDlgSelect4,
-	EBCTestCmdCommonDlgSelect5,
-	EBCTestCmdCommonDlgSelect6,
-	EBCTestCmdCommonDlgSelect7,
-	EBCTestCmdCommonDlgSelect8,
-
-	//move
-	EBCTestCmdCommonDlgMove1,
-	EBCTestCmdCommonDlgMove2,
-	EBCTestCmdCommonDlgMove3,
-	EBCTestCmdCommonDlgMove4,
-
-	//save
-	EBCTestCmdCommonDlgSave1,
-	EBCTestCmdCommonDlgSave2,
-	EBCTestCmdCommonDlgSave3,
-	EBCTestCmdCommonDlgSave4,
-	EBCTestCmdCommonDlgSave5,
-	EBCTestCmdCommonDlgSave6,
-	EBCTestCmdCommonDlgSave7,
-
-	//copy
-	EBCTestCmdCommonDlgCopy1,
-	EBCTestCmdCommonDlgCopy2,
-	EBCTestCmdCommonDlgCopy3,
-	//
-	EBCTestCmdCommonDlgEnd,
-
-
-    
-
-
-
-
-    
-
-
-	EBCTestCmdMemSelSettingItemBegin,
-	EBCTestCmdMemSelSettingItemCreate,
-	EBCTestCmdMemSelSettingItemEdit,
-	EBCTestCmdMemSelSettingItemStore,
-	EBCTestCmdMemSelSettingItemSetting,
-	EBCTestCmdMemSelSettingItemEnd,
-
-    EBCTestCmdMaxOutline,
-    EProgCmdAutoTest
-    };
-
-enum TBCTestCmDlgCba
-    {
-    EBCTestCmDlgCbaCmdNext = 0x6300
-    };
-
-enum TVRDialogIds
-	{
-	EVRSettingsListboxId = 1	//Dialog control ID can't be zero
-	};
-
-enum TVRCommands
-	{
-	ECmdPlay = 100,			// Don't override EIKON IDs..
-	ECmdPause,
-	ECmdStop,
-	ECmdAutoStopInterrupted,
-	ECmdAutoStopAtEnd,
-	ECmdSilentStop,
-	ECmdRecord,
-	ECmdRewind,
-	ECmdForward,
-	ECmdRecordNew,
-	ECmdOpen,
-	ECmdDelete,
-	ECmdAddToPinboard,
-	ECmdRename,
-	ECmdSaveAttachment,
-	ECmdOk,
-	ECmdCancel,
-	ECmdSettings,
-	ECmdEditListCascade,
-	ECmdChange,
-	ECmdHelp,
-	ECmdGoToGallery,
-	ECmdEndKey,
-	ECmdCancelNote,
-	ECmdEmbeddedRecordingReady,
-	ECmdDisconnectCall,
-	ECmdNewFileServiceNotify,
-
-	ECmdSendVia			// This MUST be the last entry
-	};
-
-#endif // BCTESTCMDLG_HRH
-
-// End of File
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlg.loc	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-/*
-* Copyright (c) 2002-2009 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:         BCTestCmDlg localise file
-*
-*/
-
-
-
-
-
-
-
-
-
-//  LOCALISATION STRINGS
-
-// Caption
-#define qtn_apps_tavl_list              "BCTESTCMDLG"
-#define qtn_apps_tavl_grid              "BCTESTCMDLG"
-
-// MenuBar
-#define qtn_bctestcmdlg_menubar         "Option"
-#define qtn_bctestcmdlg_cba_next        "Next"
-#define qtn_bctestcmdlg_autotest        "Autotest"
-#define qtn_bctestcmdlg_menu_exit       "Exit"
-
-// softkey
-#define text_softkey_option "Options"
-
-// outline 
-#define qtn_bctestcmdlg_outline1     "Outline01"
-
-
-#define qtn_bctestvolume_label_outline06 \
-"Press 2/8 <-, ->\nor side volume keys\nto see AknVolumePopup\n0,1 to change label"
-
-// Application name
-#define qtn_bctestvolume_text_other_app_name     "BCTestSoftkey"
-// End of File
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgapp.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-/*
-* Copyright (c) 2002-2009 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:         Declares main application class.
-*
-*/
-
-
-
-
-
-
-
-
-
-#ifndef BCTESTCMDLGAPP_H
-#define BCTESTCMDLGAPP_H
-
-// INCLUDES
-#include <aknapp.h>
-
-// CONSTANTS
-const TUid KUidBCTestCmDlg = { 0x2000475D }; // UID of the application.
-
-// CLASS DECLARATION
-
-/**
-* CBCTestCmDlgApp application class.
-* Provides factory to create concrete document object.
-*/
-class CBCTestCmDlgApp : public CAknApplication
-    {
-    private: // From CApaApplication
-
-        /**
-        * From CApaApplication, CreateDocumentL.
-        * Creates CBCTestCmDlgDocument document object.
-        * @return A pointer to the created document object.
-        */
-        CApaDocument* CreateDocumentL();
-
-        /**
-        * From CApaApplication, AppDllUid.
-        * Returns application's UID ( KUidBCTestCmDlg ).
-        * @return The value of KUidBCTestCmDlg.
-        */
-        TUid AppDllUid() const;
-
-    };
-
-#endif
-
-// End of File
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgappUi.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 BC for Template control API.
-*
-*/
-
-
-
-
-
-
-
-
-
-#ifndef C_BCTESTCMDLGAPPUI_H
-#define C_BCTESTCMDLGAPPUI_H
-
-#include <aknviewappui.h>
-
-class CBCTestCmDlgView;
-
-/**
- *  Application UI class
- *
- *  @lib bctestutil.lib
- */
-class CBCTestCmDlgAppUi : public CAknViewAppUi
-    {
-    public: // Constructors and destructor
-
-        /**
-         * ctor
-         */
-        CBCTestCmDlgAppUi();
-
-        /**
-         * symbian 2nd ctor
-         */
-        void ConstructL();
-
-        /**
-         * dtor
-         */
-        virtual ~CBCTestCmDlgAppUi();
-
-    private:
-
-        /**
-         * From CEikAppUi
-         */
-        void HandleCommandL( TInt aCommand );
-
-    private: // data
-        
-        /**
-         * pointor to the view.
-         * own
-         */
-        CBCTestCmDlgView*  iView;
-    };
-
-#endif // C_BCTESTCMDLGAPPUI_H
-
-// End of File
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgcase.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,110 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 case
-*
-*/
-
-
-
-
-
-
-
-
-
-#ifndef BCTEST_CMDLG_CASE_H
-#define BCTEST_CMDLG_CASE_H
-
-#include <caknmemoryselectiondialog.h>
-#include "bctestcase.h"
-
-class CBCTestCmDlgContainer;
-class CCoeControl;
-
-/**
-* test case for various list classes
-*/
-class CBCTestCmDlgCase: public CBCTestCase
-    {
-public: // constructor and destructor
-    
-    /**
-    * Symbian 2nd static constructor
-    */
-    static CBCTestCmDlgCase* NewL();
-    
-    /**
-    * Destructor
-    */
-    virtual ~CBCTestCmDlgCase();
-    
-public: // from CBCTestCase
-    
-    /**
-    * Execute corresponding test functions for UI command
-    * @param aCmd, UI command
-    */
-    void RunL( TInt aCmd );
-
-protected: // new functions
-    
-    /**
-    * Build autotest script
-    */
-    void BuildScriptL();
-    
-    /**
-     * Create control or allocate resource for test
-     * @param aCmd UI command, maybe you need to do some work 
-     * for different outline
-     */
-    
-    /**
-     * Release resource used in test
-     */
-    void Teardown();
-    
-    /**
-     * Test functions
-     */
-        
-private: // constructor
-    
-    /**
-     * C++ default constructor
-     */
-    CBCTestCmDlgCase();
-    
-    /**
-     * Symbian 2nd constructor
-     */
-    void ConstructL();
-    
-private: // data
-    void TestSettingsL();
-    void TestQuickCreateL(TInt aResID);
-    void TestQuickCreateL(const TDesC& aTitle);
-    void TestWithRootL();
-    void TestCreateL(TInt aResID);
-    void SetupL();
-    void AddCancelL();
-    void AddOKL();
-    void TestQuickCreateL();
-    void TestCreateL();
-
-	CAknMemorySelectionDialog* iDlg;
-	CAknMemorySelectionDialog::TMemory iMemory;
-    };
-
-#endif // BCTEST_CMDLG_CASE_H
\ No newline at end of file
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgcontainer.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,97 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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:         container
-*
-*/
-
-
-
-
-
-
-
-
-#ifndef BCTEST_CMDLG_CONTAINER_H
-#define BCTEST_CMDLG_CONTAINER_H
-
-#include <coecntrl.h>
-
-/**
-* container class
-*/
-class CBCTestCmDlgContainer: public CCoeControl
-    {
-public: // constructor and destructor
-    
-    /**
-     * C++ default constructor
-     */
-    CBCTestCmDlgContainer();
-    
-    /**
-     * Destructor
-     */
-    virtual ~CBCTestCmDlgContainer();
-    
-    /**
-     * Symbian 2nd constructor
-     */
-    void ConstructL( const TRect& aRect );
-    
-public: // new functions
-    
-    /**
-    * Set component control, and container will own the control
-    * @param aControl pointer to a control.
-    */
-    void SetControl( CCoeControl* aControl ); 
-    
-    /**
-     * Delete control
-     */
-    void ResetControl();
-
-public: // from CCoeControl
-
-    /**
-     * Return count of component controls
-     */
-    TInt CountComponentControls() const;
-    
-    /**
-     * Return pointer to component control specified by index
-     * @param aIndex, a index to specify a component control
-     */
-    CCoeControl* ComponentControl( TInt aIndex ) const;
-
-private: // from CCoeControl    
-    
-    /**
-    * From CCoeControl, Draw.
-    * Fills the window's rectangle.
-    * @param aRect Region of the control to be (re)drawn.
-    */
-    void Draw( const TRect& aRect ) const;  
-    
-private: // data
-    
-    /**
-     * Pointer to component control.
-     * own
-     */
-    CCoeControl* iControl;  
-    
-    };    
-
-#endif // BCTEST_CMDLG_CONTAINER_H
\ No newline at end of file
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgdocument.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 C_BCTEST_CMDLG_DOCUMENT_H
-#define C_BCTEST_CMDLG_DOCUMENT_H
-
-// INCLUDES
-#include <eikdoc.h>
-
-// CONSTANTS
-
-// FORWARD DECLARATIONS
-class  CEikAppUi;
-
-// CLASS DECLARATION
-
-/**
-* CBCTestCmDlgDocument application class.
-*/
-class CBCTestCmDlgDocument : public CEikDocument
-    {
-    public: // Constructors and destructor
-
-        /**
-        * Symbian OS two-phased constructor.
-        * @return Pointer to created Document class object.
-        * @param aApp Reference to Application class object.
-        */
-        static CBCTestCmDlgDocument* NewL( CEikApplication& aApp );
-
-        /**
-        * Destructor.
-        */
-        virtual ~CBCTestCmDlgDocument();
-
-    private: // Constructors
-
-        /**
-        * Overload constructor.
-        * @param aApp Reference to Application class object.
-        */
-        CBCTestCmDlgDocument( CEikApplication& aApp );
-
-    private: // From CEikDocument
-
-        /**
-        * From CEikDocument, CreateAppUiL.
-        * Creates CBCTestTemplateAppUi "App UI" object.
-        * @return Pointer to created AppUi class object.
-        */
-        CEikAppUi* CreateAppUiL();
-
-    };
-
-#endif  // C_BCTEST_CMDLG_DOCUMENT_H
-
-// End of File
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgview.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,110 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 BC for Template control API.
-*
-*/
-
-
-
-
-
-
-
-
-
-#ifndef BCTEST_CMDLG_VIEW_H
-#define BCTEST_CMDLG_VIEW_H
-
-#include <aknview.h>
-
-const TUid KBCTestCmDlgViewId = { 1 };
-
-class CBCTestCmDlgContainer;
-class CBCTestUtil;
-
-/**
- *  Application UI class
- *
- *  @lib bctestutil.lib
- */
-class CBCTestCmDlgView : public CAknView
-    {
-public: // Constructors and destructor
-
-    /**
-     * Symbian static 2nd constructor
-     */
-    static CBCTestCmDlgView* NewL();
-    
-    /**
-     * dtor
-     */
-    virtual ~CBCTestCmDlgView();
-
-public: // from CAknView
-    
-    /**
-     * Return view Id.
-     */
-    TUid Id() const;
-    
-    /**
-    * From CAknView, HandleCommandL.
-    * @param aCommand Command to be handled.
-    */
-    void HandleCommandL( TInt aCommand );
-    
-protected: // from CAknView
-    
-    /**
-     * When view is activated, do something
-     */
-    void DoActivateL( const TVwsViewId&, TUid, const TDesC8& );
-    
-    /**
-     * When view is deactivated, do something
-     */
-    void DoDeactivate();
-
-private: // constructor
-
-    /**
-     * C++ default constructor
-     */
-    CBCTestCmDlgView();
-
-    /**
-     * symbian 2nd ctor
-     */
-    void ConstructL();
-
-private: // data
-
-    /**
-     * pointor to the BC Test framework utility.
-     * own
-     */
-    CBCTestUtil*  iTestUtil;
-
-    /**
-     * pointor to the container.
-     * own
-     */
-    CBCTestCmDlgContainer*  iContainer;
-
-    };
-
-#endif // BCTEST_CMDLG_VIEW_H
-
-// End of File
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestcommondlg.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,134 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 case
-*
-*/
-
-
-
-
-
-
-
-
-
-#ifndef BCTEST_COMMON_DLG_H
-#define BCTEST_COMMON_DLG_H
-
-#include "bctestcase.h"
-
-class MAknFileFilter;
-
-/**
-* test case for various list classes
-*/
-class CBCTestCommonDlg: public CBCTestCase
-    {
-public: // constructor and destructor
-    
-    /**
-    * Symbian 2nd static constructor
-    */
-    static CBCTestCommonDlg* NewL();
-    
-    /**
-    * Destructor
-    */
-    virtual ~CBCTestCommonDlg();
-    
-public: // from CBCTestCase
-    
-    /**
-    * Execute corresponding test functions for UI command
-    * @param aCmd, UI command
-    */
-    void RunL( TInt aCmd );
-
-protected: // new functions
-    
-    /**
-    * Build autotest script
-    */
-    void BuildScriptL();
-    
-    /**
-     * Create control or allocate resource for test
-     * @param aCmd UI command, maybe you need to do some work 
-     * for different outline
-     */
-    
-    /**
-     * Release resource used in test
-     */
-    void Teardown();
-    
-    /**
-     * Test functions
-     */
-        
-private: // constructor
-    
-    /**
-     * C++ default constructor
-     */
-    CBCTestCommonDlg();
-    
-    /**
-     * Symbian 2nd constructor
-     */
-    void ConstructL();
-    
-private: // data
-    void RunCopyL(TInt aCmd);
-    void RunSaveL(TInt aCmd);
-    void RunMoveL(TInt aCmd);
-    void RunSelectL(TInt aCmd);
-
-    void BuildCopyScriptL(int i);
-    void BuildSaveScriptL(int i);
-    void BuildMoveScriptL(int i);
-    void BuildSelectScriptL(int i);
-
-    void SetupL();
-    void AddCancelL();
-    void AddOKL();
-    
-    void TestSelectL();
-    void TestSelectL(const TDesC& aTitle);
-    void TestSelectL(MAknFileFilter* aFilter);
-    void TestSelectL(TInt aFileSelResID);
-    void TestSelectL(const TDesC& aStartFolder, TInt aMemSelResID);
-    void TestSelectL(const TDesC& aStartFolder, MAknFileFilter* aFilter);
-    void TestSelectL(const TDesC& aStartFolder, TInt aMemSelResID, TInt aFileSelResID);
-    void TestSelectL(const TDesC& aStartFolder, const TDesC& aTitle);
-
-    void TestMoveL(TInt aFileSelResID);
-    void TestMoveL(MAknFileFilter* aFilter);
-    void TestMoveL(const TDesC& aTitle);
-    void TestMoveL();
-
-    void TestSaveL(TBool aDirFlag, TInt aMemSelResID, const TDesC& aPrompt);
-    void TestSaveL(TBool aDirFlag, TInt aMemSelResID);
-    void TestSaveL(TInt aFileSelResID, const TDesC& aPrompt);
-    void TestSaveL(TInt aFileSelResID);
-    void TestSaveL(const TDesC& aFileTitle, const TDesC& aPromptTitle);
-    void TestSaveL(MAknFileFilter* aFilter);
-    void TestSaveL();
-
-    void TestCopyL(TInt aFileSelResID);
-    void TestCopyL(MAknFileFilter* aFilter);
-    void TestCopyL();
-    };
-
-#endif // BCTEST_COMMON_DLG_H
\ No newline at end of file
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestfilenamedlg.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,106 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 case
-*
-*/
-
-
-
-
-
-
-
-
-
-#ifndef BCTEST_FILE_NAME_DLG_H
-#define BCTEST_FILE_NAME_DLG_H
-
-#include "bctestcase.h"
-
-class CAknFileNamePromptDialog;
-
-/**
-* test case for various list classes
-*/
-class CBCTestFileNameDlg: public CBCTestCase
-    {
-public: // constructor and destructor
-    
-    /**
-    * Symbian 2nd static constructor
-    */
-    static CBCTestFileNameDlg* NewL();
-    
-    /**
-    * Destructor
-    */
-    virtual ~CBCTestFileNameDlg();
-    
-public: // from CBCTestCase
-    
-    /**
-    * Execute corresponding test functions for UI command
-    * @param aCmd, UI command
-    */
-    void RunL( TInt aCmd );
-
-protected: // new functions
-    
-    /**
-    * Build autotest script
-    */
-    void BuildScriptL();
-    
-    /**
-     * Create control or allocate resource for test
-     * @param aCmd UI command, maybe you need to do some work 
-     * for different outline
-     */
-    
-    /**
-     * Release resource used in test
-     */
-    void Teardown();
-    
-    /**
-     * Test functions
-     */
-        
-private: // constructor
-    
-    /**
-     * C++ default constructor
-     */
-    CBCTestFileNameDlg();
-    
-    /**
-     * Symbian 2nd constructor
-     */
-    void ConstructL();
-    
-private: // data
-	    void TestSettingsL();
-	    void TestQuickCreateL(TInt aResID);
-	    void TestQuickCreateL(const TDesC& aTitle);
-	    void TestCreateL(TInt aResID);
-	    void SetupL();
-	    void AddCancelL();
-	    void AddOKL();
-	    void TestQuickCreateL();
-	    void TestCreateL();
-    
-	CAknFileNamePromptDialog* iDlg;
-    };
-
-#endif // BCTEST_FILE_NAME_DLG_H
\ No newline at end of file
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestfileseldlg.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,107 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 case
-*
-*/
-
-
-
-
-
-
-
-
-
-#ifndef BCTEST_FILE_SEL_DLG_H
-#define BCTEST_FILE_SEL_DLG_H
-
-#include <caknfileselectiondialog.h>
-#include "bctestcase.h"
-
-class CCoeControl;
-
-/**
-* test case for various list classes
-*/
-class CBCTestFileSelDlg: public CBCTestCase
-    {
-public: // constructor and destructor
-    
-    /**
-    * Symbian 2nd static constructor
-    */
-    static CBCTestFileSelDlg* NewL();
-    
-    /**
-    * Destructor
-    */
-    virtual ~CBCTestFileSelDlg();
-    
-public: // from CBCTestCase
-    
-    /**
-    * Execute corresponding test functions for UI command
-    * @param aCmd, UI command
-    */
-    void RunL( TInt aCmd );
-
-protected: // new functions
-    
-    /**
-    * Build autotest script
-    */
-    void BuildScriptL();
-    
-    /**
-     * Create control or allocate resource for test
-     * @param aCmd UI command, maybe you need to do some work 
-     * for different outline
-     */
-    
-    /**
-     * Release resource used in test
-     */
-    void Teardown();
-    
-    /**
-     * Test functions
-     */
-        
-private: // constructor
-    
-    /**
-     * C++ default constructor
-     */
-    CBCTestFileSelDlg();
-    
-    /**
-     * Symbian 2nd constructor
-     */
-    void ConstructL();
-    
-private: // data
-	    void TestSettingsL();
-	    void TestQuickCreateL(TInt aResID);
-	    void TestQuickCreateL(const TDesC& aTitle);
-	    void TestCreateL(TInt aResID);
-	    void SetupL();
-	    void AddCancelL();
-	    void AddOKL();
-	    void TestQuickCreateL();
-	    void TestCreateL();
-    
-	CAknFileSelectionDialog* iDlg;
-    };
-
-#endif // BCTEST_FILE_SEL_DLG_H
\ No newline at end of file
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestmemselitem.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,105 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 case
-*
-*/
-
-
-
-
-
-
-
-
-
-#ifndef BCTEST_MEM_SEL_SETTING_ITEM_H
-#define BCTEST_MEM_SEL_SETTING_ITEM_H
-
-#include <caknmemoryselectionsettingitem.h>
-#include "bctestcase.h"
-
-/**
-* test case for various list classes
-*/
-class CBCTestMemSelSettingItem: public CBCTestCase
-    {
-public: // constructor and destructor
-    
-    /**
-    * Symbian 2nd static constructor
-    */
-    static CBCTestMemSelSettingItem* NewL();
-    
-    /**
-    * Destructor
-    */
-    virtual ~CBCTestMemSelSettingItem();
-    
-public: // from CBCTestCase
-    
-    /**
-    * Execute corresponding test functions for UI command
-    * @param aCmd, UI command
-    */
-    void RunL( TInt aCmd );
-
-protected: // new functions
-    
-    /**
-    * Build autotest script
-    */
-    void BuildScriptL();
-    
-    /**
-     * Create control or allocate resource for test
-     * @param aCmd UI command, maybe you need to do some work 
-     * for different outline
-     */
-    
-    /**
-     * Release resource used in test
-     */
-    void Teardown();
-    
-    /**
-     * Test functions
-     */
-        
-private: // constructor
-    
-    /**
-     * C++ default constructor
-     */
-    CBCTestMemSelSettingItem();
-    
-    /**
-     * Symbian 2nd constructor
-     */
-    void ConstructL();
-    
-	void SetupL();
-	void AddCancelL();
-	void AddOKL();
-	
-	void TestCreateL();
-	void TestEditL();
-	void TestStoreL();
-	void TestSettingL();
-
-private: // data
-	CAknMemorySelectionSettingPage::TMemory iMemory;
-	CAknMemorySelectionSettingItem* iItem;
-    };
-
-#endif // BCTEST_MEM_SEL_SETTING_ITEM_H
\ No newline at end of file
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/bctestmemselpage.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,108 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 case
-*
-*/
-
-
-
-
-
-
-
-
-
-#ifndef BCTEST_MEM_SEL_SETTING_PAGE_H
-#define BCTEST_MEM_SEL_SETTING_PAGE_H
-
-#include <caknmemoryselectionsettingpage.h>
-#include "bctestcase.h"
-
-class CBCTestCmDlgContainer;
-class CCoeControl;
-
-/**
-* test case for various list classes
-*/
-class CBCTestMemSelSettingPage: public CBCTestCase
-    {
-public: // constructor and destructor
-    
-    /**
-    * Symbian 2nd static constructor
-    */
-    static CBCTestMemSelSettingPage* NewL();
-    
-    /**
-    * Destructor
-    */
-    virtual ~CBCTestMemSelSettingPage();
-    
-public: // from CBCTestCase
-    
-    /**
-    * Execute corresponding test functions for UI command
-    * @param aCmd, UI command
-    */
-    void RunL( TInt aCmd );
-
-protected: // new functions
-    
-    /**
-    * Build autotest script
-    */
-    void BuildScriptL();
-    
-    /**
-     * Create control or allocate resource for test
-     * @param aCmd UI command, maybe you need to do some work 
-     * for different outline
-     */
-    
-    /**
-     * Release resource used in test
-     */
-    void Teardown();
-    
-    /**
-     * Test functions
-     */
-        
-private: // constructor
-    
-    /**
-     * C++ default constructor
-     */
-    CBCTestMemSelSettingPage();
-    
-    /**
-     * Symbian 2nd constructor
-     */
-    void ConstructL();
-    
-private: // data
-	    void TestQuickCreateL(TInt aResID);
-	    void TestQuickCreateL(const TDesC& aTitle);
-	    void TestCreateL(TInt aResID);
-	    void SetupL();
-	    void AddCancelL();
-	    void AddOKL();
-	    void TestQuickCreateL();
-	    void TestCreateL();
-    
-	CAknMemorySelectionSettingPage* iDlg;
-	CAknMemorySelectionDialog::TMemory iMemory;
-    };
-
-#endif // BCTEST_MEM_SEL_SETTING_PAGE_H
\ No newline at end of file
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/sis/bctestcmdlg.pkg	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-;
-; Copyright (c) 2009 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:       
-;
-
-; Languages
-&EN
-
-; Header
-#{"UIFW_bctestcmdlg"},(0x2000475D),1,0,0,TYPE=SA
-
-; List of localised vendor names
-%{"Vendor-EN"}
-
-; The non-localised, globally unique vendor name (mandatory)
-:"Nokia OY"
-
-;Supports Series 60 v 3.0
-;This line indicates that this installation is for the Series 60 platform v3.0
-;This line must appear _exactly_ as shown below in the sis file
-;If this line is missing or incorrect, the sis file will not be able
-;to be installed on Series 60 v3.0 platforms
-(0x101F7961), 0, 0, 0, {"Series60ProductID"}
-
-; Target
-"\epoc32\release\armv5\urel\bctestcmdlg.exe"-
-"!:\sys\bin\bctestcmdlg.exe"
-
-"\epoc32\data\z\resource\apps\bctestcmdlg.RSC"-
-"!:\resource\apps\bctestcmdlg.RSC"
-
-"\epoc32\data\z\PRIVATE\10003A3F\APPS\bctestcmdlg_reg.RSC"-
-"!:\PRIVATE\10003A3F\import\APPS\bctestcmdlg_reg.RSC"
-
-; bctestutil must be installed
-(0x20004742), 1, 10, 0, {"bctestutil.dll"}
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/CVRSettingsDialogMMCSupported.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,143 +0,0 @@
-/*
-* Copyright (c) 2009 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:       
-*
-*/
-
-
-
-
-
-
-
-#include <bctestcmdlg.rsg>
-#include <AknLists.h>
-#include "CVRSettingsDialogMMCSupported.h"
-#include <hlplch.h>
-
-#include <CAknMemorySelectionSettingItem.h>
-#include <aknnotewrappers.h>
-
-#include "bctestcmdlg.hrh"
-
-CVRSettingsDialog::~CVRSettingsDialog()
-    {
-	iSettingItemArray.ResetAndDestroy();
-    }
-
-CVRSettingsDialog* CVRSettingsDialog::NewL()
-    {
-    CVRSettingsDialog* self = new( ELeave ) CVRSettingsDialog;
-	CleanupStack::PushL( self );
-	self->ConstructL( R_VR_SETTINGS_MENUBAR );
-	CleanupStack::Pop();
-    return self;
-    }
-
-TBool CVRSettingsDialog::OkToExitL( TInt aButtonId )
-	{
-	if ( aButtonId == EAknSoftkeyOptions )
-        {
-        DisplayMenuL();
-        return EFalse;
-        }
-
-	TInt settingItemCount( iSettingItemArray.Count() );
-
-	for ( TInt i( 0 ); i < settingItemCount; i++ )
-		{
-		iSettingItemArray.At( i )->StoreL();
-		}
-
-	return ETrue;
-	}
-
-void CVRSettingsDialog::PreLayoutDynInitL()
-	{
-	// Convert the internal memory enumeration to CFD enumeration
-	CAknSettingStyleListBox* listBox = static_cast< CAknSettingStyleListBox* >
-										( Control( EVRSettingsListboxId ) );
-	User::LeaveIfNull( listBox );
-
-    CAknSettingItem* settingItem;
-    HBufC* itemTitle;
-   	TInt id( 0 );
-
-	// Create the memo store item
-	settingItem =
-				new( ELeave ) CAknMemorySelectionSettingItem( 0, iMemoStore );
-	CleanupStack::PushL( settingItem );
-
-	// Set memo store item's title
-	itemTitle = iCoeEnv->AllocReadResourceLC( R_QTN_VOREC_SET_STORE );
-	settingItem->ConstructL( EFalse, id, *itemTitle, NULL, 0,
-													EAknCtPopupSettingList );
-	CleanupStack::PopAndDestroy();	// itemTitle
-
-	// Add memo store item to the settings array
-	iSettingItemArray.AppendL( settingItem );
-	CleanupStack::Pop();	// settingItem
-	id++;
-
-	CTextListBoxModel* model = listBox->Model();
-	model->SetItemTextArray( &iSettingItemArray );
-	// Ownership retained by us
-	model->SetOwnershipType( ELbmDoesNotOwnItemArray );
-
-	iSettingItemArray.RecalculateVisibleIndicesL();
-	listBox->CreateScrollBarFrameL( ETrue );
-	listBox->ScrollBarFrame()->SetScrollBarVisibilityL(
-						CEikScrollBarFrame::EOff, CEikScrollBarFrame::EAuto );
-	listBox->HandleItemAdditionL();
-	listBox->SetListBoxObserver( this );
-	listBox->UpdateScrollBarsL();
-
-	}
-
-void CVRSettingsDialog::HandleListBoxEventL( CEikListBox* aListBox,
-											 TListBoxEvent aEventType )
-	{
-	TInt index( aListBox->CurrentItemIndex() );
-		if ( index >=0 )	// index is -1 if there are no items in the list
-			{
-			iSettingItemArray.At( index )->EditItemL( 
-				aEventType == EEventEditingStarted );
-			aListBox->DrawItem( index );
-			}
-	}
-
-void CVRSettingsDialog::ProcessCommandL( TInt aCommandId )
-	{
-	HideMenu();
-	switch ( aCommandId )
-		{
-		case ECmdChange:
-			{
-			CEikListBox* listBox = static_cast< CEikListBox* >( Control( EVRSettingsListboxId ) );
-			HandleListBoxEventL( listBox, EEventEditingStarted );
-			break;
-			}
-		case EEikCmdExit:
-			{
-			TryExitL( EEikCmdExit );
-			CEikonEnv::Static()->EikAppUi()->HandleCommandL( aCommandId );
-			break;
-			}
-		default:
-			{
-			CEikonEnv::Static()->EikAppUi()->HandleCommandL( aCommandId );
-			break;
-			}
-		}
-	}
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgapp.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-/*
-* Copyright (c) 2002-2009 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:         Avkon Template test app
-*
-*/
-
-
-
-
-
-
-
-
-
-// INCLUDE FILES
-#include "BCTestCmDlgApp.h"
-#include "BCTestCmDlgDocument.h"
-#include <eikstart.h>
-
-// ================= MEMBER FUNCTIONS =========================================
-
-// ----------------------------------------------------------------------------
-// TUid CBCTestCmDlgApp::AppDllUid()
-// Returns application UID.
-// ----------------------------------------------------------------------------
-//
-TUid CBCTestCmDlgApp::AppDllUid() const
-    {
-    return KUidBCTestCmDlg;
-    }
-
-// ----------------------------------------------------------------------------
-// CApaDocument* CBCTestCmDlgApp::CreateDocumentL()
-// Creates CBCTestCmDlgAppDocument object.
-// ----------------------------------------------------------------------------
-//
-CApaDocument* CBCTestCmDlgApp::CreateDocumentL()
-    {
-    return CBCTestCmDlgDocument::NewL( *this );
-    }
-
-// ================= OTHER EXPORTED FUNCTIONS =================================
-//
-// ----------------------------------------------------------------------------
-// CApaApplication* NewApplication()
-// Constructs CBCTestCmDlgApp.
-// Returns: CApaDocument*: created application object
-// ----------------------------------------------------------------------------
-//
-LOCAL_C CApaApplication* NewApplication()
-    {
-    return new CBCTestCmDlgApp;
-    }
-
-GLDEF_C TInt E32Main()
-    {
-    return EikStart::RunApplication(NewApplication);
-    }
-
-// End of File
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgappui.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,88 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 bc for template control api(s)
-*
-*/
-
-
-
-
-
-
-
-
-#include <avkon.hrh>
-#include <aknsutils.h>
-
-#include "BCTestCmDlgAppUi.h"
-#include "BCTestCmDlg.hrh"
-#include "BCTestCmDlgview.h"
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// ctro do nothing
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgAppUi::CBCTestCmDlgAppUi()
-    {
-    }
-
-// ---------------------------------------------------------------------------
-// symbian 2nd phase ctor
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgAppUi::ConstructL()
-    {
-    BaseConstructL();
-    AknsUtils::SetAvkonSkinEnabledL( ETrue );
-
-    // init view
-    CBCTestCmDlgView* view = CBCTestCmDlgView::NewL();
-    CleanupStack::PushL( view );
-    AddViewL( view );
-    CleanupStack::Pop( view );    
-    
-    ActivateLocalViewL( view->Id() );
-    }
-
-// ----------------------------------------------------------------------------
-// CBCTestCmDlgAppUi::~CBCTestCmDlgAppUi()
-// Destructor.
-// ----------------------------------------------------------------------------
-//
-CBCTestCmDlgAppUi::~CBCTestCmDlgAppUi()
-    { 
-    }
-
-// ----------------------------------------------------------------------------
-// handle menu command events
-// ----------------------------------------------------------------------------
-//
-void CBCTestCmDlgAppUi::HandleCommandL( TInt aCommand )
-    {
-    switch ( aCommand )
-        {
-        case EAknSoftkeyBack:
-        case EEikCmdExit:
-            {
-            Exit();
-            return;
-            }
-        default:
-            break;
-        }    
-    }
-
-// End of File
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgcase.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,254 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 case
-*
-*/
-
-
-
-
-
-
-
-
-
-#include <w32std.h>
-#include <coecntrl.h>
-
-#include "BCTestCmDlgcase.h"
-#include "BCTestCmDlgcontainer.h"
-#include "BCTestCmDlg.hrh"
-#include "streamlogger.h"
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd static Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgCase* CBCTestCmDlgCase::NewL()
-    {
-    CBCTestCmDlgCase* self = new( ELeave ) CBCTestCmDlgCase();
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-    
-// ---------------------------------------------------------------------------
-// C++ default constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgCase::CBCTestCmDlgCase():iDlg(0)
-    {    
-    }
-    
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgCase::~CBCTestCmDlgCase()
-    {  
-	delete iDlg;
-    }
-    
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgCase::ConstructL()
-    {    
-    BuildScriptL();    
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgCase::BuildScriptL
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgCase::BuildScriptL()
-    { 
-    // Add script as your need.   
-	AddTestL( DELAY(1), TEND);
-
-	for(int i=0; i<EBCTestCmdMemSelDlgEnd - EBCTestCmdMemSelDlgBegin -1; ++i)
-		{
-		AddTestL( LeftCBA, Right, TEND );
-		for(int j=0; j<i; ++j)
-			AddTestL( Down, TEND);
-		AddTestL( LeftCBA, TEND );	
-		AddOKL();
-		}
-    }
-    
-void CBCTestCmDlgCase::AddOKL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), KeyOK, TEND);
-	}
-
-void CBCTestCmDlgCase::AddCancelL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), RightCBA, TEND);
-	}
-
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgCase::RunL
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgCase::RunL( TInt aCmd )
-    {
-	SetupL();
-	switch(aCmd){
-	case EBCTestCmdMemSelDlgCreate:
-		TestCreateL();
-		break;
-	case EBCTestCmdMemSelDlgCreateWithRes:
-		TestCreateL(0);		//0 indicate to default res
-		break;
-	case EBCTestCmdMemSelDlgWithRoot:
-		TestWithRootL();
-		break;
-	case EBCTestCmdMemSelDlgQuick:
-		TestQuickCreateL();
-		break;
-	case EBCTestCmdMemSelDlgQuickTitle:
-		TestQuickCreateL(_L("a title"));
-		break;
-	case EBCTestCmdMemSelDlgQuickRes:
-		TestQuickCreateL(0);	//0 means default res
-		break;
-	case EBCTestCmdMemSelDlgSetting:
-		TestSettingsL();
-		break;
-	default:
-		break;
-	}
-
-    Teardown();
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgCase::ReleaseCaseL
-// ---------------------------------------------------------------------------
-//   
-void CBCTestCmDlgCase::Teardown()
-    {
-	delete iDlg;
-	iDlg = NULL;
-    }
-
-void CBCTestCmDlgCase::TestCreateL()
-	{
-    iDlg = CAknMemorySelectionDialog::NewL( ECFDDialogTypeNormal, EFalse );
-
-	AssertNotNullL(iDlg, _L("mem sel dlg created"));
-	AssertTrueL(iDlg->ExecuteL( iMemory ), _L("User Hit OK"));
-	AssertIntL( CAknMemorySelectionDialog::EPhoneMemory, iMemory, _L("Phone memory created"));
-	}
-
-void CBCTestCmDlgCase::TestCreateL(TInt aResID)
-{
-	iDlg = CAknMemorySelectionDialog::NewL( ECFDDialogTypeNormal, aResID, EFalse );
-
-	AssertNotNullL(iDlg, _L("mem sel dlg with resID created"));
-	AssertTrueL(CAknMemorySelectionDialog::RunDlgLD(iMemory), _L("Quick create, User hit OK"));
-	AssertIntL( CAknMemorySelectionDialog::EPhoneMemory, iMemory, _L("Phone memroy created"));
-}
-
-void CBCTestCmDlgCase::TestQuickCreateL()
-	{
-	AssertTrueL(CAknMemorySelectionDialog::RunDlgLD(iMemory), _L("Quick create, User hit OK"));
-	AssertIntL( CAknMemorySelectionDialog::EPhoneMemory, iMemory, _L("Phone memroy created"));
-	}
-
-void CBCTestCmDlgCase::TestQuickCreateL(const TDesC &aTitle)
-	{
-	AssertTrueL(CAknMemorySelectionDialog::RunDlgLD(iMemory, aTitle), _L("Quick create with title, User hit OK"));
-	AssertIntL( CAknMemorySelectionDialog::EPhoneMemory, iMemory, _L("Phone memroy created"));
-	}
-
-void CBCTestCmDlgCase::TestQuickCreateL(TInt aResID)
-	{
-	AssertTrueL(CAknMemorySelectionDialog::RunDlgLD(iMemory, aResID), _L("Quick create with ResID, User hit OK"));
-	AssertIntL( CAknMemorySelectionDialog::EPhoneMemory, iMemory, _L("Phone memroy created"));
-	}
-
-void CBCTestCmDlgCase::SetupL()
-	{
-	iMemory = CAknMemorySelectionDialog::EPhoneMemory;
-	}
-
-void CBCTestCmDlgCase::TestWithRootL()
-{
-	_LIT( KRootPath,					"C:\\Nokia\\Images\\" );
-	_LIT( KDefaultFileName,				"DynamicFilename.jpg" );
-	TFileName rootFileName( KRootPath );
-	TFileName defaultFileName( KDefaultFileName );
-	iDlg = CAknMemorySelectionDialog::NewL( ECFDDialogTypeNormal, EFalse );
-	if(TInt res = iDlg->ExecuteL(iMemory, &rootFileName, &defaultFileName))
-	{
-		TFileName msg(_L("default root: "));
-		msg.Append(rootFileName);
-		msg.Append(_L(" default file: "));
-		msg.Append(defaultFileName);
-		msg.ZeroTerminate();
-		AssertTrueL(res, msg);
-	}
-}
-
-void CBCTestCmDlgCase::TestSettingsL()
-{
-	iDlg = CAknMemorySelectionDialog::NewL( ECFDDialogTypeNormal, EFalse );
-
-	iDlg->SetObserver(NULL);
-	AssertTrueL(ETrue, _L("Null Observer set"));
-
-	iDlg->SetTitleL(_L("a title"));
-	AssertTrueL(ETrue, _L("title set"));
-
-	iDlg->SetLeftSoftkeyL(_L("left key"));
-	AssertTrueL(ETrue, _L("left key text set"));
-
-	iDlg->SetRightSoftkeyL(_L("right key"));
-	AssertTrueL(ETrue, _L("right key text set"));
-	if(iDlg->ExecuteL(iMemory))
-	{
-		//get
-		TFileName emptyFileName( KNullDesC );
-		iDlg->GetItem( iMemory, emptyFileName );
-		TFileName msg(_L("item got: "));
-		msg.Append(emptyFileName);
-		msg.ZeroTerminate();
-		AssertTrueL(ETrue, msg);
-
-		_LIT( KRootPath,					"C:\\Nokia\\Images\\" );
-		_LIT( KDefaultFileName,				"DynamicFilename.jpg" );
-		TFileName rootFileName( KRootPath );
-		TFileName defaultFileName( KDefaultFileName );
-		iDlg->GetMemories(iMemory, &rootFileName, &defaultFileName);
-
-		msg = (_L("memory got, root: "));
-		msg.Append(rootFileName);
-		msg.Append(_L(" default file: "));
-		msg.Append(defaultFileName);
-		msg.ZeroTerminate();
-		AssertTrueL(ETrue, msg);
-	}
-}
-
-
-// EOF
\ No newline at end of file
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgcontainer.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,125 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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:         container
-*
-*/
-
-
-
-
-
-
-
-
-
-#include "BCTestCmDlgcontainer.h"
-
-#define KAknAtListGray TRgb(0xaaaaaa)
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// C++ default Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgContainer::CBCTestCmDlgContainer()
-    {    
-    }
-
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgContainer::~CBCTestCmDlgContainer()
-    {
-    ResetControl();   
-    }
-    
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgContainer::ConstructL( const TRect& aRect )
-    {
-    CreateWindowL();
-    SetRect( aRect );
-    ActivateL();
-    }
-
-// ----------------------------------------------------------------------------
-// CBCTestCmDlgContainer::Draw
-// Fills the window's rectangle.
-// ----------------------------------------------------------------------------
-//
-void CBCTestCmDlgContainer::Draw( const TRect& aRect ) const
-    {    
-    CWindowGc& gc = SystemGc();
-    gc.SetPenStyle( CGraphicsContext::ENullPen );
-    gc.SetBrushColor( KAknAtListGray );
-    gc.SetBrushStyle( CGraphicsContext::ESolidBrush );
-    gc.DrawRect( aRect );
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgContainer::CountComponentControls
-// ---------------------------------------------------------------------------
-//
-TInt CBCTestCmDlgContainer::CountComponentControls() const
-    {
-    if ( iControl )
-        {
-        return 1;
-        }
-    else
-        {
-        return 0;
-        }
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgContainer::ComponentControl
-// ---------------------------------------------------------------------------
-//
-CCoeControl* CBCTestCmDlgContainer::ComponentControl( TInt ) const
-    {
-    return iControl;
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgContainer::SetControl
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgContainer::SetControl( CCoeControl* aControl )
-    {
-    iControl = aControl;    
-    if ( iControl )
-        {  
-        // You can change the position and size
-        iControl->SetExtent( Rect().iTl, Rect().Size() );
-        iControl->ActivateL();
-        DrawNow();
-        }    
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgContainer::ResetControl
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgContainer::ResetControl()
-    {
-    delete iControl;
-    iControl = NULL;        
-    }
-
-// end of file
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgdocument.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-/*
-* Copyright (c) 2002-2009 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:         Avkon Template test application
-*
-*/
-
-
-
-
-
-
-
-
-
-// INCLUDE FILES
-#include "BCTestCmDlgDocument.h"
-#include "BCTestCmDlgAppUi.h"
-
-// ================= MEMBER FUNCTIONS =========================================
-
-// ----------------------------------------------------------------------------
-// CBCTestCmDlgDocument* CBCTestCmDlgDocument::NewL( CEikApplication& )
-// Symbian OS two-phased constructor.
-// ----------------------------------------------------------------------------
-//
-CBCTestCmDlgDocument* CBCTestCmDlgDocument::NewL( CEikApplication& aApp )
-    {
-    CBCTestCmDlgDocument* self = new( ELeave ) CBCTestCmDlgDocument( aApp );
-    return self;
-    }
-
-// ----------------------------------------------------------------------------
-// CBCTestCmDlgDocument::~CBCTestCmDlgDocument()
-// Destructor.
-// ----------------------------------------------------------------------------
-//
-CBCTestCmDlgDocument::~CBCTestCmDlgDocument()
-    {
-    }
-
-// ----------------------------------------------------------------------------
-// CBCTestCmDlgDocument::CBCTestCmDlgDocument( CEikApplication& )
-// Overload constructor.
-// ----------------------------------------------------------------------------
-//
-CBCTestCmDlgDocument::CBCTestCmDlgDocument( CEikApplication& aApp )
-    :   CEikDocument( aApp )
-    {
-    }
-
-// ----------------------------------------------------------------------------
-// CEikAppUi* CBCTestCmDlgDocument::CreateAppUiL()
-// Constructs CBCTestVolumeAppUi.
-// ----------------------------------------------------------------------------
-//
-CEikAppUi* CBCTestCmDlgDocument::CreateAppUiL()
-    {
-    return new( ELeave ) CBCTestCmDlgAppUi;
-    }
-
-// End of File
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgview.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,152 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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:         view class
-*
-*/
-
-
-
-
-
-
-
-
-
-#include <aknviewappui.h>
-
-#include "BCTestCmDlg.hrh"
-#include <bctestcmdlg.rsg>
-#include "BCTestCmDlgview.h"
-#include "BCTestCmDlgcontainer.h"
-#include "bctestutil.h"
-#include "BCTestCmDlgcase.h"
-#include "bctestmemselpage.h"
-#include "bctestfileseldlg.h"
-#include "bctestfilenamedlg.h"
-#include "bctestcommondlg.h"
-#include "bctestmemselitem.h"
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd static Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgView* CBCTestCmDlgView::NewL()
-    {
-    CBCTestCmDlgView* self = new( ELeave ) CBCTestCmDlgView();
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-
-// ---------------------------------------------------------------------------
-// C++ default Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgView::CBCTestCmDlgView()
-    {
-    }
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgView::ConstructL()
-    {
-    BaseConstructL( R_BCTESTCMDLG_VIEW );
-
-    iContainer = new( ELeave ) CBCTestCmDlgContainer();
-    iContainer->SetMopParent( this );
-    iContainer->ConstructL( ClientRect() );
-    AppUi()->AddToStackL( *this, iContainer );
-    iContainer->MakeVisible( ETrue );
-
-    iTestUtil = CBCTestUtil::NewL();
-
-    // Add test case here.
-    iTestUtil->AddTestCaseL( CBCTestCmDlgCase::NewL(),
-        _L("Mem selection dialog") );
-	iTestUtil->AddTestCaseL( CBCTestMemSelSettingPage::NewL(),
-        _L("Mem selection setting page") );
-	iTestUtil->AddTestCaseL( CBCTestFileSelDlg::NewL(),
-        _L("File selection dialog") );
-	iTestUtil->AddTestCaseL( CBCTestFileNameDlg::NewL(),
-        _L("File name prompt dialog") );
-	iTestUtil->AddTestCaseL( CBCTestCommonDlg::NewL(),
-        _L("Common dialog") );
-	iTestUtil->AddTestCaseL( CBCTestMemSelSettingItem::NewL(),
-        _L("Mem selection setting item") );
-    }
-
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgView::~CBCTestCmDlgView()
-    {
-    if ( iContainer )
-        {
-        AppUi()->RemoveFromStack( iContainer );
-        }
-    delete iContainer;
-    delete iTestUtil;
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgView::Id
-// ---------------------------------------------------------------------------
-//
-TUid CBCTestCmDlgView::Id() const
-    {
-    return KBCTestCmDlgViewId;
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgView::DoActivateL
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgView::DoActivateL( const TVwsViewId&, TUid, const TDesC8& )
-    {
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgView::DoDeactivate
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgView::DoDeactivate()
-    {
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgView::HandleCommandL
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgView::HandleCommandL( TInt aCommand )
-    {
-    switch ( aCommand )
-        {
-        case EProgCmdAutoTest:
-            iTestUtil->RunL();
-            break;
-        default:
-            if ( aCommand > EBCTestCmdEmptyOutline &&
-                 aCommand < EBCTestCmdMaxOutline )
-                {
-                iTestUtil->RunL( aCommand );
-                }
-            break;
-        }
-    }
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestcommondlg.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,489 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 case
-*
-*/
-
-
-
-
-
-
-
-
-
-#include <w32std.h>
-#include <coecntrl.h>
-#include <akncommondialogs.h>
-//#include <AknCommonDialogsDynMem.h>
-
-#include <MAknFileSelectionObserver.h>
-#include <MaknFileFilter.h>
-#include <bctestcmdlg.rsg>
-
-#include "BCTestCommonDlg.h"
-#include "BCTestCmDlg.hrh"
-#include "streamlogger.h"
-
-//helper class
-
-struct MonkFilter: public MAknFileFilter{
-    TBool Accept( const TDesC& /*aDriveAndPath*/, const TEntry& /*aEntry*/ ) const{
-        return ETrue;
-    }
-};
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd static Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCommonDlg* CBCTestCommonDlg::NewL()
-    {
-    CBCTestCommonDlg* self = new( ELeave ) CBCTestCommonDlg();
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-    
-// ---------------------------------------------------------------------------
-// C++ default constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCommonDlg::CBCTestCommonDlg()
-    {    
-    }
-    
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCommonDlg::~CBCTestCommonDlg()
-    {  
-    }
-    
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestCommonDlg::ConstructL()
-    {    
-    BuildScriptL();    
-    }
-
-void CBCTestCommonDlg::SetupL()
-    {
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCommonDlg::BuildScriptL
-// ---------------------------------------------------------------------------
-//
-void CBCTestCommonDlg::BuildScriptL()
-    { 
-    AddTestL( DELAY(1), TEND);
-
-    // Add script as your need.   
-    for(int i=0; i<EBCTestCmdCommonDlgEnd - EBCTestCmdCommonDlgBegin -1; ++i)
-        {
-        AddTestL( LeftCBA, REP(Down, 4), Right, TEND ); //navigate to common dialog menu
-
-        for(int j=0; j<i; ++j)
-            AddTestL( Down, TEND);  // navigate to each sub menu item
-        AddTestL( LeftCBA, TEND );  // trigger the menu item.
-
-        BuildSelectScriptL(i);
-        BuildMoveScriptL(i);
-        BuildSaveScriptL(i);
-        BuildCopyScriptL(i);
-        }
-    }
-
-void CBCTestCommonDlg::BuildSelectScriptL(int i)
-    {
-    AddCancelL();       //OK may enter a folder and ask user to select more.
-    
-    // some sepcial cases
-    if( i >= (EBCTestCmdCommonDlgSelect5 - EBCTestCmdCommonDlgBegin -1) &&
-        i <= (EBCTestCmdCommonDlgSelect8 - EBCTestCmdCommonDlgBegin -1))
-        AddCancelL();   //first back, 2nd cancel.
-    
-    if( i == (EBCTestCmdCommonDlgSelect8 - EBCTestCmdCommonDlgBegin -1))
-        AddCancelL();   //first back, then back again, finally cancel.
-    }
-
-void CBCTestCommonDlg::BuildMoveScriptL( int )
-    {
-    }
-
-void CBCTestCommonDlg::BuildSaveScriptL( int )
-    {
-    }
-
-void CBCTestCommonDlg::BuildCopyScriptL( int )
-    {
-    }
-    
-void CBCTestCommonDlg::AddOKL()
-    {
-    // add dlg response sciprts
-    for(int i=0; i<1; ++i)
-        AddTestL( WAIT(5), KeyOK, TEND);
-    }
-
-void CBCTestCommonDlg::AddCancelL()
-    {
-    // add dlg response sciprts
-    for(int i=0; i<1; ++i)
-        AddTestL( WAIT(5), RightCBA, TEND);
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCommonDlg::RunL
-// ---------------------------------------------------------------------------
-//
-void CBCTestCommonDlg::RunL( TInt aCmd )
-    {
-    SetupL();
-    RunSelectL(aCmd);
-    RunMoveL(aCmd);
-    RunSaveL(aCmd);
-    RunCopyL(aCmd);
-    Teardown();
-    }
-
-void CBCTestCommonDlg::RunSelectL(TInt aCmd)
-    {
-    switch(aCmd)
-        {
-        case EBCTestCmdCommonDlgSelect1:
-            TestSelectL();
-            break;
-        case EBCTestCmdCommonDlgSelect2:
-            TestSelectL(_L("a title"));
-            break;
-        case EBCTestCmdCommonDlgSelect3:
-            {
-            MonkFilter filter;
-            TestSelectL(&filter);
-            break;
-            }
-        case EBCTestCmdCommonDlgSelect4:
-            TestSelectL(R_BCTEST_FILE_SELECTION_ALL);
-            break;
-        case EBCTestCmdCommonDlgSelect5:
-            TestSelectL(_L("C:\\Data"), R_BCTEST_MEMORY_SELECTION_LOCATIONS);
-            break;
-        case EBCTestCmdCommonDlgSelect6:
-            {
-            MonkFilter filter;
-            TestSelectL(_L("C:\\Data"), &filter);
-            break;
-            }
-        case EBCTestCmdCommonDlgSelect7:
-            TestSelectL(_L("C:\\Data"), _L("a title"));
-            break;
-        case EBCTestCmdCommonDlgSelect8:
-            TestSelectL(_L("C:\\Data"), R_BCTEST_MEMORY_SELECTION_LOCATIONS, R_BCTEST_FILE_SELECTION_ALL);
-            break;
-        default:
-            break;
-        }
-    }
-
-void CBCTestCommonDlg::RunMoveL(TInt aCmd)
-    {
-    switch(aCmd)
-        {
-        case EBCTestCmdCommonDlgMove1:
-            TestMoveL();
-            break;
-        case EBCTestCmdCommonDlgMove2:
-            TestMoveL(_L("a title"));
-            break;
-        case EBCTestCmdCommonDlgMove3:
-            {
-            MonkFilter filter;
-            TestMoveL(&filter);
-            break;
-            }
-        case EBCTestCmdCommonDlgMove4:
-            TestMoveL(R_BCTEST_FILE_SELECTION_ALL);
-            break;
-        default:
-            break;
-        }
-    }
-
-void CBCTestCommonDlg::RunSaveL(TInt aCmd)
-    {
-    switch(aCmd)
-        {
-        case EBCTestCmdCommonDlgSave1:
-            TestSaveL();
-            break;
-        case EBCTestCmdCommonDlgSave2:
-            TestSaveL(_L("a sel title"), _L("a name prompt"));
-            break;
-        case EBCTestCmdCommonDlgSave3:
-            {
-            MonkFilter filter;
-            TestSaveL(&filter);
-            break;
-            }
-        case EBCTestCmdCommonDlgSave4:
-            TestSaveL(R_BCTEST_FILE_SELECTION_ALL);
-            break;
-        case EBCTestCmdCommonDlgSave5:
-            TestSaveL(R_BCTEST_FILE_SELECTION_ALL, _L("a prompt"));
-            break;
-        case EBCTestCmdCommonDlgSave6:
-            TestSaveL(EFalse, R_BCTEST_MEMORY_SELECTION_LOCATIONS);
-            break;
-        case EBCTestCmdCommonDlgSave7:
-            TestSaveL(EFalse, R_BCTEST_MEMORY_SELECTION_LOCATIONS, _L("a prompt"));
-            break;
-        default:
-            break;
-        }
-    }
-
-void CBCTestCommonDlg::RunCopyL(TInt aCmd)
-    {
-    switch(aCmd)
-        {
-        case EBCTestCmdCommonDlgCopy1:
-            TestCopyL();
-            break;
-        case EBCTestCmdCommonDlgCopy2:
-            TestCopyL(R_BCTEST_FILE_SELECTION_ALL);
-            break;
-        case EBCTestCmdCommonDlgCopy3:
-            {
-            MonkFilter filter;
-            TestCopyL(&filter);
-            break;
-            }
-        default:
-            break;
-        }
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCommonDlg::ReleaseCaseL
-// ---------------------------------------------------------------------------
-//   
-void CBCTestCommonDlg::Teardown()
-    {
-    }
-
-void CBCTestCommonDlg::TestSelectL()
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS );
-    AssertTrueL(ETrue, _L("Select with Res ID"));
-    }
-
-void CBCTestCommonDlg::TestSelectL(const TDesC &aTitle)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aTitle);
-    AssertTrueL(ETrue, _L("Select with Res ID and Title"));
-    }
-
-void CBCTestCommonDlg::TestSelectL(MAknFileFilter* aFilter)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFilter);
-    AssertTrueL(ETrue, _L("Select with Res ID and Filter"));
-    }
-
-void CBCTestCommonDlg::TestSelectL(TInt aFileSelResID)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFileSelResID);
-    AssertTrueL(ETrue, _L("Select with Res ID and File Selection Res ID"));
-    }
-
-void CBCTestCommonDlg::TestSelectL(const TDesC& aStartFolder, TInt aMemSelResID)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        aStartFolder,
-        aMemSelResID);
-    AssertTrueL(ETrue, _L("Select with start folder"));
-    }
-
-
-void CBCTestCommonDlg::TestSelectL(const TDesC& aStartFolder, MAknFileFilter* aFilter)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        aStartFolder,
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFilter);
-    AssertTrueL(ETrue, _L("Select with start folder and filter"));
-    }
-
-void CBCTestCommonDlg::TestSelectL(const TDesC &aStartFolder, const TDesC &aTitle)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        aStartFolder, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS, 
-        aTitle);
-    AssertTrueL(ETrue, _L("Select with start folder and title"));
-    }
-
-void CBCTestCommonDlg::TestSelectL(const TDesC &aStartFolder, TInt aMemSelResID, TInt aFileSelResID)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        aStartFolder, 
-        aMemSelResID, 
-        aFileSelResID);
-    AssertTrueL(ETrue, _L("Select with start folder and file selection res ID"));
-    }
-
-void CBCTestCommonDlg::TestMoveL()
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunMoveDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS );
-    AssertTrueL(ETrue, _L("Move"));
-    }
-
-void CBCTestCommonDlg::TestMoveL(const TDesC &aTitle)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunMoveDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aTitle);
-    AssertTrueL(ETrue, _L("Move with title"));
-    }
-
-void CBCTestCommonDlg::TestMoveL(MAknFileFilter *aFilter)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunMoveDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFilter);
-    AssertTrueL(ETrue, _L("Move with filter"));
-    }
-
-void CBCTestCommonDlg::TestMoveL(TInt aFileSelResID)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunMoveDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFileSelResID);
-    AssertTrueL(ETrue, _L("Move with file selection Res ID"));
-    }
-
-void CBCTestCommonDlg::TestSaveL()
-    {
-    TFileName defaultFileName(_L("foo.jpg"));
-    TInt returnValue = AknCommonDialogs::RunSaveDlgLD( defaultFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS );
-    AssertTrueL(ETrue, _L("Save"));
-    }
-
-void CBCTestCommonDlg::TestSaveL(MAknFileFilter *aFilter)
-    {
-    TFileName defaultFileName(_L("foo.jpg"));
-    TInt returnValue = AknCommonDialogs::RunSaveDlgLD( defaultFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFilter);
-    AssertTrueL(ETrue, _L("Save with filter"));
-    }
-
-void CBCTestCommonDlg::TestSaveL(const TDesC &aFileTitle, const TDesC &aPromptTitle)
-    {
-    TFileName defaultFileName(_L("foo.jpg"));
-    TInt returnValue = AknCommonDialogs::RunSaveDlgLD( defaultFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFileTitle,
-        aPromptTitle);
-    AssertTrueL(ETrue, _L("Save with title"));
-    }
-
-void CBCTestCommonDlg::TestSaveL(TInt aFileSelResID)
-    {
-    TFileName defaultFileName(_L("foo.jpg"));
-    TInt returnValue = AknCommonDialogs::RunSaveDlgLD( defaultFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFileSelResID);
-    AssertTrueL(ETrue, _L("Save with file selection res ID"));
-    }
-
-void CBCTestCommonDlg::TestSaveL(TInt aFileSelResID, const TDesC &aPrompt)
-    {
-    TFileName defaultFileName(_L("foo.jpg"));
-    TInt returnValue = AknCommonDialogs::RunSaveDlgLD( defaultFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFileSelResID,
-        aPrompt);
-    AssertTrueL(ETrue, _L("Save with file selection res ID and Prompt"));
-    }
-
-void CBCTestCommonDlg::TestSaveL(TBool /*aDirFlag*/, TInt aMemSelResID)
-    {
-    TFileName defaultFileName(_L("foo.jpg"));
-    TInt returnValue = AknCommonDialogs::RunSaveDlgNoDirectorySelectionLD( defaultFileName, 
-        aMemSelResID);
-    AssertTrueL(ETrue, _L("Save without dir selection"));
-    }
-
-void CBCTestCommonDlg::TestSaveL(TBool /*aDirFlag*/, TInt aMemSelResID, const TDesC& aPrompt)
-    {
-    TFileName defaultFileName(_L("foo.jpg"));
-    TInt returnValue = AknCommonDialogs::RunSaveDlgNoDirectorySelectionLD( defaultFileName, 
-        aMemSelResID, aPrompt);
-    AssertTrueL(ETrue, _L("Save without dir selection but with a prompt"));
-    }
-
-void CBCTestCommonDlg::TestCopyL()
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunCopyDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS);
-    AssertTrueL(ETrue, _L("Copy"));
-    }
-
-void CBCTestCommonDlg::TestCopyL(MAknFileFilter *aFilter)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunCopyDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS, aFilter);
-    AssertTrueL(ETrue, _L("Copy with filter"));
-    }
-
-void CBCTestCommonDlg::TestCopyL(TInt aFileSelResID)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunCopyDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS, aFileSelResID);
-    AssertTrueL(ETrue, _L("Copy with file selection res ID"));
-    }
-
-// EOF
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestfilenamedlg.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,227 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 case
-*
-*/
-
-
-
-
-
-
-
-
-
-#include <w32std.h>
-#include <coecntrl.h>
-#include <caknfilenamepromptdialog.h>
-#include <MAknFileSelectionObserver.h>
-#include <MaknFileFilter.h>
-
-#include "BCTestFileNameDlg.h"
-#include "BCTestCmDlg.hrh"
-#include "streamlogger.h"
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd static Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestFileNameDlg* CBCTestFileNameDlg::NewL()
-    {
-    CBCTestFileNameDlg* self = new( ELeave ) CBCTestFileNameDlg();
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-    
-// ---------------------------------------------------------------------------
-// C++ default constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestFileNameDlg::CBCTestFileNameDlg():iDlg(0)
-    {    
-    }
-    
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestFileNameDlg::~CBCTestFileNameDlg()
-    {  
-	delete iDlg;
-    }
-    
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestFileNameDlg::ConstructL()
-    {    
-    BuildScriptL();    
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestFileNameDlg::BuildScriptL
-// ---------------------------------------------------------------------------
-//
-void CBCTestFileNameDlg::BuildScriptL()
-    { 
-	AddTestL( DELAY(1), TEND);
-
-    // Add script as your need.   
-	for(int i=0; i<EBCTestCmdFileNameDlgEnd - EBCTestCmdFileNameDlgBegin -1; ++i)
-		{
-		AddTestL( LeftCBA, REP(Down, 3), Right, TEND );
-		for(int j=0; j<i; ++j)
-			AddTestL( Down, TEND);
-		AddTestL( LeftCBA, TEND );	
-		AddCancelL();		//OK may enter a folder and ask user to select more.
-		}
-    }
-    
-void CBCTestFileNameDlg::AddOKL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), KeyOK, TEND);
-	}
-
-void CBCTestFileNameDlg::AddCancelL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), RightCBA, TEND);
-	}
-
-// ---------------------------------------------------------------------------
-// CBCTestFileNameDlg::RunL
-// ---------------------------------------------------------------------------
-//
-void CBCTestFileNameDlg::RunL( TInt aCmd )
-    {
-	SetupL();
-	switch(aCmd){
-	case EBCTestCmdFileNameDlgCreate:
-		TestCreateL();
-		break;
-	case EBCTestCmdFileNameDlgCreateRes:
-		TestCreateL(0);		// 0 is default res id
-		break;
-	case EBCTestCmdFileNameDlgQuickCreate:
-		TestQuickCreateL();
-		break;
-	case EBCTestCmdFileNameDlgQuickCreateTitle:
-		TestQuickCreateL(_L("a title"));
-		break;
-	case EBCTestCmdFileNameDlgQuickCreateRes:
-		TestQuickCreateL(0);	// 0 is the default res id
-		break;
-	case EBCTestCmdFileNameDlgSettings:
-		TestSettingsL();
-		break;
-	default:
-		break;
-	}
-    Teardown();
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestFileNameDlg::ReleaseCaseL
-// ---------------------------------------------------------------------------
-//   
-void CBCTestFileNameDlg::Teardown()
-    {
-	delete iDlg;
-	iDlg = NULL;
-    }
-
-void CBCTestFileNameDlg::TestCreateL()
-	{
-	TFileName emptyFileName(KNullDesC);
-	iDlg = CAknFileNamePromptDialog::NewL();
-	TInt returnValue = iDlg->ExecuteL( emptyFileName );
-	TFileName msg;
-	msg.Format(_L("create User hit %d, filename: %s"), returnValue, &emptyFileName );	
-	msg.ZeroTerminate();
-	AssertTrueL(ETrue, msg);
-	}
-
-void CBCTestFileNameDlg::TestCreateL(TInt aResID)
-	{
-	TFileName emptyFileName(KNullDesC);
-	iDlg = CAknFileNamePromptDialog::NewL(aResID);
-	TInt returnValue = iDlg->ExecuteL( emptyFileName );
-	AssertTrueL(ETrue, _L("Create by res ID"));
-	}
-
-void CBCTestFileNameDlg::TestQuickCreateL()
-	{
-	_LIT(KRootPath, "C:\\Nokia\\Data");
-	TFileName defaultFileName;
-	TInt returnValue = CAknFileNamePromptDialog::RunDlgLD( defaultFileName, KRootPath );
-	AssertTrueL(ETrue, _L("RunDlgLD invoked"));
-	}
-
-void CBCTestFileNameDlg::TestQuickCreateL(const TDesC &aTitle)
-	{
-	_LIT(KRootPath, "C:\\Nokia\\Data");
-	TFileName defaultFileName;
-	TInt returnValue = CAknFileNamePromptDialog::RunDlgLD( defaultFileName, KRootPath, aTitle );
-	AssertTrueL(ETrue, _L("RunDlgLD invoked"));
-	}
-
-void CBCTestFileNameDlg::TestQuickCreateL(TInt aResID)
-	{
-	_LIT(KRootPath, "C:\\Nokia\\Data");
-	TFileName defaultFileName;
-	TInt returnValue = CAknFileNamePromptDialog::RunDlgLD( defaultFileName, KRootPath, aResID );
-	AssertTrueL(ETrue, _L("RunDlgLD invoked"));
-	}
-
-void CBCTestFileNameDlg::SetupL()
-	{
-	}
-
-
-void CBCTestFileNameDlg::TestSettingsL()
-	{
-	iDlg = CAknFileNamePromptDialog::NewL();
-	iDlg->SetPathL(_L("C:\\"));
-	AssertTrueL(ETrue, _L("path set"));
-
-	iDlg->SetTitleL(_L("a title"));
-	AssertTrueL(ETrue, _L("title set"));
-
-	iDlg->SetLeftSoftkeyL(_L("left key"));
-	AssertTrueL(ETrue, _L("left soft key set"));
-
-	iDlg->SetRightSoftkeyL(_L("right key"));
-	AssertTrueL(ETrue, _L("right soft key set"));
-
-	//Add fileter and set Observer
-	struct MonkObserver: public MAknFileSelectionObserver{
-		TBool OkToExitL( const TDesC& /*aDriveAndPath*/, const TEntry& /*aEntry*/ ){
-			return ETrue;
-		}
-	} monkObserver;
-	
-	iDlg->SetObserver(&monkObserver);
-	AssertTrueL(ETrue, _L("Observer set"));
-
-	TFileName filename;
-	iDlg->ExecuteL(filename);
-	}
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestfileseldlg.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,252 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 case
-*
-*/
-
-
-
-
-
-
-
-
-
-#include <w32std.h>
-#include <coecntrl.h>
-#include <MAknFileSelectionObserver.h>
-#include <MaknFileFilter.h>
-
-#include "BCTestFileSelDlg.h"
-#include "BCTestCmDlg.hrh"
-#include "streamlogger.h"
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd static Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestFileSelDlg* CBCTestFileSelDlg::NewL()
-    {
-    CBCTestFileSelDlg* self = new( ELeave ) CBCTestFileSelDlg();
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-    
-// ---------------------------------------------------------------------------
-// C++ default constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestFileSelDlg::CBCTestFileSelDlg():iDlg(0)
-    {    
-    }
-    
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestFileSelDlg::~CBCTestFileSelDlg()
-    {  
-	delete iDlg;
-    }
-    
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestFileSelDlg::ConstructL()
-    {    
-    BuildScriptL();    
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestFileSelDlg::BuildScriptL
-// ---------------------------------------------------------------------------
-//
-void CBCTestFileSelDlg::BuildScriptL()
-    { 
-	AddTestL( DELAY(1), TEND);
-
-    // Add script as your need.   
-	for(int i=0; i<EBCTestCmdFileSelDlgEnd - EBCTestCmdFileSelDlgBegin -1; ++i)
-		{
-		AddTestL( LeftCBA, REP(Down, 2), Right, TEND );
-		for(int j=0; j<i; ++j)
-			AddTestL( Down, TEND);
-		AddTestL( LeftCBA, TEND );	
-		AddCancelL();		//OK may enter a folder and ask user to select more.
-		}
-    }
-    
-void CBCTestFileSelDlg::AddOKL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), KeyOK, TEND);
-	}
-
-void CBCTestFileSelDlg::AddCancelL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), RightCBA, TEND);
-	}
-
-// ---------------------------------------------------------------------------
-// CBCTestFileSelDlg::RunL
-// ---------------------------------------------------------------------------
-//
-void CBCTestFileSelDlg::RunL( TInt aCmd )
-    {
-	SetupL();
-	switch(aCmd){
-	case EBCTestCmdFileSelDlgCreate:
-		TestCreateL();
-		break;
-	case EBCTestCmdFileSelDlgCreateRes:
-		TestCreateL(0);		// 0 is default res id
-		break;
-	case EBCTestCmdFileSelDlgQuickCreate:
-		TestQuickCreateL();
-		break;
-	case EBCTestCmdFileSelDlgQuickCreateTitle:
-		TestQuickCreateL(_L("a title"));
-		break;
-	case EBCTestCmdFileSelDlgQuickCreateRes:
-		TestQuickCreateL(0);	// 0 is the default res id
-		break;
-	case EBCTestCmdFileSelDlgSettings:
-		TestSettingsL();
-		break;
-	default:
-		break;
-	}
-    Teardown();
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestFileSelDlg::ReleaseCaseL
-// ---------------------------------------------------------------------------
-//   
-void CBCTestFileSelDlg::Teardown()
-    {
-	delete iDlg;
-	iDlg = NULL;
-    }
-
-void CBCTestFileSelDlg::TestCreateL()
-	{
-	_LIT( KRootPath,					"C:\\Data\\" );
-	TFileName rootFileName( KRootPath );
-
-	iDlg = CAknFileSelectionDialog::NewL( ECFDDialogTypeSelect );
-	AssertNotNullL(iDlg, _L("file sel dialog create"));
-	TInt returnValue = iDlg->ExecuteL( rootFileName );
-	TFileName msg;
-	msg.Format( _L("User hit: %d, selected file: "), returnValue );
-	msg.Append( rootFileName );
-	msg.ZeroTerminate();
-	AssertTrueL(ETrue, msg);
-	}
-
-void CBCTestFileSelDlg::TestCreateL(TInt aResID)
-	{
-	_LIT( KRootPath,					"C:\\Data\\" );
-	TFileName rootFileName( KRootPath );
-
-	iDlg = CAknFileSelectionDialog::NewL( ECFDDialogTypeSelect, aResID );
-	AssertNotNullL(iDlg, _L("file sel dialog create with Res ID"));
-	TInt returnValue = iDlg->ExecuteL( rootFileName );
-	TFileName msg;
-	msg.Format(_L("User hit: %d, selected file: "), returnValue );
-	msg.Append( rootFileName );
-	msg.ZeroTerminate();
-	AssertTrueL(ETrue, msg);
-	}
-
-void CBCTestFileSelDlg::TestQuickCreateL()
-	{
-	TFileName filename;
-	TFileName folder(_L("C:\\Data\\"));
-	AssertTrueL(!CAknFileSelectionDialog::RunDlgLD(filename, folder), 
-		_L("Quick create, User hit Cancle"));
-	}
-
-void CBCTestFileSelDlg::TestQuickCreateL(const TDesC &aTitle)
-	{
-	TFileName filename;
-	TFileName folder(_L("C:\\Data\\"));
-	AssertTrueL(!CAknFileSelectionDialog::RunDlgLD(filename, folder, aTitle), 
-		_L("Quick create, User hit Cancle"));
-	}
-
-void CBCTestFileSelDlg::TestQuickCreateL(TInt aResID)
-	{
-	TFileName filename;
-	TFileName folder(_L("C:\\Data\\"));
-	AssertTrueL(!CAknFileSelectionDialog::RunDlgLD(filename, folder, aResID), 
-		_L("Quick create, User hit Cancle"));
-	}
-
-void CBCTestFileSelDlg::SetupL()
-	{
-	}
-
-
-void CBCTestFileSelDlg::TestSettingsL()
-{
-	iDlg = CAknFileSelectionDialog::NewL( ECFDDialogTypeSelect );
-	iDlg->SetDefaultFolderL(_L("C:\\"));
-	AssertTrueL(ETrue, _L("default folder set"));
-
-	iDlg->SetTitleL(_L("a title"));
-	AssertTrueL(ETrue, _L("title set"));
-
-	iDlg->SetLeftSoftkeyFileL(_L("left fkey"));
-	AssertTrueL(ETrue, _L("left soft key file set"));
-
-	iDlg->SetLeftSoftkeyFolderL(_L("left dkey"));
-	AssertTrueL(ETrue, _L("left soft key folder set"));
-
-	iDlg->SetRightSoftkeyRootFolderL(_L("right root"));
-	AssertTrueL(ETrue, _L("right soft key root set"));
-
-	iDlg->SetRightSoftkeySubfolderL(_L("right sdir"));
-	AssertTrueL(ETrue, _L("right soft key sub folder set"));
-
-	//Add fileter and set Observer
-	struct MonkObserver: public MAknFileSelectionObserver{
-		TBool OkToExitL( const TDesC& /*aDriveAndPath*/, const TEntry& /*aEntry*/ ){
-			return ETrue;
-		}
-	} monkObserver;
-	
-	iDlg->SetObserver(&monkObserver);
-	AssertTrueL(ETrue, _L("Observer set"));
-
-	struct MonkFilter: public MAknFileFilter{
-		TBool Accept( const TDesC& /*aDriveAndPath*/, const TEntry& /*aEntry*/ ) const{
-			return ETrue;
-		}
-	};
-
-	iDlg->AddFilterL(new (ELeave) MonkFilter);	//problems, should be push into stack
-	AssertTrueL(ETrue, _L("Filter add"));
-
-	TFileName filename;
-	iDlg->ExecuteL(filename);
-}
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestmemselitem.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,190 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 case
-*
-*/
-
-
-
-
-
-
-
-
-
-#include <w32std.h>
-#include <coecntrl.h>
-#include <AknLists.h>
-#include <aknsettingitemlist.h>
-#include <bctestcmdlg.rsg>
-
-#include "BCTestMemSelItem.h"
-#include "BCTestCmDlg.hrh"
-#include "streamlogger.h"
-#include "CVRSettingsDialogMMCSupported.h"
-
-// ======== MEMBER FUNCTIONS ========
-
-const TInt KItemPosition = 5;// Menu position of the test item
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd static Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestMemSelSettingItem* CBCTestMemSelSettingItem::NewL()
-    {
-    CBCTestMemSelSettingItem* self = new( ELeave ) CBCTestMemSelSettingItem();
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-    
-// ---------------------------------------------------------------------------
-// C++ default constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestMemSelSettingItem::CBCTestMemSelSettingItem():iItem(NULL)
-    {    
-    }
-    
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestMemSelSettingItem::~CBCTestMemSelSettingItem()
-    {  
-	Teardown();
-    }
-    
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestMemSelSettingItem::ConstructL()
-    {    
-    BuildScriptL();    
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestMemSelSettingItem::BuildScriptL
-// ---------------------------------------------------------------------------
-//
-void CBCTestMemSelSettingItem::BuildScriptL()
-    { 
-	AddTestL( DELAY(1), TEND);
-
-    // Add script as your need.   
-	for(int i=0; i<EBCTestCmdMemSelSettingItemEnd - EBCTestCmdMemSelSettingItemBegin -1; ++i)
-		{
-		AddTestL( LeftCBA, REP( Down, KItemPosition ), Right, TEND );
-		for(int j=0; j<i; ++j)
-			AddTestL( Down, TEND);
-		AddTestL( LeftCBA, TEND );
-		if(i == 1)
-			{
-			AddTestL( LeftCBA, WAIT(2),LeftCBA, WAIT(2), LeftCBA, WAIT(2), RightCBA, TEND);
-			}
-		AddOKL();
-		}
-    }
-    
-void CBCTestMemSelSettingItem::AddOKL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), KeyOK, TEND);
-	}
-
-void CBCTestMemSelSettingItem::AddCancelL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), RightCBA, TEND);
-	}
-
-// ---------------------------------------------------------------------------
-// CBCTestMemSelSettingItem::RunL
-// ---------------------------------------------------------------------------
-//
-void CBCTestMemSelSettingItem::RunL( TInt aCmd )
-    {
-	SetupL();
-	switch(aCmd){
-	case EBCTestCmdMemSelSettingItemCreate:
-		TestCreateL();
-		break;
-	case EBCTestCmdMemSelSettingItemEdit:
-		TestEditL();
-		break;
-	case EBCTestCmdMemSelSettingItemStore:
-		TestStoreL();
-		break;
-	case EBCTestCmdMemSelSettingItemSetting:
-		TestSettingL();
-		break;
-	default:
-		break;
-	}
-    Teardown();
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestMemSelSettingItem::ReleaseCaseL
-// ---------------------------------------------------------------------------
-//   
-void CBCTestMemSelSettingItem::Teardown()
-    {
-	delete iItem;
-	iItem = NULL;
-    }
-
-void CBCTestMemSelSettingItem::TestCreateL()
-	{
-	iItem = new (ELeave) CAknMemorySelectionSettingItem(0, iMemory);
-	AssertNotNullL(iItem, _L("Create in Heap"));
-	iItem->CompleteConstructionL();
-	AssertTrueL(ETrue, _L("complete construction"));
-	}
-
-void CBCTestMemSelSettingItem::TestEditL()
-	{
-	CVRSettingsDialog* settingsDlg = CVRSettingsDialog::NewL();
-	settingsDlg->ExecuteLD( R_VR_SETTINGS_DIALOG );
-	}
-
-void CBCTestMemSelSettingItem::TestStoreL()
-	{
-	iItem = new (ELeave) CAknMemorySelectionSettingItem(0, iMemory);
-	iItem->StoreL();
-	AssertTrueL(ETrue, _L("store"));
-	iItem->LoadL();
-	AssertTrueL(ETrue, _L("laod"));
-	}
-
-void CBCTestMemSelSettingItem::TestSettingL()
-	{
-	iItem = new (ELeave) CAknMemorySelectionSettingItem(0, iMemory);
-	TFileName text(iItem->SettingTextL());
-	text.ZeroTerminate();
-	AssertTrueL(ETrue, text);
-	}
-
-void CBCTestMemSelSettingItem::SetupL()
-	{
-	iMemory = CAknMemorySelectionDialog::EPhoneMemory;
-	}
-
-
-
--- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestmemselpage.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,202 +0,0 @@
-/*
-* Copyright (c) 2006-2009 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 case
-*
-*/
-
-
-
-
-
-
-
-
-
-#include <w32std.h>
-#include <coecntrl.h>
-
-#include "BCTestMemSelPage.h"
-#include "BCTestCmDlg.hrh"
-#include "streamlogger.h"
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd static Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestMemSelSettingPage* CBCTestMemSelSettingPage::NewL()
-    {
-    CBCTestMemSelSettingPage* self = new( ELeave ) CBCTestMemSelSettingPage();
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-    
-// ---------------------------------------------------------------------------
-// C++ default constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestMemSelSettingPage::CBCTestMemSelSettingPage():iDlg(0)
-    {    
-    }
-    
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestMemSelSettingPage::~CBCTestMemSelSettingPage()
-    {  
-	delete iDlg;
-    }
-    
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestMemSelSettingPage::ConstructL()
-    {    
-    BuildScriptL();    
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestMemSelSettingPage::BuildScriptL
-// ---------------------------------------------------------------------------
-//
-void CBCTestMemSelSettingPage::BuildScriptL()
-    { 
-	AddTestL( DELAY(1), TEND);
-
-    // Add script as your need.   
-	for(int i=0; i<EBCTestCmdMemSelPageEnd - EBCTestCmdMemSelPageBegin -1; ++i)
-		{
-		AddTestL( LeftCBA, REP(Down, 1), Right, TEND );
-		for(int j=0; j<i; ++j)
-			AddTestL( Down, TEND);
-		AddTestL( LeftCBA, TEND );	
-		AddOKL();
-		}
-    }
-    
-void CBCTestMemSelSettingPage::AddOKL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), KeyOK, TEND);
-	}
-
-void CBCTestMemSelSettingPage::AddCancelL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), RightCBA, TEND);
-	}
-
-// ---------------------------------------------------------------------------
-// CBCTestMemSelSettingPage::RunL
-// ---------------------------------------------------------------------------
-//
-void CBCTestMemSelSettingPage::RunL( TInt aCmd )
-    {
-	SetupL();
-	switch(aCmd){
-	case EBCTestCmdMemSelPageCreate:
-		TestCreateL();
-		break;
-	case EBCTestCmdMemSelPageCreateRes:
-		TestCreateL(0);		// 0 is default res id
-		break;
-	case EBCTestCmdMemSelPageQuickCreate:
-		TestQuickCreateL();
-		break;
-	case EBCTestCmdMemSelPageQuickCreateTitle:
-		TestQuickCreateL(_L("a title"));
-		break;
-	case EBCTestCmdMemSelPageQuickCreateRes:
-		TestQuickCreateL(0);	// 0 is the default res id
-		break;
-	default:
-		break;
-	}
-    Teardown();
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestMemSelSettingPage::ReleaseCaseL
-// ---------------------------------------------------------------------------
-//   
-void CBCTestMemSelSettingPage::Teardown()
-    {
-	delete iDlg;
-	iDlg = NULL;
-    }
-
-void CBCTestMemSelSettingPage::TestCreateL()
-	{
-	_LIT( KRootPath,					"C:\\Nokia\\Images\\" );
-	_LIT( KDefaultFileName,				"DynamicFilename.jpg" );
-	TFileName emptyFileName( KNullDesC );
-	TFileName rootFileName( KRootPath );
-	TFileName defaultFileName( KDefaultFileName );
-
-	iDlg = CAknMemorySelectionSettingPage::NewL();
-	AssertNotNullL(iDlg, _L("mem sel setting page created"));
-
-	TInt returnValue = iDlg->ExecuteL( iMemory, &rootFileName, &defaultFileName );
-	iDlg->GetItem( iMemory, emptyFileName );
-
-	TFileName msg;
-	msg.Format( _L("User Hit: %d, Memory is: %d, FileName: "), returnValue, iMemory );
-	msg.Append( emptyFileName );
-	msg.ZeroTerminate();
-	AssertTrueL(ETrue, msg);
-	msg.Append( _L("Root: ") );
-	msg.Append( rootFileName );
-	msg.Append( _L(", Default: ") );
-	msg.Append( defaultFileName );
-	msg.ZeroTerminate();
-	AssertTrueL(ETrue, msg);
-	}
-
-void CBCTestMemSelSettingPage::TestCreateL(TInt aResID)
-	{
-	iDlg = CAknMemorySelectionSettingPage::NewL( aResID );
-	TInt returnValue = iDlg->ExecuteL( iMemory);
-	AssertTrueL( returnValue, _L("Create with Resorce ID"));
-	}
-
-void CBCTestMemSelSettingPage::TestQuickCreateL()
-	{
-	AssertTrueL(CAknMemorySelectionSettingPage::RunDlgLD(iMemory), _L("Quick create, User hit OK"));
-	AssertIntL( CAknMemorySelectionSettingPage::EPhoneMemory, iMemory, _L("Phone memroy created"));
-	}
-
-void CBCTestMemSelSettingPage::TestQuickCreateL(const TDesC &aTitle)
-	{
-	AssertTrueL(CAknMemorySelectionSettingPage::RunDlgLD(iMemory, aTitle), _L("Quick create with title, User hit OK"));
-	AssertIntL( CAknMemorySelectionSettingPage::EPhoneMemory, iMemory, _L("Phone memroy created"));
-	}
-
-void CBCTestMemSelSettingPage::TestQuickCreateL(TInt aResID)
-	{
-	AssertTrueL(CAknMemorySelectionSettingPage::RunDlgLD(iMemory, aResID), _L("Quick create with ResID, User hit OK"));
-	AssertIntL( CAknMemorySelectionSettingPage::EPhoneMemory, iMemory, _L("Phone memroy created"));
-	}
-
-void CBCTestMemSelSettingPage::SetupL()
-	{
-	iMemory = CAknMemorySelectionDialog::EPhoneMemory;
-	}
-
--- a/commonuis/CommonUi/data/DocumentHandlerUi.rss	Mon May 03 12:45:33 2010 +0300
+++ b/commonuis/CommonUi/data/DocumentHandlerUi.rss	Fri May 14 16:06:26 2010 +0300
@@ -33,11 +33,6 @@
 
 #include "pathconfiguration.hrh"
 
-#ifdef __SERIES60_MMC
-#include <CommonDialogs.hrh> // Enumerations
-#include <CommonDialogs.rh> // Resource structures
-#endif // __SERIES60_MMC
-
 #include <documenthandler.loc>
 
 //  RESOURCE DEFINITIONS
@@ -499,16 +494,6 @@
 
 
 #ifdef __SERIES60_MMC
-RESOURCE MEMORYSELECTIONDIALOG r_dochandler_memory_selection_dialog
-    {
-    softkey_1 = text_softkey_select;
-    locations =
-        {
-        LOCATION { root_path = text_phone_memory_root_path; },
-        LOCATION { root_path = text_memory_card_root_path; }
-        };
-    }
-
 
 //
 // Mime types in this list are automatically saved to default directories
--- a/commonuis/CommonUi/data/FindItemmenu.rss	Mon May 03 12:45:33 2010 +0300
+++ b/commonuis/CommonUi/data/FindItemmenu.rss	Fri May 14 16:06:26 2010 +0300
@@ -29,8 +29,6 @@
 #include <AiwCommon.hrh>
 #include <AiwCommon.rh>
 
-#include <CommonDialogs.hrh> 
-#include <CommonDialogs.rh>
 #include <pathconfiguration.hrh>
 
 //  CONSTANTS  
@@ -137,23 +135,6 @@
     buf=qtn_find_rtsp_saved_note; 
     }
 
-RESOURCE MEMORYSELECTIONDIALOG r_memory_selection_locations
-    {
-    //title=qtn_memc_select_memory;
-    softkey_1=text_softkey_ok;
-    softkey_2=text_softkey_cancel;
-    locations=
-        {
-        LOCATION
-            { 
-            root_path=text_phone_memory_root_path; 
-            },
-        LOCATION 
-            {
-            root_path=text_memory_card_root_path;
-            }
-        };
-    }
 
 RESOURCE TBUF40 r_qtn_find_activate_option
     {
--- a/commonuis/CommonUi/src/DocDefaultHandler.cpp	Mon May 03 12:45:33 2010 +0300
+++ b/commonuis/CommonUi/src/DocDefaultHandler.cpp	Fri May 14 16:06:26 2010 +0300
@@ -35,12 +35,8 @@
 #include <AiwGenericParam.h>        // Generic parameters
 
 #ifdef RD_MULTIPLE_DRIVE
-#include <CAknMemorySelectionDialogMultiDrive.h>
 #include <driveinfo.h>      //DriveInfo
-#include <AknCommonDialogsDynMem.h>
 #include <coemain.h>
-#else
-#include "CAknMemorySelectionDialog.h" // CAknMemorySelectionDialog
 #endif
 
 #include "pathinfo.h"               // PathInfo
@@ -1127,50 +1123,6 @@
                 }
             path.Copy( iRootPath );
             }
-#ifdef RD_MULTIPLE_DRIVE 
-        else if( (!CanOnlyBeSavedToPhoneMemoryL())&&(1 < GetAvailableDrivesCountL()) )
-        	{
-        	TFileName defaultFolder;
-            CAknMemorySelectionDialogMultiDrive* dlg =NULL;
-			// Remote drives are not shown in the list of available drives.. FIX for error ANAE-76S7KX
-	        dlg = CAknMemorySelectionDialogMultiDrive::NewL(ECFDDialogTypeBrowse,0,EFalse, 
-	        			AknCommonDialogsDynMem::EMemoryTypePhone | AknCommonDialogsDynMem::EMemoryTypeInternalMassStorage | AknCommonDialogsDynMem::EMemoryTypeMMCExternal);
-		    CleanupStack::PushL( dlg );
-			TDriveNumber driveNumber;
-		    TBool result(dlg->ExecuteL(driveNumber,&path,&defaultFolder));// driveNumber );
-			CleanupStack::PopAndDestroy( dlg );
-			if (!result)
-				{
-		        SetAndReturnStatus( KErrCancel );
-		        return KErrCancel;
-		        }
-           }
-#else  
-        else if ( CanBeSavedToMmcL() )
-            {
-            CAknMemorySelectionDialog::TMemory mem( CAknMemorySelectionDialog::EPhoneMemory);
-            AddResourcesL();
-            TFileName defaultFolder;
-            CAknMemorySelectionDialog* memoryDialog = CAknMemorySelectionDialog::NewL(
-                                                            ECFDDialogTypeSave,
-                                                            R_DOCHANDLER_MEMORY_SELECTION_DIALOG,
-                                                            EFalse );
-            CleanupStack::PushL( memoryDialog );    
-            
-            TBool result( memoryDialog->ExecuteL( mem, &path, &defaultFolder ) );
-            if (!result)
-                {
-                RemoveResources();
-                CleanupStack::PopAndDestroy();  // memoryDialog
-                SetAndReturnStatus( KErrCancel );
-                return KErrCancel;
-                }
-
-            CleanupStack::PopAndDestroy();  // memoryDialog
-
-            RemoveResources();
-            }
-        #endif
         else 
             {
             path.Copy( PathInfo::PhoneMemoryRootPath() );
--- a/commonuis/CommonUi/src/FindItemMenu.cpp	Mon May 03 12:45:33 2010 +0300
+++ b/commonuis/CommonUi/src/FindItemMenu.cpp	Fri May 14 16:06:26 2010 +0300
@@ -11,7 +11,7 @@
 *
 * Contributors:
 *
-* Description: 
+* Description:  
 *
 */
 
@@ -56,9 +56,6 @@
 #include <FindItemui.rsg>
 #include <aknnotewrappers.h>
 
-// add to gallery related
-#include <AknCommonDialogs.h>
-
 #include <featmgr.h>
 
 #include <centralrepository.h>
@@ -1365,35 +1362,7 @@
 
 void CFindItemMenu::AddToGalleryL()
     {
-    _LIT( KRamFileExtension,".ram" );
-    TFileName fileName;
-    iCoeEnv->ReadResourceL( fileName, R_FINDITEMMENU_DEFAULT_GALL_NAME );
-    fileName.Append( KRamFileExtension );
-    if ( AknCommonDialogs::RunSaveDlgLD(
-        fileName, R_MEMORY_SELECTION_LOCATIONS ) )
-        {
-        CDesCArrayFlat* array = new (ELeave)CDesCArrayFlat( 1 );
-        CleanupStack::PushL( array );
-        array->AppendL( iAutomaticFind->CurrentItemExt().iItemDescriptor->Des() );
-        TInt err = KErrNone;
-        if( !iMPEngineDllLoaded )
-            {
-            LoadMPEngineApiL();
-            }
-        err = iMPEngineApi->CreateNewLinkFileL( fileName, array, ETrue );
-        CleanupStack::PopAndDestroy( 1 );
-
-        if ( err == KErrNone )
-            {
-            // Show note
-            HBufC* msgBuffer =
-                iCoeEnv->AllocReadResourceLC( R_FINDITEMMENU_LINK_SAVED );
-            CAknConfirmationNote* note =
-                new (ELeave) CAknConfirmationNote( ETrue );
-            note->ExecuteLD( *msgBuffer );
-            CleanupStack::PopAndDestroy(); // msgBuffer
-            }
-        }
+    //no need to do anything ,due to the remove of AknCommonDialogs
     }
 
 EXPORT_C void CFindItemMenu::SetSenderDescriptorType(
--- a/group/bld.inf	Mon May 03 12:45:33 2010 +0300
+++ b/group/bld.inf	Fri May 14 16:06:26 2010 +0300
@@ -21,7 +21,6 @@
 #include "../uifw/group/bld.inf"
 #include "../commonuis/group/bld.inf"
 #include "../applicationinterworkingfw/group/bld.inf"
-#include "../psln/Group/bld.inf"
 #include "../CommonAdapter/group/bld.inf"
 #include "../akntouchgesturefw/group/bld.inf"
 #include "../uiutils/group/bld.inf"
--- a/lafagnosticuifoundation/cone/inc/COECNTRL.H	Mon May 03 12:45:33 2010 +0300
+++ b/lafagnosticuifoundation/cone/inc/COECNTRL.H	Fri May 14 16:06:26 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 1997-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"
@@ -359,9 +359,10 @@
 	inline CWindowGc* GetGc() const;
 private:
 	friend class CCoeRedrawer;
-	void DrawComponents(const TRect& aRect) const;	
+	void Constructor(CCoeEnv* aCoeEnv);
+	void DrawComponents(const TRect& aRect) const;
 	void DrawWindowOwningComponentsNow() const;
-	void DrawWindowOwningComponentsNow(const TRect &aRect) const;	
+	void DrawWindowOwningComponentsNow(const TRect& aRect) const;
 	void SetGrabbed(TBool aGrabbed, TInt aPointerNumber);
 	TBool IsGrabbed(TInt aPointerNumber = 0) const;
 	void DoMakeVisible(TBool aVisible);
--- a/lafagnosticuifoundation/cone/inc/CoeDynamicStorage.inl	Mon May 03 12:45:33 2010 +0300
+++ b/lafagnosticuifoundation/cone/inc/CoeDynamicStorage.inl	Fri May 14 16:06:26 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 1997-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"
@@ -57,7 +57,7 @@
 	{
 public:
 	RCoeDynamicDataStorage();
-	void Open();
+	TInt Open();
 	void Close();
 	TInt Count() const;
 	void ResetCount();
@@ -98,17 +98,22 @@
 	ResetCount();
 	}
 
-void RCoeDynamicDataStorage::Open()
+TInt RCoeDynamicDataStorage::Open()
 	{
 	ASSERT(!iDynamicData);
-	ReserveData();
-	
+	TInt err = ReserveData();
+
 #ifdef PROFILE_MEMORY
-	MEMORY_SAVED += KCurrentNumberOfOptionalVaraiblesInCCoeControl*sizeof(TAny*);
-	MEMORY_SAVED -= sizeof(RCoeDynamicDataStorage);
-#endif	
+	if (err==KErrNone)
+		{
+		MEMORY_SAVED += KCurrentNumberOfOptionalVaraiblesInCCoeControl*sizeof(TAny*);
+		MEMORY_SAVED -= sizeof(RCoeDynamicDataStorage);
+		}
+#endif
+
+	return err;
 	}
-	
+
 void RCoeDynamicDataStorage::Close()
 	{
 #ifdef PROFILE_MEMORY
@@ -181,14 +186,14 @@
 
 inline TAny* RCoeDynamicDataStorage::Data(TInt aSlotIndex, TAny* aDefaultValue) const
 	{
-	if(!this)
+	if (!this)
 		return aDefaultValue;
-		
+
 	const TInt dataIndex = DataIndex(aSlotIndex);
-	if(dataIndex != KUndefinedIndex)
+	if (dataIndex!=KUndefinedIndex && iDynamicData!=NULL)	//Defensive Code
 		return iDynamicData[dataIndex];
 	else
-		return aDefaultValue;	
+		return aDefaultValue;
 	}
 
 inline TInt RCoeDynamicDataStorage::DataIndex(TInt aSlotIndex) const
--- a/lafagnosticuifoundation/cone/src/COECNTRL.CPP	Mon May 03 12:45:33 2010 +0300
+++ b/lafagnosticuifoundation/cone/src/COECNTRL.CPP	Fri May 14 16:06:26 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 1997-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"
@@ -69,12 +69,12 @@
 	inline CCoeControlStorage();
 	inline RCoeDynamicDataStorage& DynamicDataStorage();
 	inline const RCoeDynamicDataStorage& DynamicDataStorage() const;
-	inline void Open();
+	inline TInt Open();
 	inline void Close();
 	inline void AttemptCompress();
 	void SetPointerGrab(TUint aSet, TUint aClear);
 	TUint8& PointerGrab();
-	
+
 private:
 	RCoeDynamicDataStorage iDynamicDataStorage;
 	TUint8 iPointerGrabFlags; // The grab-status of each of the supported pointers
@@ -103,8 +103,8 @@
 inline const RCoeDynamicDataStorage& CCoeControlStorage::DynamicDataStorage() const
 	{ return iDynamicDataStorage; }
 
-inline void CCoeControlStorage::Open()
-	{ iDynamicDataStorage.Open(); }
+inline TInt CCoeControlStorage::Open()
+	{ return iDynamicDataStorage.Open(); }
 
 inline void CCoeControlStorage::Close()
 	{ iDynamicDataStorage.Close(); }
@@ -121,19 +121,7 @@
 control classes are derived. However, it can also be instantiated as a concrete 
 class. */
 	{
-	iCoeEnv = TheCoe();
-	
-	iData = new CCoeControlStorage;		// Non-leaving allocation
-	if (iData)
-		{
-		iData->Open();
-		}
-	else 
-		{
-		iFlags |= EMemoryAllocationFailed;	// Handle OOM later
-		}
-	
-	SetFocusing(CCoeControlStaticSettings::FocusedByDefault(iCoeEnv));	
+	Constructor(TheCoe());
 	}
 
 EXPORT_C CCoeControl::CCoeControl(CCoeEnv* aCoeEnv)
@@ -147,14 +135,17 @@
 
 @param aCoeEnv The control environment.*/
 	{
+	Constructor(aCoeEnv);
+	}
+
+void CCoeControl::Constructor(CCoeEnv* aCoeEnv)
+	{
 	iCoeEnv = aCoeEnv;
-	
+
 	iData = new CCoeControlStorage;		// Non-leaving allocation
-	if(iData)
-		iData->Open();
-	else 
+	if (!iData || iData->Open()!=KErrNone)
 		iFlags |= EMemoryAllocationFailed;	// Handle OOM later
-	
+
 	SetFocusing(CCoeControlStaticSettings::FocusedByDefault(iCoeEnv));
 	}
 
--- a/lafagnosticuifoundation/cone/tef/TCONE2STEP.CPP	Mon May 03 12:45:33 2010 +0300
+++ b/lafagnosticuifoundation/cone/tef/TCONE2STEP.CPP	Fri May 14 16:06:26 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2007-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"
@@ -49,22 +49,31 @@
   Creates a control's window.\n
   The created window is the child of the application's window group.\n
   iDisplayed is set to ETrue to make the control visible.\n
-*/    
+*/
 void CTestCone2Control::ConstructL()
-    {
+	{
 	CreateWindowL();
 	iDisplayed = ETrue;
-    }
+	}
+/**
+  Function to give access to the CCoeControl's protected CreateWindowL function.
+  This is intended for use only with Low Memory tests.
+*/
+TInt CTestCone2Control::CreateWindow()
+	{
+	TRAPD(err,CreateWindowL());
+	return err;
+	}
 /**
   Sets this control as visible or invisible.\n
   This causes the control to disappear or reappear.\n
   When a control is created, it is made visible by default.\n
-*/   
+*/
 void CTestCone2Control::MakeVisible(TBool aVisible)
-    {
+	{
 	iDisplayed = aVisible;
 	DrawNow();
-    }
+	}
 /**
   Destructor for the container control.\n
   Deletes the component control "CTestCone2Control".\n
@@ -604,7 +613,7 @@
 	__UHEAP_MARKEND;
 	}
 
- 
+
 /**
    @SYMTestCaseID UIF-TCone2Step-TestSetandGetCCoeControlAPIsL
   
@@ -624,26 +633,92 @@
    and retrieved correctly.
    
  */
-
 void CTestDriver::TestSetandGetCCoeControlAPIsL()
 	{
- 	// Create a new CCoeControl object
+	// Create a new CCoeControl object
 	CCoeControl* testCtrl = new (ELeave) CCoeControl();
 	CleanupStack::PushL(testCtrl);
-	
+
 	// Part 1: Check that a default value of 0 is returned when no
-	// max width value has been set yet.  
+	// max width value has been set yet.
 	iStep->TEST(testCtrl->MaximumWidth() == 0);
-	
+
 	// Part 2: Set the maximum width to a new value.
 	TInt newMaxWidth = 5;
 	iStep->TEST(testCtrl->SetMaximumWidth(newMaxWidth) == KErrNone);
- 
- 	// Part 3: Access maximum width. Test that it equals the
- 	// value previously set.
- 	iStep->TEST(testCtrl->MaximumWidth() == newMaxWidth);
- 	
-	CleanupStack::PopAndDestroy(testCtrl); 	
+
+	// Part 3: Access maximum width. Test that it equals the
+	// value previously set.
+	iStep->TEST(testCtrl->MaximumWidth() == newMaxWidth);
+
+	CleanupStack::PopAndDestroy(testCtrl);
+	}
+
+/**
+   @SYMTestCaseID UIF-TCone2Step-TestSetandGetCCoeControlAPIsL
+
+   @SYMDEF ou1cimx1#261261
+
+   @SYMTestCaseDesc Tests creating a CCoeControl in low memory conditions.
+   In particular it tries to trip up the RCoeDynamicDataStorage mechanism.
+
+   @SYMTestPriority High
+
+   @SYMTestStatus Implemented
+
+   @SYMTestActions The test creates a CCoeControl object in an OOM loop with different burst values.
+   And sets and reads back a property that is stored in the DynamicDataStoreage.
+   Note: This test didn't actually suceed in producing the crash reported in the defect.
+   I couldn't see anyway to get to the crashing line with things in a bad state.
+
+   @SYMTestExpectedResults. The code doesn't crash.
+ */
+void CTestDriver::TestLowMemoryCoeControl()
+	{
+	CCoeControl* const parentVal=NULL;
+	CTestCone2Control* cnt;
+	CCoeControl* parent;
+	TInt burst;
+	TInt failRate;
+	TInt sucesses;
+	TBool sucess=EFalse;
+	TInt setErr;
+	TInt creErr;
+	for (burst=1;burst<15;++burst)
+		{
+		failRate=burst>1 ? 1:0;
+		sucesses=0;
+		do	{
+			cnt=NULL;
+			parent=reinterpret_cast<CCoeControl*>(KMaxTUint);
+			setErr=99;
+			creErr=99;
+			__UHEAP_BURSTFAILNEXT(failRate,burst);
+			__UHEAP_MARK;
+			cnt=new CTestCone2Control();
+			if (cnt)
+				{
+				setErr=cnt->SetParent(parentVal);
+				parent=cnt->Parent();
+				creErr=cnt->CreateWindow();
+				if (parent==parentVal && setErr==KErrNone && creErr==KErrNone)
+					sucess=ETrue;
+				delete cnt;
+				}
+			__UHEAP_MARKEND;
+			__UHEAP_RESET;
+			if (sucess)
+				{
+				++sucesses;
+				sucess=EFalse;
+				}
+			else
+				sucesses=0;
+			//Useful logging to see more details of what this code does
+			//INFO_PRINTF7(_L("FR=% 2d S=% 2d C=0x%x SE=%d WCE=%d PAR=0x%x"),failRate,sucesses,cnt,setErr,creErr,parent);
+			++failRate;
+			} while (sucesses<10);
+		}
 	}
 
 /**
@@ -693,121 +768,113 @@
    8. TestConeInputCapabilitiesAPIs
    9. TestSetAndGetSystemDefaultViewAPIsL
    10. TestSetandGetCCoeControlAPIsL
+   11. TestLowMemoryCoeControl
  */
 
 void CCone2TestAppUi::RunTestStepL(TInt aStepNum)
 	{
+	_LIT(KTest11Name,"UIF-TCone2Step-LowMemoryCoeControlConstruction");
+	_LIT(KTest11Desc,"Test creating CCoeControl in low memory");
+	_LIT(KReturn,"...completed with return value '%d'\n");
+	_LIT(KFinished,"Test Finished\n");
+	TInt ret;
 
 	switch(aStepNum)
-		{	 
-		case 1:
-			{
-			SetTestStepID(_L("UIF-TCone2Step-TestIsDisplayingDialogAndRemoveFromStackAPIsL"));
-			INFO_PRINTF1(_L("Test IsDisplayingDialog() and RemoveFromStack() APIs"));
-			TRAPD(ret, iDriver->TestIsDisplayingDialogAndRemoveFromStackAPIsL());
-			INFO_PRINTF2(_L("...completed with return value '%d'\n"), ret);
-			TEST(ret==KErrNone);
-			RecordTestResultL();
-			break;
-			}
-		case 2:
-			{
-			SetTestStepID(_L("UIF-TCone2Step-TestMakeVisibleOnChildControlsL"));
-			INFO_PRINTF1(_L("Test makevisible on its child controls"));
-			TRAPD(ret, iDriver->TestMakeVisibleOnChildControlsL());
-			INFO_PRINTF2(_L("...completed with return value '%d'\n"), ret);
-			TEST(ret==KErrNone);
-			RecordTestResultL();
-			break;
-			}
-		case 3:
-			{
-			SetTestStepID(_L("UIF-TCone2Step-TestAppHelpContextAPIL"));
-			INFO_PRINTF1(_L("Test AppHelpContext API"));
-			TRAPD(ret, iDriver->TestAppHelpContextAPIL());
-			INFO_PRINTF2(_L("...completed with return value '%d'\n"), ret);
-			TEST(ret==KErrNone);
-			RecordTestResultL();
-			break;
-			}
-		case 4:
-			{
-			SetTestStepID(_L("UIF-TCone2Step-TestReadResourceAPIsL"));
-			INFO_PRINTF1(_L("Test ReadResource APIs"));
-			TRAPD(ret, iDriver->TestReadResourceAPIsL());
-			INFO_PRINTF2(_L("...completed with return value '%d'\n"), ret);
-			TEST(ret==KErrNone);
-			RecordTestResultL();
-			break;
-			}
-		case 5:
-			{
-			SetTestStepID(_L("UIF-TCone2Step-TestCoeControlAPIsL"));
-			INFO_PRINTF1(_L("Test SetContainerWindow APIs"));
-			TRAPD(ret, iDriver->TestCoeControlAPIsL());
-			INFO_PRINTF2(_L("...completed with return value '%d'\n"), ret);
-			TEST(ret==KErrNone);
-			RecordTestResultL();
-			break;
-			}
-		case 6:
-			{
-			SetTestStepID(_L("UIF-TCone2Step-TestColorUseAPIsL"));
-			INFO_PRINTF1(_L("Test ColorUse APIs"));
-			TRAPD(ret, iDriver->TestColorUseAPIsL());
-			INFO_PRINTF2(_L("...completed with return value '%d'\n"), ret);
-			TEST(ret==KErrNone);
-			RecordTestResultL();
-			break;
-			}
-		case 7:
-			{
-			SetTestStepID(_L("UIF-TCone2Step-TestConeAppUiSimpleAndMiscAPIsL"));
-			INFO_PRINTF1(_L("Test Cone Misc APIs"));
-			TRAPD(ret, iDriver->TestConeMiscAPIsL());
-			INFO_PRINTF2(_L("...completed with return value '%d'\n"), ret);
-			TEST(ret==KErrNone);
-			RecordTestResultL();
-			break;
-			}
-		case 8:
-			{
-			SetTestStepID(_L("UIF-TCone2Step-TestConeInputCapabilitiesAPIs"));
-			INFO_PRINTF1(_L("Test InputCapabilities APIs"));
-			TRAPD(ret, iDriver->TestConeInputCapabilitiesAPIs());
-			INFO_PRINTF2(_L("...completed with return value '%d'\n"), ret);
-			TEST(ret==KErrNone);
-			RecordTestResultL();
-			break;
-			}
-		case 9:
-			{
-			SetTestStepID(_L("UIF-TCone2Step-TestSetAndGetSystemDefaultViewAPIsL"));
-			INFO_PRINTF1(_L("Test Set and Get system default view APIs"));
-			TRAPD(ret, iDriver->TestSetAndGetSystemDefaultViewAPIsL());
-			INFO_PRINTF2(_L("...completed with return value '%d'\n"), ret);
-			TEST(ret==KErrNone);
-			RecordTestResultL();
-			break;
-			}
-		case 10:
-			{
-			SetTestStepID(_L("UIF-TCone2Step-TestSetandGetCCoeControlAPIsL"));
-			INFO_PRINTF1(_L("Test Set and Get APIs for CCoeControl"));
-			TRAPD(ret, iDriver->TestSetandGetCCoeControlAPIsL());
-			INFO_PRINTF2(_L("...completed with return value '%d'\n"), ret);
-			TEST(ret==KErrNone);
-			RecordTestResultL();
-			CloseTMSGraphicsStep();
-			break;
-			}
-		case 11:
-			AutoTestManager().FinishAllTestCases(CAutoTestManager::EPass);
-			break;
-		default:
-			break;
+		{
+	case 1:
+		SetTestStepID(_L("UIF-TCone2Step-TestIsDisplayingDialogAndRemoveFromStackAPIsL"));
+		INFO_PRINTF1(_L("Test IsDisplayingDialog() and RemoveFromStack() APIs"));
+		TRAP(ret,iDriver->TestIsDisplayingDialogAndRemoveFromStackAPIsL());
+		INFO_PRINTF2(KReturn,ret);
+		TEST(ret==KErrNone);
+		RecordTestResultL();
+		break;
+	case 2:
+		SetTestStepID(_L("UIF-TCone2Step-TestMakeVisibleOnChildControlsL"));
+		INFO_PRINTF1(_L("Test makevisible on its child controls"));
+		TRAP(ret,iDriver->TestMakeVisibleOnChildControlsL());
+		INFO_PRINTF2(KReturn,ret);
+		TEST(ret==KErrNone);
+		RecordTestResultL();
+		break;
+	case 3:
+		SetTestStepID(_L("UIF-TCone2Step-TestAppHelpContextAPIL"));
+		INFO_PRINTF1(_L("Test AppHelpContext API"));
+		TRAP(ret,iDriver->TestAppHelpContextAPIL());
+		INFO_PRINTF2(KReturn,ret);
+		TEST(ret==KErrNone);
+		RecordTestResultL();
+		break;
+	case 4:
+		SetTestStepID(_L("UIF-TCone2Step-TestReadResourceAPIsL"));
+		INFO_PRINTF1(_L("Test ReadResource APIs"));
+		TRAP(ret,iDriver->TestReadResourceAPIsL());
+		INFO_PRINTF2(KReturn,ret);
+		TEST(ret==KErrNone);
+		RecordTestResultL();
+		break;
+	case 5:
+		SetTestStepID(_L("UIF-TCone2Step-TestCoeControlAPIsL"));
+		INFO_PRINTF1(_L("Test SetContainerWindow APIs"));
+		TRAP(ret,iDriver->TestCoeControlAPIsL());
+		INFO_PRINTF2(KReturn,ret);
+		TEST(ret==KErrNone);
+		RecordTestResultL();
+		break;
+	case 6:
+		SetTestStepID(_L("UIF-TCone2Step-TestColorUseAPIsL"));
+		INFO_PRINTF1(_L("Test ColorUse APIs"));
+		TRAP(ret,iDriver->TestColorUseAPIsL());
+		INFO_PRINTF2(KReturn,ret);
+		TEST(ret==KErrNone);
+		RecordTestResultL();
+		break;
+	case 7:
+		SetTestStepID(_L("UIF-TCone2Step-TestConeAppUiSimpleAndMiscAPIsL"));
+		INFO_PRINTF1(_L("Test Cone Misc APIs"));
+		TRAP(ret,iDriver->TestConeMiscAPIsL());
+		INFO_PRINTF2(KReturn,ret);
+		TEST(ret==KErrNone);
+		RecordTestResultL();
+		break;
+	case 8:
+		SetTestStepID(_L("UIF-TCone2Step-TestConeInputCapabilitiesAPIs"));
+		INFO_PRINTF1(_L("Test InputCapabilities APIs"));
+		TRAP(ret,iDriver->TestConeInputCapabilitiesAPIs());
+		INFO_PRINTF2(KReturn,ret);
+		TEST(ret==KErrNone);
+		RecordTestResultL();
+		break;
+	case 9:
+		SetTestStepID(_L("UIF-TCone2Step-TestSetAndGetSystemDefaultViewAPIsL"));
+		INFO_PRINTF1(_L("Test Set and Get system default view APIs"));
+		TRAP(ret,iDriver->TestSetAndGetSystemDefaultViewAPIsL());
+		INFO_PRINTF2(KReturn,ret);
+		TEST(ret==KErrNone);
+		RecordTestResultL();
+		break;
+	case 10:
+		SetTestStepID(_L("UIF-TCone2Step-TestSetandGetCCoeControlAPIsL"));
+		INFO_PRINTF1(_L("Test Set and Get APIs for CCoeControl"));
+		TRAP(ret,iDriver->TestSetandGetCCoeControlAPIsL());
+		INFO_PRINTF2(KReturn,ret);
+		TEST(ret==KErrNone);
+		RecordTestResultL();
+		break;
+	case 11:
+		SetTestStepID(KTest11Name);
+		INFO_PRINTF1(KTest11Desc);
+		iDriver->TestLowMemoryCoeControl();
+		INFO_PRINTF1(KFinished);
+		RecordTestResultL();
+		CloseTMSGraphicsStep();
+		break;
+	case 12:
+		AutoTestManager().FinishAllTestCases(CAutoTestManager::EPass);
+		break;
+	default:
+		break;
 		}
-
 	}
 
 /**
--- a/lafagnosticuifoundation/cone/tef/TCONE6STEP.CPP	Mon May 03 12:45:33 2010 +0300
+++ b/lafagnosticuifoundation/cone/tef/TCONE6STEP.CPP	Fri May 14 16:06:26 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2005-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"
@@ -605,96 +605,45 @@
 	delete child ;
 	return ( err == KErrNoMemory ) ;
 	}
-	
-NONSHARABLE_CLASS(RDebugHeap) : public RHeap
-	{
-public:
-	static bool OOMTrigered() 
-		{
-		RDebugHeap& heap = STATIC_CAST(RDebugHeap&,User::Heap());
-		return (!(heap.iFailAllocCount%heap.iFailRate) && (RAllocator::ENone == heap.iFailType));
-		}
-	static bool OOMComplete() 
-		{
-		RDebugHeap& heap = STATIC_CAST(RDebugHeap&,User::Heap());
-		return ((RAllocator::EFailNext == heap.iFailType) && (heap.iFailAllocCount%heap.iFailRate));
-		}
-	};
 
+// Check that we can still insert into the array even when OOM
 TBool CCtlContainer::TestInsertAfter()
-	{
-	_LIT(KNameDes, "child3");
-	CCtlContainee* child = NULL;
-
-	TInt err;
-	TInt oomCount = 1;
+    {
+    _LIT(KNameDes, "child3");
+    CCtlContainee* child = NULL;
+    TInt err;
 
-#ifdef __WINS__
-	while(oomCount < 100)
-		{
-		__UHEAP_FAILNEXT(oomCount);
-		err = KErrNone;
-#endif
-		TRAP(err,
-			{
-			child = new (ELeave) CCtlContainee;
-			Components().InsertAfterLC(KChildOneID, child, KChildFiveID);
-			child->ConstructL(KNameDes);
-			CleanupStack::Pop(child);
-			});
-#ifdef __WINS__
-		if (RDebugHeap::OOMTrigered())
-			{
-			__UHEAP_RESET;
-			if(err == KErrNone)
-				{
-				if(Components().At(1).iId != KChildFiveID)
-					{
-					return EFalse;
-					}
-				Components().Remove( child );
-				delete child;
-				}
-			if(Components().At(1).iId == KChildFiveID)
-				{
-				return EFalse;
-				}
-			if(err != KErrNone && err != KErrNoMemory)
-				{
-				return EFalse;
-				}
+    TRAP(err,
+        {
+        child = new (ELeave) CCtlContainee;
+        child->ConstructL(KNameDes);
+        });
+    
+    if(err ==KErrNone)
+        {
+        // Now check that the next insert succeeds even when OOM
+        __UHEAP_FAILNEXT(1);
+        
+        TRAP(err,
+            {
+            Components().InsertAfterLC(KChildOneID, child, KChildFiveID);
+            CleanupStack::Pop(child);
+            });
+            
+        __UHEAP_RESET;
+        
+        if(err == KErrNone)
+            {
+            if(Components().At(1).iId == KChildFiveID)
+                {
+                return ETrue;   // Insert succeeded, test has passed
+                }
+            }
+        }
 
-			// If we get to here, it was a properly-handled OOM situation
-			oomCount++;
-			}
-		else if(RDebugHeap::OOMComplete())
-			{
-			__UHEAP_RESET;
-			break;
-			}
-		else
-			{
-			__UHEAP_RESET;
-			return EFalse;
-			}
-		}
-#endif
-	if (err == KErrNone && oomCount != 100)
-		{
-		if (Components().At(1).iId == KChildFiveID)
-			{
-			return ETrue;
-			}
-		else
-			{
-			return EFalse;
-			}
-		}
-	else
-		{
-		return EFalse;
-		}
-	}
+    return EFalse;   // An error has occurred, fail the test
+    }
+
 
 //Tests the Insertion of the control after the last control using InsertAfterLC 
 TBool CCtlContainer::TestInsertLast()
--- a/lafagnosticuifoundation/cone/tef/TCone2Step.h	Mon May 03 12:45:33 2010 +0300
+++ b/lafagnosticuifoundation/cone/tef/TCone2Step.h	Fri May 14 16:06:26 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2007-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"
@@ -48,12 +48,13 @@
 	{
 public:
 	DECLARE_TYPE_ID(0x10004C77)
-    void ConstructL();
+	void ConstructL();
+	TInt CreateWindow();
 private: // from CCoeControl
 	void MakeVisible(TBool aVisible);
 public:
-    TBool iDisplayed;
-    };
+	TBool iDisplayed;
+	};
 
 
 //! A CCoeControl Derived Class.\n
@@ -97,7 +98,8 @@
 	void TestConeInputCapabilitiesAPIs();
 	void TestReadResourceAPIsL();
 	void TestSetandGetCCoeControlAPIsL();
-	CTestExecuteLogger& Logger(){return iStep->Logger();};
+	void TestLowMemoryCoeControl();
+	inline CTestExecuteLogger& Logger() {return iStep->Logger();}
 private:
 	//! Handle to AppUi Class.\n
 	CCoeAppUi& iAppUi;
--- a/psln/Rss/Psln.rss	Mon May 03 12:45:33 2010 +0300
+++ b/psln/Rss/Psln.rss	Fri May 14 16:06:26 2010 +0300
@@ -37,8 +37,6 @@
 
 // Commands etc.
 #include <AvkonIcons.hrh>
-#include <CommonDialogs.rh>
-#include <CommonDialogs.hrh>
 #include <data_caging_paths_strings.hrh>
 
 // Localized texts.
--- a/uifw/AvKon/srcdata/avkon.rss	Mon May 03 12:45:33 2010 +0300
+++ b/uifw/AvKon/srcdata/avkon.rss	Fri May 14 16:06:26 2010 +0300
@@ -35,8 +35,8 @@
 #include <aknsconstants.hrh>
 
 #include <smiley.mbg>
-#include <trui_icons.mbg>
-#include <peninputcommonctrls.loc>
+//#include <trui_icons.mbg>
+//#include <peninputcommonctrls.loc>
 
 RESOURCE RSS_SIGNATURE { }
 
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg.mmp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/*
-* Copyright (c) 2002 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:  project specification file for the BCTestCmDlg.
-*
-*/
-
-
-#include <platform_paths.hrh>
-TARGET          BCTestCmDlg.exe
-TARGETTYPE      exe
-UID             0x0 0x2000475D
-
-VENDORID        0x101FB657
-CAPABILITY      NetworkServices LocalServices Location ReadUserData \
-                WriteUserData ReadDeviceData WriteDeviceData SwEvent UserEnvironment
-
-TARGETPATH      sys/bin
-
-EPOCSTACKSIZE 0x10000
-EPOCHEAPSIZE 0x10000 0x1000000
-
-START RESOURCE BCTestCmDlg.rss
-HEADER
-TARGETPATH resource/apps
-END  // RESOURCE
-
-LANG            01
-
-SOURCEPATH      ../Src
-SOURCE          bctestcmdlgapp.cpp
-SOURCE          bctestcmdlgdocument.cpp
-SOURCE          bctestcmdlgappui.cpp
-SOURCE          bctestcmdlgview.cpp
-SOURCE          bctestcmdlgcontainer.cpp
-SOURCE          bctestcmdlgcase.cpp
-SOURCE          bctestmemselpage.cpp
-SOURCE          bctestfileseldlg.cpp
-SOURCE          bctestfilenamedlg.cpp
-SOURCE          bctestcommondlg.cpp
-SOURCE          bctestmemselitem.cpp
-SOURCE          CVRSettingsDialogMMCSupported.cpp
-
-USERINCLUDE     . ../Inc
-USERINCLUDE     ../../../bctestutil/inc
-
-APP_LAYER_SYSTEMINCLUDE
-
-LIBRARY         euser.lib
-LIBRARY         apparc.lib
-LIBRARY         cone.lib
-LIBRARY         eikcore.lib
-LIBRARY         eikcoctl.lib
-LIBRARY         avkon.lib
-LIBRARY         ws32.lib
-LIBRARY         AknSkins.lib
-LIBRARY         apgrfx.lib
-LIBRARY         bctestutil.lib
-LIBRARY	        efsrv.lib
-LIBRARY	        commondialogs.lib
-LIBRARY         eikdlg.lib
-
-START RESOURCE ../group/bctestcmdlg_reg.rss
-DEPENDS bctestcmdlg.rsg
-HEADER
-TARGETPATH /private/10003a3f/apps
-END
-
-// End of File
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg.rss	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,630 +0,0 @@
-/*
-* 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:  resources for the module
-*
-*/
-
-
-//  RESOURCE IDENTIFIER
-NAME TEMP
-
-//  INCLUDES
-
-#include <eikon.rh>
-#include <eikon.rsg>
-#include <avkon.hrh>
-#include <avkon.mbg>
-#include <avkon.rsg>
-#include <avkon.rh>
-#include <avkonicons.hrh>
-
-#include <appinfo.rh>
-#include <commondialogs.rh>
-
-#include "bctestcmdlg.hrh"
-#include "bctestcmdlg.loc"
-
-//  CONSTANTS
-#define APP_BITMAP_DIR "\\resource\\apps"
-#define AVKON_BMP_FILENAME AVKON_ICON_FILE
-#define BCTESTCMDLG_BMP_FNAME APP_BITMAP_DIR"\\bctestcmdlg.mbm"
-#define PHONE    "C:\\Data\\"
-#define MMC      "E:\\"
-
-//  MACROS
-
-//  RESOURCE DEFINITIONS
-//-----------------------------------------------------------------------------
-//
-//    RSS_SIGNATURE
-//
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE RSS_SIGNATURE
-    {
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    TBUF16
-//
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE TBUF16
-    {
-    buf = "BCTestCmDlg";
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    EIK_APP_INFO
-//
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE EIK_APP_INFO
-    {
-    menubar = r_bctestcmdlg_menubar_main;
-    cba = r_bctestcmdlg_cba_options_next;
-    }
-
-// ---------------------------------------------------------
-//    Provide Caption and Icon Info for Scalable UI
-//
-// ---------------------------------------------------------
-//
-RESOURCE LOCALISABLE_APP_INFO r_bctestcmdlg_localisable_app_info
-    {
-    short_caption = qtn_apps_tavl_grid; 
-
-    caption_and_icon = 
-    CAPTION_AND_ICON_INFO
-        {
-        caption = qtn_apps_tavl_list; 
-        //number_of_icons = 2;
-        //icon_file = APP_BITMAP_DIR"\\bctestcmdlg_aif.mbm";
-        };
-    }
-    
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_view
-//    AVKON_VIEW for CBCTestCmDlgView
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE AVKON_VIEW r_bctestcmdlg_view
-    {
-    menubar = r_bctestcmdlg_menubar_main;
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_menubar
-//    MenuBar
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_BAR r_bctestcmdlg_menubar_main
-    {
-    titles =
-        {
-        MENU_TITLE
-            {
-            menu_pane = r_bctestcmdlg_menu;            
-            },
-        MENU_TITLE
-            {
-            menu_pane = r_bctestcmdlg_case_menu;
-            }
-        };
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_case_menu
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_case_menu
-    {
-    items = 
-        {
-        MENU_ITEM
-            {
-            cascade = r_bctestcmdlg_mem_sel_menu;
-            txt = "Test Mem select dlg";
-            },
-		MENU_ITEM
-            {
-            cascade = r_bctestcmdlg_mem_sel_page;
-            txt = "Test Mem select page";
-            },
-		MENU_ITEM
-            {
-            cascade = r_bctestcmdlg_file_sel_dlg;
-            txt = "Test File select dlg";
-            },
-		MENU_ITEM
-            {
-            cascade = r_bctestcmdlg_file_name_dlg;
-            txt = "Test File prompt dlg";
-            },
-		MENU_ITEM
-            {
-            cascade = r_bctestcmdlg_common_dlg;
-            txt = "Test common dlg";
-            },
-		MENU_ITEM
-            {
-            cascade = r_bctestcmdlg_mem_sel_setting_item;
-            txt = "Test mem select item";
-            }
-        };
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_mem_sel_menu
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_mem_sel_menu
-    {
-    items = 
-        {
-        MENU_ITEM
-            {
-            command = EBCTestCmdMemSelDlgCreate;
-            txt = "Test NewL and ExecuteL";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelDlgCreateWithRes;
-            txt = "Test NewL with Res";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelDlgWithRoot;
-            txt = "Test With Root";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelDlgQuick;
-            txt = "Test RunDlgL";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelDlgQuickTitle;
-            txt = "Test RunDlgL with title";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelDlgQuickRes;
-            txt = "Test RunDlgL with ResID";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelDlgSetting;
-            txt = "Test Settings";
-            }
-        };
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_mem_sel_page
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_mem_sel_page
-    {
-    items = 
-        {
-        MENU_ITEM
-            {
-            command = EBCTestCmdMemSelPageCreate;
-            txt = "Test NewL and ExecuteL";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelPageCreateRes;
-            txt = "Test Create with Res";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelPageQuickCreate;
-            txt = "Test Quick Create";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelPageQuickCreateTitle;
-            txt = "Test Quick Create with Title";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelPageQuickCreateRes;
-            txt = "Test Quick Create with Res";
-            }
-        };
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_file_sel_dlg
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_file_sel_dlg
-    {
-    items = 
-        {
-        MENU_ITEM
-            {
-            command = EBCTestCmdFileSelDlgCreate;
-            txt = "Test NewL and ExecuteL";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileSelDlgCreateRes;
-            txt = "Test Create with ResID";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileSelDlgQuickCreate;
-            txt = "Test Quick Create";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileSelDlgQuickCreateTitle;
-            txt = "Test Quick Create with Title";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileSelDlgQuickCreateRes;
-            txt = "Test Quick Create with Res";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileSelDlgSettings;
-            txt = "Test Settings";
-            }
-        };
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_file_name_dlg
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_file_name_dlg
-    {
-    items = 
-        {
-        MENU_ITEM
-            {
-            command = EBCTestCmdFileNameDlgCreate;
-            txt = "Test NewL and ExecuteL";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileNameDlgCreateRes;
-            txt = "Test Create with ResID";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileNameDlgQuickCreate;
-            txt = "Test Quick Create";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileNameDlgQuickCreateTitle;
-            txt = "Test Quick Create with Title";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileNameDlgQuickCreateRes;
-            txt = "Test Quick Create with Res";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdFileNameDlgSettings;
-            txt = "Test Settings";
-            }
-        };
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_file_name_dlg
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_mem_sel_setting_item
-    {
-    items = 
-        {
-        MENU_ITEM
-            {
-            command = EBCTestCmdMemSelSettingItemCreate;
-            txt = "Test Create";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelSettingItemEdit;
-            txt = "Test Edit";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelSettingItemStore;
-            txt = "Test Quick Create";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdMemSelSettingItemSetting;
-            txt = "Test Setting";
-            }
-        };
-    }
-
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_common_dlg
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_common_dlg
-    {
-    items = 
-        {
-		//select
-        MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect1;
-            txt = "Test Select 1";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect2;
-            txt = "Test Select 2";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect3;
-            txt = "Test Select 3";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect4;
-            txt = "Test Select 4";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect5;
-            txt = "Test Select 5";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect6;
-            txt = "Test Select 6";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect7;
-            txt = "Test Select 7";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSelect8;
-            txt = "Test Select 8";
-            },
-		//move
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgMove1;
-            txt = "Test Move 1";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgMove2;
-            txt = "Test Move 2";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgMove3;
-            txt = "Test Move 3";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgMove4;
-            txt = "Test Move 4";
-            },
-		//save
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSave1;
-            txt = "Test Save 1";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSave2;
-            txt = "Test Save 2";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSave3;
-            txt = "Test Save 3";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSave4;
-            txt = "Test Save 4";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSave5;
-            txt = "Test Save 5";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSave6;
-            txt = "Test Save 6";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgSave7;
-            txt = "Test Save 7";
-            },
-		//copy
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgCopy1;
-            txt = "Test Copy 1";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgCopy2;
-            txt = "Test Copy 2";
-            },
-		MENU_ITEM
-            {
-            command = EBCTestCmdCommonDlgCopy3;
-            txt = "Test Copy 3";
-            }
-        };
-    }
-
-
-
-
-            
-            
-//-----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_menu
-//    Menu pane
-//
-//-----------------------------------------------------------------------------
-//
-RESOURCE MENU_PANE r_bctestcmdlg_menu
-    {
-    items =
-        {
-        MENU_ITEM
-            {
-            command = EProgCmdAutoTest;
-            txt = qtn_bctestcmdlg_autotest;
-            },
-        MENU_ITEM // Menu "Exit"
-            {
-            command = EAknCmdExit;
-            txt = qtn_bctestcmdlg_menu_exit;
-            }
-        };
-    }
-
-// ----------------------------------------------------------------------------
-//
-//    r_bctestcmdlg_cba_options_next
-//    ?description
-//
-// ----------------------------------------------------------------------------
-//
-
-RESOURCE CBA r_bctestcmdlg_cba_options_next
-    {
-    buttons =
-	{
-	CBA_BUTTON 
-	    {
-	    id=EAknSoftkeyOptions; 
-	    txt = text_softkey_option;
-	    },
-        AVKON_CBA_BUTTON
-            {
-            id = EBCTestCmDlgCbaCmdNext;
-            txt = qtn_bctestcmdlg_cba_next;
-            }
-	};
-    }
-
-RESOURCE MEMORYSELECTIONDIALOG r_bctest_memory_selection_locations
-	{
-	locations =
-		{
-		LOCATION { root_path = PHONE; },
-		LOCATION { root_path = MMC; }
-		};
-	}
-
-RESOURCE FILESELECTIONDIALOG r_bctest_file_selection_all
-	{
-	title = "resTitle";
-	softkey_1_file = "resSk1";
-	softkey_1_folder = "resSk2";
-	softkey_2_root_level = "resSk3";
-	softkey_2_subfolder = "resSk4";
-	root_path = "C:\\Data\\";
-	default_folder = "Sounds\\";
-	}
-
-RESOURCE MENU_BAR r_vr_settings_menubar
-	{
-	titles=
-		{
-		MENU_TITLE { menu_pane = r_vr_settings_menupane; }
-		};
-	}
-
-RESOURCE MENU_PANE r_vr_settings_menupane
-	{
-	items=
-		{
-		MENU_ITEM { command = ECmdChange;		txt = "change"; }
-		};
-	}
-
-RESOURCE TBUF r_qtn_vorec_set_store { buf = "set store"; }
-
-RESOURCE DIALOG r_vr_settings_dialog
-	{
-	buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
-	flags = EEikDialogFlagWait | EEikDialogFlagNoDrag
-			| EEikDialogFlagCbaButtons | EEikDialogFlagNoTitleBar
-			| EEikDialogFlagFillAppClientRect;
-	items =
-		{
-		DLG_LINE
-			{
-			type = EAknCtSettingListBox;
-			id = EVRSettingsListboxId;
-			itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
-			control = LISTBOX
-				{
-				flags = EAknListBoxSelectionList;
-				};
-			}
-		};
-	}
-// End of File
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/group/bctestcmdlg_reg.rss	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-/*
-* Copyright (c) 2009 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:
-*
-*/
-#include <appinfo.rh>
-#include <bctestcmdlg.rsg>
-
-UID2 KUidAppRegistrationResourceFile
-UID3 0x2000475D // application UID
-
-RESOURCE APP_REGISTRATION_INFO
-    {
-    app_file = "bctestcmdlg";
-    localisable_resource_file = "\\resource\\apps\\bctestcmdlg";
-    localisable_resource_id = R_BCTESTCMDLG_LOCALISABLE_APP_INFO;
-    hidden = KAppIsHidden;
-    embeddability = KAppNotEmbeddable;
-    group_name = "BCTest";
-    }
-
-// End of File
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/group/bld.inf	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-/*
-* Copyright (c) 2002 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:  build information
-*
-*/
-
-
-
-
-PRJ_MMPFILES
-
-bctestcmdlg.mmp
-
-// End of File
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/CVRSettingsDialogMMCSupported.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,100 +0,0 @@
-/*
-* Copyright (c) 2009 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 __CVRSETTINGSDIALOG_H__
-#define __CVRSETTINGSDIALOG_H__
-
-//	INCLUDES
-#include <akndialog.h>
-#include <eiklbo.h>
-
-#include <CAknMemorySelectionDialog.h>
-#include <aknsettingitemlist.h>
-
-// CLASS DECLARATION
-
-/**
-* This class defines a settings dialog for the Voice Recorder application.
-*/
-class CVRSettingsDialog
-	: public CAknDialog,
-	  public MEikListBoxObserver
-	{
-
-	public:  // Constructors and destructor
-		
-		/**
-		* Destructor.
-		*/
-		~CVRSettingsDialog();
-
-		/**
-		* Two-phased constructor.
-		*/
-		static CVRSettingsDialog* NewL();
-		
-	private: // Constructors
-
-		/**
-        * Default constructor. Inlined to save a few bytes.
-		* Parameters to array: granularity, isnumered, 1st ordinal
-        */
-		inline CVRSettingsDialog() : iSettingItemArray( 1, EFalse, 1 ) {}
-	
-	protected: // from CEikDialog
-
-		/**
-		* Tests if it is OK to exit the dialog.
-		* @param aButtonId The ID of the button that was activated.
-		* @return ETrue to validate and exit the dialog,
-		*         EFalse to keep the dialog active. 
-		*/
-		TBool OkToExitL( TInt aButtonId );
-
-		/**
-		* Pre-layout dialog initialisation.
-		*/
-		void PreLayoutDynInitL();
-
-		void ProcessCommandL( TInt aCommandId );
-		
-
-	public: // From MEikListBoxObserver
-
-		/**
-		* Handles list box events.
-		* This is invoked by CEikListBox to notify the observer of
-		* list box events.
-		* @param aListBox The originating list box.
-		* @param aEventType A code for the event.
-		*/
-		void HandleListBoxEventL( CEikListBox* aListBox,
-								  TListBoxEvent aEventType );
-
-   private:    // data
-
-		/**
-		* Array of setting items contained in the listbox. Owned.
-		*/
-		CAknSettingItemArray iSettingItemArray;
-
-		/**
-		* Selected memo store
-		*/
-		CAknMemorySelectionDialog::TMemory iMemoStore;
-	};
-
-#endif	// __CVRSETTINGSDIALOG_H__
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/StreamLogger.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,124 +0,0 @@
-/*
-* Copyright (c) 2009 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:
-*
-*/
-//
-// just for simple use,
-// this file doesn't following any code convensions or symbian rules.
-//
-
-#ifndef __DLL_LOGGER_H__
-#define __DLL_LOGGER_H__
-
-#include <f32file.h>  // link against efsrv.lib
-#include <eikenv.h>
-
-#define CERR    StreamLogger::begin()
-
-/**
-* usage: StreamLogger::begin()<<"your string"<<yourNumber<<...<<end;
-*/
-class StreamLogger{
-
-    //
-    // internel class
-    // use RAII instead of symbian 2 phases contruction.
-    //
-    class LogFile{
-    public:
-        LogFile()
-        {
-            _LIT( KLogFile, "C:\\debug.log" );
-            RFs& fs = CEikonEnv::Static()->FsSession();
-            if ( file.Open( fs, KLogFile, EFileWrite | EFileShareAny ) != KErrNone )
-                file.Create( fs, KLogFile, EFileWrite | EFileShareAny );
-
-            TInt pos=0;  // this must be 0
-            file.Seek( ESeekEnd, pos );
-        }
-
-        ~LogFile(){
-            file.Close();
-        }
-
-        RFile& operator()(){ return file; }
-    private:
-        RFile file;
-    };
-
-public:
-    ~StreamLogger(){}
-
-    static StreamLogger& begin(){
-        StreamLogger* self = new (ELeave) StreamLogger;
-        return *self;
-    }
-
-    void suicide(){ delete this; }
-
-    StreamLogger& operator<<(const TDesC& aText){
-        LogFile file;
-
-        HBufC8* text = HBufC8::NewL( aText.Length() );
-        TPtr8 textPtr = text->Des();
-        textPtr.Copy( aText );
-        file().Write( *text );
-        delete text;
-
-        return *this;
-    }
-
-    StreamLogger& operator<<(TInt n){
-        LogFile file;
-
-        TInt i=1;
-        for(TInt v=n; v!=0; ++i, v/=10){}
-        HBufC* text = HBufC::NewL( i );
-        TPtr textPtr = text->Des();
-
-        _LIT(KFmt, "%d");
-        textPtr.Format( KFmt, n );
-        HBufC8*  text8 = HBufC8::NewL( textPtr.Length() );
-        TPtr8 textPtr8 = text8->Des();
-        textPtr8.Copy(*text);
-
-        file().Write( *text8 );
-        delete text;
-        delete text8;
-
-        return *this;
-    }
-
-    StreamLogger& cr(){
-        LogFile file;
-        TBuf8<2> enter;
-        enter.Append( 13 );
-        enter.Append( 10 );
-        file().Write( enter );
-        return *this;
-    }
-
-    typedef StreamLogger& (*_Manipulator)(StreamLogger&);
-    StreamLogger& operator<<(_Manipulator op){ return op(*this); }
-
-private:
-    StreamLogger(){}    //disable ctor
-};
-
-inline StreamLogger& end(StreamLogger& self){ self.suicide(); return self; }
-
-inline StreamLogger& endl(StreamLogger& self){ self.cr(); return self; }
-
-#endif //__FILE_LOGGER_H__
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlg.hrh	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,160 +0,0 @@
-/*
-* 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:  BCTestCmDlg resource header file
-*
-*/
-
-
-#ifndef BCTESTCMDLG_HRH
-#define BCTESTCMDLG_HRH
-
-enum TBCTestCmDlgMenuCommands
-    {
-    EBCTestCmdEmptyOutline = 0x6000,
-
-	EBCTestCmdMemSelDlgBegin,
-    EBCTestCmdMemSelDlgCreate,
-	EBCTestCmdMemSelDlgCreateWithRes,
-	EBCTestCmdMemSelDlgWithRoot,
-	EBCTestCmdMemSelDlgQuick,
-	EBCTestCmdMemSelDlgQuickTitle,
-	EBCTestCmdMemSelDlgQuickRes,
-	EBCTestCmdMemSelDlgSetting,
-	EBCTestCmdMemSelDlgEnd,
-
-	EBCTestCmdMemSelPageBegin,
-	EBCTestCmdMemSelPageCreate,
-	EBCTestCmdMemSelPageCreateRes,
-	EBCTestCmdMemSelPageQuickCreate,
-	EBCTestCmdMemSelPageQuickCreateTitle,
-	EBCTestCmdMemSelPageQuickCreateRes,
-	EBCTestCmdMemSelPageEnd,
-
-	EBCTestCmdFileSelDlgBegin,
-	EBCTestCmdFileSelDlgCreate,
-	EBCTestCmdFileSelDlgCreateRes,
-	EBCTestCmdFileSelDlgQuickCreate,
-	EBCTestCmdFileSelDlgQuickCreateTitle,
-	EBCTestCmdFileSelDlgQuickCreateRes,
-	EBCTestCmdFileSelDlgSettings,
-	EBCTestCmdFileSelDlgEnd,
-
-	EBCTestCmdFileNameDlgBegin,
-	EBCTestCmdFileNameDlgCreate,
-	EBCTestCmdFileNameDlgCreateRes,
-	EBCTestCmdFileNameDlgQuickCreate,
-	EBCTestCmdFileNameDlgQuickCreateTitle,
-	EBCTestCmdFileNameDlgQuickCreateRes,
-	EBCTestCmdFileNameDlgSettings,
-	EBCTestCmdFileNameDlgEnd,
-
-	EBCTestCmdCommonDlgBegin,
-	//select
-	EBCTestCmdCommonDlgSelect1,
-	EBCTestCmdCommonDlgSelect2,
-	EBCTestCmdCommonDlgSelect3,
-	EBCTestCmdCommonDlgSelect4,
-	EBCTestCmdCommonDlgSelect5,
-	EBCTestCmdCommonDlgSelect6,
-	EBCTestCmdCommonDlgSelect7,
-	EBCTestCmdCommonDlgSelect8,
-
-	//move
-	EBCTestCmdCommonDlgMove1,
-	EBCTestCmdCommonDlgMove2,
-	EBCTestCmdCommonDlgMove3,
-	EBCTestCmdCommonDlgMove4,
-
-	//save
-	EBCTestCmdCommonDlgSave1,
-	EBCTestCmdCommonDlgSave2,
-	EBCTestCmdCommonDlgSave3,
-	EBCTestCmdCommonDlgSave4,
-	EBCTestCmdCommonDlgSave5,
-	EBCTestCmdCommonDlgSave6,
-	EBCTestCmdCommonDlgSave7,
-
-	//copy
-	EBCTestCmdCommonDlgCopy1,
-	EBCTestCmdCommonDlgCopy2,
-	EBCTestCmdCommonDlgCopy3,
-	//
-	EBCTestCmdCommonDlgEnd,
-
-
-    
-
-
-
-
-    
-
-
-	EBCTestCmdMemSelSettingItemBegin,
-	EBCTestCmdMemSelSettingItemCreate,
-	EBCTestCmdMemSelSettingItemEdit,
-	EBCTestCmdMemSelSettingItemStore,
-	EBCTestCmdMemSelSettingItemSetting,
-	EBCTestCmdMemSelSettingItemEnd,
-
-    EBCTestCmdMaxOutline,
-    EProgCmdAutoTest
-    };
-
-enum TBCTestCmDlgCba
-    {
-    EBCTestCmDlgCbaCmdNext = 0x6300
-    };
-
-enum TVRDialogIds
-	{
-	EVRSettingsListboxId = 1	//Dialog control ID can't be zero
-	};
-
-enum TVRCommands
-	{
-	ECmdPlay = 100,			// Don't override EIKON IDs..
-	ECmdPause,
-	ECmdStop,
-	ECmdAutoStopInterrupted,
-	ECmdAutoStopAtEnd,
-	ECmdSilentStop,
-	ECmdRecord,
-	ECmdRewind,
-	ECmdForward,
-	ECmdRecordNew,
-	ECmdOpen,
-	ECmdDelete,
-	ECmdAddToPinboard,
-	ECmdRename,
-	ECmdSaveAttachment,
-	ECmdOk,
-	ECmdCancel,
-	ECmdSettings,
-	ECmdEditListCascade,
-	ECmdChange,
-	ECmdHelp,
-	ECmdGoToGallery,
-	ECmdEndKey,
-	ECmdCancelNote,
-	ECmdEmbeddedRecordingReady,
-	ECmdDisconnectCall,
-	ECmdNewFileServiceNotify,
-
-	ECmdSendVia			// This MUST be the last entry
-	};
-
-#endif // BCTESTCMDLG_HRH
-
-// End of File
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlg.loc	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-/*
-* Copyright (c) 2002 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:  BCTestCmDlg localise file
-*
-*/
-
-
-//  LOCALISATION STRINGS
-
-// Caption
-#define qtn_apps_tavl_list              "BCTESTCMDLG"
-#define qtn_apps_tavl_grid              "BCTESTCMDLG"
-
-// MenuBar
-#define qtn_bctestcmdlg_menubar         "Option"
-#define qtn_bctestcmdlg_cba_next        "Next"
-#define qtn_bctestcmdlg_autotest        "Autotest"
-#define qtn_bctestcmdlg_menu_exit       "Exit"
-
-// softkey
-#define text_softkey_option "Options"
-
-// outline 
-#define qtn_bctestcmdlg_outline1     "Outline01"
-
-
-#define qtn_bctestvolume_label_outline06 \
-"Press 2/8 <-, ->\nor side volume keys\nto see AknVolumePopup\n0,1 to change label"
-
-// Application name
-#define qtn_bctestvolume_text_other_app_name     "BCTestSoftkey"
-// End of File
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgapp.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-/*
-* Copyright (c) 2002 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:  Declares main application class.
-*
-*/
-
-
-#ifndef BCTESTCMDLGAPP_H
-#define BCTESTCMDLGAPP_H
-
-// INCLUDES
-#include <aknapp.h>
-
-// CONSTANTS
-const TUid KUidBCTestCmDlg = { 0x2000475D }; // UID of the application.
-
-// CLASS DECLARATION
-
-/**
-* CBCTestCmDlgApp application class.
-* Provides factory to create concrete document object.
-*/
-class CBCTestCmDlgApp : public CAknApplication
-    {
-    private: // From CApaApplication
-
-        /**
-        * From CApaApplication, CreateDocumentL.
-        * Creates CBCTestCmDlgDocument document object.
-        * @return A pointer to the created document object.
-        */
-        CApaDocument* CreateDocumentL();
-
-        /**
-        * From CApaApplication, AppDllUid.
-        * Returns application's UID ( KUidBCTestCmDlg ).
-        * @return The value of KUidBCTestCmDlg.
-        */
-        TUid AppDllUid() const;
-
-    };
-
-#endif
-
-// End of File
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgappUi.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-/*
-* 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:  Test BC for Template control API.
-*
-*/
-
-
-#ifndef C_BCTESTCMDLGAPPUI_H
-#define C_BCTESTCMDLGAPPUI_H
-
-#include <aknviewappui.h>
-
-class CBCTestCmDlgView;
-
-/**
- *  Application UI class
- *
- *  @lib bctestutil.lib
- */
-class CBCTestCmDlgAppUi : public CAknViewAppUi
-    {
-    public: // Constructors and destructor
-
-        /**
-         * ctor
-         */
-        CBCTestCmDlgAppUi();
-
-        /**
-         * symbian 2nd ctor
-         */
-        void ConstructL();
-
-        /**
-         * dtor
-         */
-        virtual ~CBCTestCmDlgAppUi();
-
-    private:
-
-        /**
-         * From CEikAppUi
-         */
-        void HandleCommandL( TInt aCommand );
-
-    private: // data
-        
-        /**
-         * pointor to the view.
-         * own
-         */
-        CBCTestCmDlgView*  iView;
-    };
-
-#endif // C_BCTESTCMDLGAPPUI_H
-
-// End of File
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgcase.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-/*
-* 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:  test case
-*
-*/
-
-
-#ifndef BCTEST_CMDLG_CASE_H
-#define BCTEST_CMDLG_CASE_H
-
-#include <caknmemoryselectiondialog.h>
-#include "bctestcase.h"
-
-class CBCTestCmDlgContainer;
-class CCoeControl;
-
-/**
-* test case for various list classes
-*/
-class CBCTestCmDlgCase: public CBCTestCase
-    {
-public: // constructor and destructor
-    
-    /**
-    * Symbian 2nd static constructor
-    */
-    static CBCTestCmDlgCase* NewL();
-    
-    /**
-    * Destructor
-    */
-    virtual ~CBCTestCmDlgCase();
-    
-public: // from CBCTestCase
-    
-    /**
-    * Execute corresponding test functions for UI command
-    * @param aCmd, UI command
-    */
-    void RunL( TInt aCmd );
-
-protected: // new functions
-    
-    /**
-    * Build autotest script
-    */
-    void BuildScriptL();
-    
-    /**
-     * Create control or allocate resource for test
-     * @param aCmd UI command, maybe you need to do some work 
-     * for different outline
-     */
-    
-    /**
-     * Release resource used in test
-     */
-    void Teardown();
-    
-    /**
-     * Test functions
-     */
-        
-private: // constructor
-    
-    /**
-     * C++ default constructor
-     */
-    CBCTestCmDlgCase();
-    
-    /**
-     * Symbian 2nd constructor
-     */
-    void ConstructL();
-    
-private: // data
-    void TestSettingsL();
-    void TestQuickCreateL(TInt aResID);
-    void TestQuickCreateL(const TDesC& aTitle);
-    void TestWithRootL();
-    void TestCreateL(TInt aResID);
-    void SetupL();
-    void AddCancelL();
-    void AddOKL();
-    void TestQuickCreateL();
-    void TestCreateL();
-
-	CAknMemorySelectionDialog* iDlg;
-	CAknMemorySelectionDialog::TMemory iMemory;
-    };
-
-#endif // BCTEST_CMDLG_CASE_H
\ No newline at end of file
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgcontainer.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
-/*
-* 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:  container
-*
-*/
-
-#ifndef BCTEST_CMDLG_CONTAINER_H
-#define BCTEST_CMDLG_CONTAINER_H
-
-#include <coecntrl.h>
-
-/**
-* container class
-*/
-class CBCTestCmDlgContainer: public CCoeControl
-    {
-public: // constructor and destructor
-    
-    /**
-     * C++ default constructor
-     */
-    CBCTestCmDlgContainer();
-    
-    /**
-     * Destructor
-     */
-    virtual ~CBCTestCmDlgContainer();
-    
-    /**
-     * Symbian 2nd constructor
-     */
-    void ConstructL( const TRect& aRect );
-    
-public: // new functions
-    
-    /**
-    * Set component control, and container will own the control
-    * @param aControl pointer to a control.
-    */
-    void SetControl( CCoeControl* aControl ); 
-    
-    /**
-     * Delete control
-     */
-    void ResetControl();
-
-public: // from CCoeControl
-
-    /**
-     * Return count of component controls
-     */
-    TInt CountComponentControls() const;
-    
-    /**
-     * Return pointer to component control specified by index
-     * @param aIndex, a index to specify a component control
-     */
-    CCoeControl* ComponentControl( TInt aIndex ) const;
-
-private: // from CCoeControl    
-    
-    /**
-    * From CCoeControl, Draw.
-    * Fills the window's rectangle.
-    * @param aRect Region of the control to be (re)drawn.
-    */
-    void Draw( const TRect& aRect ) const;  
-    
-private: // data
-    
-    /**
-     * Pointer to component control.
-     * own
-     */
-    CCoeControl* iControl;  
-    
-    };    
-
-#endif // BCTEST_CMDLG_CONTAINER_H
\ No newline at end of file
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgdocument.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-/*
-* 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:
-*
-*/
-
-
-#ifndef C_BCTEST_CMDLG_DOCUMENT_H
-#define C_BCTEST_CMDLG_DOCUMENT_H
-
-// INCLUDES
-#include <eikdoc.h>
-
-// CONSTANTS
-
-// FORWARD DECLARATIONS
-class  CEikAppUi;
-
-// CLASS DECLARATION
-
-/**
-* CBCTestCmDlgDocument application class.
-*/
-class CBCTestCmDlgDocument : public CEikDocument
-    {
-    public: // Constructors and destructor
-
-        /**
-        * Symbian OS two-phased constructor.
-        * @return Pointer to created Document class object.
-        * @param aApp Reference to Application class object.
-        */
-        static CBCTestCmDlgDocument* NewL( CEikApplication& aApp );
-
-        /**
-        * Destructor.
-        */
-        virtual ~CBCTestCmDlgDocument();
-
-    private: // Constructors
-
-        /**
-        * Overload constructor.
-        * @param aApp Reference to Application class object.
-        */
-        CBCTestCmDlgDocument( CEikApplication& aApp );
-
-    private: // From CEikDocument
-
-        /**
-        * From CEikDocument, CreateAppUiL.
-        * Creates CBCTestTemplateAppUi "App UI" object.
-        * @return Pointer to created AppUi class object.
-        */
-        CEikAppUi* CreateAppUiL();
-
-    };
-
-#endif  // C_BCTEST_CMDLG_DOCUMENT_H
-
-// End of File
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgview.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-/*
-* 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:  Test BC for Template control API.
-*
-*/
-
-
-#ifndef BCTEST_CMDLG_VIEW_H
-#define BCTEST_CMDLG_VIEW_H
-
-#include <aknview.h>
-
-const TUid KBCTestCmDlgViewId = { 1 };
-
-class CBCTestCmDlgContainer;
-class CBCTestUtil;
-
-/**
- *  Application UI class
- *
- *  @lib bctestutil.lib
- */
-class CBCTestCmDlgView : public CAknView
-    {
-public: // Constructors and destructor
-
-    /**
-     * Symbian static 2nd constructor
-     */
-    static CBCTestCmDlgView* NewL();
-    
-    /**
-     * dtor
-     */
-    virtual ~CBCTestCmDlgView();
-
-public: // from CAknView
-    
-    /**
-     * Return view Id.
-     */
-    TUid Id() const;
-    
-    /**
-    * From CAknView, HandleCommandL.
-    * @param aCommand Command to be handled.
-    */
-    void HandleCommandL( TInt aCommand );
-    
-protected: // from CAknView
-    
-    /**
-     * When view is activated, do something
-     */
-    void DoActivateL( const TVwsViewId&, TUid, const TDesC8& );
-    
-    /**
-     * When view is deactivated, do something
-     */
-    void DoDeactivate();
-
-private: // constructor
-
-    /**
-     * C++ default constructor
-     */
-    CBCTestCmDlgView();
-
-    /**
-     * symbian 2nd ctor
-     */
-    void ConstructL();
-
-private: // data
-
-    /**
-     * pointor to the BC Test framework utility.
-     * own
-     */
-    CBCTestUtil*  iTestUtil;
-
-    /**
-     * pointor to the container.
-     * own
-     */
-    CBCTestCmDlgContainer*  iContainer;
-
-    };
-
-#endif // BCTEST_CMDLG_VIEW_H
-
-// End of File
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcommondlg.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,127 +0,0 @@
-/*
-* 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:  test case
-*
-*/
-
-
-#ifndef BCTEST_COMMON_DLG_H
-#define BCTEST_COMMON_DLG_H
-
-#include "bctestcase.h"
-
-class MAknFileFilter;
-
-/**
-* test case for various list classes
-*/
-class CBCTestCommonDlg: public CBCTestCase
-    {
-public: // constructor and destructor
-    
-    /**
-    * Symbian 2nd static constructor
-    */
-    static CBCTestCommonDlg* NewL();
-    
-    /**
-    * Destructor
-    */
-    virtual ~CBCTestCommonDlg();
-    
-public: // from CBCTestCase
-    
-    /**
-    * Execute corresponding test functions for UI command
-    * @param aCmd, UI command
-    */
-    void RunL( TInt aCmd );
-
-protected: // new functions
-    
-    /**
-    * Build autotest script
-    */
-    void BuildScriptL();
-    
-    /**
-     * Create control or allocate resource for test
-     * @param aCmd UI command, maybe you need to do some work 
-     * for different outline
-     */
-    
-    /**
-     * Release resource used in test
-     */
-    void Teardown();
-    
-    /**
-     * Test functions
-     */
-        
-private: // constructor
-    
-    /**
-     * C++ default constructor
-     */
-    CBCTestCommonDlg();
-    
-    /**
-     * Symbian 2nd constructor
-     */
-    void ConstructL();
-    
-private: // data
-    void RunCopyL(TInt aCmd);
-    void RunSaveL(TInt aCmd);
-    void RunMoveL(TInt aCmd);
-    void RunSelectL(TInt aCmd);
-
-    void BuildCopyScriptL(int i);
-    void BuildSaveScriptL(int i);
-    void BuildMoveScriptL(int i);
-    void BuildSelectScriptL(int i);
-
-    void SetupL();
-    void AddCancelL();
-    void AddOKL();
-    
-    void TestSelectL();
-    void TestSelectL(const TDesC& aTitle);
-    void TestSelectL(MAknFileFilter* aFilter);
-    void TestSelectL(TInt aFileSelResID);
-    void TestSelectL(const TDesC& aStartFolder, TInt aMemSelResID);
-    void TestSelectL(const TDesC& aStartFolder, MAknFileFilter* aFilter);
-    void TestSelectL(const TDesC& aStartFolder, TInt aMemSelResID, TInt aFileSelResID);
-    void TestSelectL(const TDesC& aStartFolder, const TDesC& aTitle);
-
-    void TestMoveL(TInt aFileSelResID);
-    void TestMoveL(MAknFileFilter* aFilter);
-    void TestMoveL(const TDesC& aTitle);
-    void TestMoveL();
-
-    void TestSaveL(TBool aDirFlag, TInt aMemSelResID, const TDesC& aPrompt);
-    void TestSaveL(TBool aDirFlag, TInt aMemSelResID);
-    void TestSaveL(TInt aFileSelResID, const TDesC& aPrompt);
-    void TestSaveL(TInt aFileSelResID);
-    void TestSaveL(const TDesC& aFileTitle, const TDesC& aPromptTitle);
-    void TestSaveL(MAknFileFilter* aFilter);
-    void TestSaveL();
-
-    void TestCopyL(TInt aFileSelResID);
-    void TestCopyL(MAknFileFilter* aFilter);
-    void TestCopyL();
-    };
-
-#endif // BCTEST_COMMON_DLG_H
\ No newline at end of file
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestfilenamedlg.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-/*
-* 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:  test case
-*
-*/
-
-
-#ifndef BCTEST_FILE_NAME_DLG_H
-#define BCTEST_FILE_NAME_DLG_H
-
-#include "bctestcase.h"
-
-class CAknFileNamePromptDialog;
-
-/**
-* test case for various list classes
-*/
-class CBCTestFileNameDlg: public CBCTestCase
-    {
-public: // constructor and destructor
-    
-    /**
-    * Symbian 2nd static constructor
-    */
-    static CBCTestFileNameDlg* NewL();
-    
-    /**
-    * Destructor
-    */
-    virtual ~CBCTestFileNameDlg();
-    
-public: // from CBCTestCase
-    
-    /**
-    * Execute corresponding test functions for UI command
-    * @param aCmd, UI command
-    */
-    void RunL( TInt aCmd );
-
-protected: // new functions
-    
-    /**
-    * Build autotest script
-    */
-    void BuildScriptL();
-    
-    /**
-     * Create control or allocate resource for test
-     * @param aCmd UI command, maybe you need to do some work 
-     * for different outline
-     */
-    
-    /**
-     * Release resource used in test
-     */
-    void Teardown();
-    
-    /**
-     * Test functions
-     */
-        
-private: // constructor
-    
-    /**
-     * C++ default constructor
-     */
-    CBCTestFileNameDlg();
-    
-    /**
-     * Symbian 2nd constructor
-     */
-    void ConstructL();
-    
-private: // data
-	    void TestSettingsL();
-	    void TestQuickCreateL(TInt aResID);
-	    void TestQuickCreateL(const TDesC& aTitle);
-	    void TestCreateL(TInt aResID);
-	    void SetupL();
-	    void AddCancelL();
-	    void AddOKL();
-	    void TestQuickCreateL();
-	    void TestCreateL();
-    
-	CAknFileNamePromptDialog* iDlg;
-    };
-
-#endif // BCTEST_FILE_NAME_DLG_H
\ No newline at end of file
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestfileseldlg.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,100 +0,0 @@
-/*
-* 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:  test case
-*
-*/
-
-
-#ifndef BCTEST_FILE_SEL_DLG_H
-#define BCTEST_FILE_SEL_DLG_H
-
-#include <caknfileselectiondialog.h>
-#include "bctestcase.h"
-
-class CCoeControl;
-
-/**
-* test case for various list classes
-*/
-class CBCTestFileSelDlg: public CBCTestCase
-    {
-public: // constructor and destructor
-    
-    /**
-    * Symbian 2nd static constructor
-    */
-    static CBCTestFileSelDlg* NewL();
-    
-    /**
-    * Destructor
-    */
-    virtual ~CBCTestFileSelDlg();
-    
-public: // from CBCTestCase
-    
-    /**
-    * Execute corresponding test functions for UI command
-    * @param aCmd, UI command
-    */
-    void RunL( TInt aCmd );
-
-protected: // new functions
-    
-    /**
-    * Build autotest script
-    */
-    void BuildScriptL();
-    
-    /**
-     * Create control or allocate resource for test
-     * @param aCmd UI command, maybe you need to do some work 
-     * for different outline
-     */
-    
-    /**
-     * Release resource used in test
-     */
-    void Teardown();
-    
-    /**
-     * Test functions
-     */
-        
-private: // constructor
-    
-    /**
-     * C++ default constructor
-     */
-    CBCTestFileSelDlg();
-    
-    /**
-     * Symbian 2nd constructor
-     */
-    void ConstructL();
-    
-private: // data
-	    void TestSettingsL();
-	    void TestQuickCreateL(TInt aResID);
-	    void TestQuickCreateL(const TDesC& aTitle);
-	    void TestCreateL(TInt aResID);
-	    void SetupL();
-	    void AddCancelL();
-	    void AddOKL();
-	    void TestQuickCreateL();
-	    void TestCreateL();
-    
-	CAknFileSelectionDialog* iDlg;
-    };
-
-#endif // BCTEST_FILE_SEL_DLG_H
\ No newline at end of file
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestmemselitem.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,98 +0,0 @@
-/*
-* 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:  test case
-*
-*/
-
-
-#ifndef BCTEST_MEM_SEL_SETTING_ITEM_H
-#define BCTEST_MEM_SEL_SETTING_ITEM_H
-
-#include <caknmemoryselectionsettingitem.h>
-#include "bctestcase.h"
-
-/**
-* test case for various list classes
-*/
-class CBCTestMemSelSettingItem: public CBCTestCase
-    {
-public: // constructor and destructor
-    
-    /**
-    * Symbian 2nd static constructor
-    */
-    static CBCTestMemSelSettingItem* NewL();
-    
-    /**
-    * Destructor
-    */
-    virtual ~CBCTestMemSelSettingItem();
-    
-public: // from CBCTestCase
-    
-    /**
-    * Execute corresponding test functions for UI command
-    * @param aCmd, UI command
-    */
-    void RunL( TInt aCmd );
-
-protected: // new functions
-    
-    /**
-    * Build autotest script
-    */
-    void BuildScriptL();
-    
-    /**
-     * Create control or allocate resource for test
-     * @param aCmd UI command, maybe you need to do some work 
-     * for different outline
-     */
-    
-    /**
-     * Release resource used in test
-     */
-    void Teardown();
-    
-    /**
-     * Test functions
-     */
-        
-private: // constructor
-    
-    /**
-     * C++ default constructor
-     */
-    CBCTestMemSelSettingItem();
-    
-    /**
-     * Symbian 2nd constructor
-     */
-    void ConstructL();
-    
-	void SetupL();
-	void AddCancelL();
-	void AddOKL();
-	
-	void TestCreateL();
-	void TestEditL();
-	void TestStoreL();
-	void TestSettingL();
-
-private: // data
-	CAknMemorySelectionSettingPage::TMemory iMemory;
-	CAknMemorySelectionSettingItem* iItem;
-    };
-
-#endif // BCTEST_MEM_SEL_SETTING_ITEM_H
\ No newline at end of file
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestmemselpage.h	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,101 +0,0 @@
-/*
-* 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:  test case
-*
-*/
-
-
-#ifndef BCTEST_MEM_SEL_SETTING_PAGE_H
-#define BCTEST_MEM_SEL_SETTING_PAGE_H
-
-#include <caknmemoryselectionsettingpage.h>
-#include "bctestcase.h"
-
-class CBCTestCmDlgContainer;
-class CCoeControl;
-
-/**
-* test case for various list classes
-*/
-class CBCTestMemSelSettingPage: public CBCTestCase
-    {
-public: // constructor and destructor
-    
-    /**
-    * Symbian 2nd static constructor
-    */
-    static CBCTestMemSelSettingPage* NewL();
-    
-    /**
-    * Destructor
-    */
-    virtual ~CBCTestMemSelSettingPage();
-    
-public: // from CBCTestCase
-    
-    /**
-    * Execute corresponding test functions for UI command
-    * @param aCmd, UI command
-    */
-    void RunL( TInt aCmd );
-
-protected: // new functions
-    
-    /**
-    * Build autotest script
-    */
-    void BuildScriptL();
-    
-    /**
-     * Create control or allocate resource for test
-     * @param aCmd UI command, maybe you need to do some work 
-     * for different outline
-     */
-    
-    /**
-     * Release resource used in test
-     */
-    void Teardown();
-    
-    /**
-     * Test functions
-     */
-        
-private: // constructor
-    
-    /**
-     * C++ default constructor
-     */
-    CBCTestMemSelSettingPage();
-    
-    /**
-     * Symbian 2nd constructor
-     */
-    void ConstructL();
-    
-private: // data
-	    void TestQuickCreateL(TInt aResID);
-	    void TestQuickCreateL(const TDesC& aTitle);
-	    void TestCreateL(TInt aResID);
-	    void SetupL();
-	    void AddCancelL();
-	    void AddOKL();
-	    void TestQuickCreateL();
-	    void TestCreateL();
-    
-	CAknMemorySelectionSettingPage* iDlg;
-	CAknMemorySelectionDialog::TMemory iMemory;
-    };
-
-#endif // BCTEST_MEM_SEL_SETTING_PAGE_H
\ No newline at end of file
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/sis/bctestcmdlg.pkg	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-;
-; Copyright (c) 2009 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:
-;
-; bctestcmdlg.pkg
-
-; Languages
-&EN
-
-; Header
-#{"bctestcmdlg"},(0x2000475D),1,0,0,TYPE=SA
-
-; List of localised vendor names
-%{"Vendor-EN"}
-
-; The non-localised, globally unique vendor name (mandatory)
-:"Nokia OY"
-
-;Supports Series 60 v 3.0
-;This line indicates that this installation is for the Series 60 platform v3.0
-;This line must appear _exactly_ as shown below in the sis file
-;If this line is missing or incorrect, the sis file will not be able
-;to be installed on Series 60 v3.0 platforms
-(0x101F7961), 0, 0, 0, {"Series60ProductID"}
-
-; Target
-"\epoc32\release\armv5\urel\bctestcmdlg.exe"-
-"!:\sys\bin\bctestcmdlg.exe"
-
-"\epoc32\data\z\resource\apps\bctestcmdlg.r01"-
-"!:\resource\apps\bctestcmdlg.r01"
-
-"\epoc32\data\z\PRIVATE\10003A3F\APPS\bctestcmdlg_reg.r01"-
-"!:\PRIVATE\10003A3F\import\APPS\bctestcmdlg_reg.r01"
-
-; bctestutil must be installed
-(0x20004742), 1, 10, 0, {"bctestutil.dll"}
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/CVRSettingsDialogMMCSupported.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,136 +0,0 @@
-/*
-* Copyright (c) 2009 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:
-*
-*/
-#include <bctestcmdlg.rsg>
-#include <AknLists.h>
-#include "CVRSettingsDialogMMCSupported.h"
-#include <hlplch.h>
-
-#include <CAknMemorySelectionSettingItem.h>
-#include <aknnotewrappers.h>
-
-#include "bctestcmdlg.hrh"
-
-CVRSettingsDialog::~CVRSettingsDialog()
-    {
-	iSettingItemArray.ResetAndDestroy();
-    }
-
-CVRSettingsDialog* CVRSettingsDialog::NewL()
-    {
-    CVRSettingsDialog* self = new( ELeave ) CVRSettingsDialog;
-	CleanupStack::PushL( self );
-	self->ConstructL( R_VR_SETTINGS_MENUBAR );
-	CleanupStack::Pop();
-    return self;
-    }
-
-TBool CVRSettingsDialog::OkToExitL( TInt aButtonId )
-	{
-	if ( aButtonId == EAknSoftkeyOptions )
-        {
-        DisplayMenuL();
-        return EFalse;
-        }
-
-	TInt settingItemCount( iSettingItemArray.Count() );
-
-	for ( TInt i( 0 ); i < settingItemCount; i++ )
-		{
-		iSettingItemArray.At( i )->StoreL();
-		}
-
-	return ETrue;
-	}
-
-void CVRSettingsDialog::PreLayoutDynInitL()
-	{
-	// Convert the internal memory enumeration to CFD enumeration
-	CAknSettingStyleListBox* listBox = static_cast< CAknSettingStyleListBox* >
-										( Control( EVRSettingsListboxId ) );
-	User::LeaveIfNull( listBox );
-
-    CAknSettingItem* settingItem;
-    HBufC* itemTitle;
-   	TInt id( 0 );
-
-	// Create the memo store item
-	settingItem =
-				new( ELeave ) CAknMemorySelectionSettingItem( 0, iMemoStore );
-	CleanupStack::PushL( settingItem );
-
-	// Set memo store item's title
-	itemTitle = iCoeEnv->AllocReadResourceLC( R_QTN_VOREC_SET_STORE );
-	settingItem->ConstructL( EFalse, id, *itemTitle, NULL, 0,
-													EAknCtPopupSettingList );
-	CleanupStack::PopAndDestroy();	// itemTitle
-
-	// Add memo store item to the settings array
-	iSettingItemArray.AppendL( settingItem );
-	CleanupStack::Pop();	// settingItem
-	id++;
-
-	CTextListBoxModel* model = listBox->Model();
-	model->SetItemTextArray( &iSettingItemArray );
-	// Ownership retained by us
-	model->SetOwnershipType( ELbmDoesNotOwnItemArray );
-
-	iSettingItemArray.RecalculateVisibleIndicesL();
-	listBox->CreateScrollBarFrameL( ETrue );
-	listBox->ScrollBarFrame()->SetScrollBarVisibilityL(
-						CEikScrollBarFrame::EOff, CEikScrollBarFrame::EAuto );
-	listBox->HandleItemAdditionL();
-	listBox->SetListBoxObserver( this );
-	listBox->UpdateScrollBarsL();
-
-	}
-
-void CVRSettingsDialog::HandleListBoxEventL( CEikListBox* aListBox,
-											 TListBoxEvent aEventType )
-	{
-	TInt index( aListBox->CurrentItemIndex() );
-		if ( index >=0 )	// index is -1 if there are no items in the list
-			{
-			iSettingItemArray.At( index )->EditItemL( 
-				aEventType == EEventEditingStarted );
-			aListBox->DrawItem( index );
-			}
-	}
-
-void CVRSettingsDialog::ProcessCommandL( TInt aCommandId )
-	{
-	HideMenu();
-	switch ( aCommandId )
-		{
-		case ECmdChange:
-			{
-			CEikListBox* listBox = static_cast< CEikListBox* >( Control( EVRSettingsListboxId ) );
-			HandleListBoxEventL( listBox, EEventEditingStarted );
-			break;
-			}
-		case EEikCmdExit:
-			{
-			TryExitL( EEikCmdExit );
-			CEikonEnv::Static()->EikAppUi()->HandleCommandL( aCommandId );
-			break;
-			}
-		default:
-			{
-			CEikonEnv::Static()->EikAppUi()->HandleCommandL( aCommandId );
-			break;
-			}
-		}
-	}
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgapp.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-/*
-* Copyright (c) 2002 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:  Avkon Template test app
-*
-*/
-
-
-// INCLUDE FILES
-#include "BCTestCmDlgApp.h"
-#include "BCTestCmDlgDocument.h"
-#include <eikstart.h>
-
-// ================= MEMBER FUNCTIONS =========================================
-
-// ----------------------------------------------------------------------------
-// TUid CBCTestCmDlgApp::AppDllUid()
-// Returns application UID.
-// ----------------------------------------------------------------------------
-//
-TUid CBCTestCmDlgApp::AppDllUid() const
-    {
-    return KUidBCTestCmDlg;
-    }
-
-// ----------------------------------------------------------------------------
-// CApaDocument* CBCTestCmDlgApp::CreateDocumentL()
-// Creates CBCTestCmDlgAppDocument object.
-// ----------------------------------------------------------------------------
-//
-CApaDocument* CBCTestCmDlgApp::CreateDocumentL()
-    {
-    return CBCTestCmDlgDocument::NewL( *this );
-    }
-
-// ================= OTHER EXPORTED FUNCTIONS =================================
-//
-// ----------------------------------------------------------------------------
-// CApaApplication* NewApplication()
-// Constructs CBCTestCmDlgApp.
-// Returns: CApaDocument*: created application object
-// ----------------------------------------------------------------------------
-//
-LOCAL_C CApaApplication* NewApplication()
-    {
-    return new CBCTestCmDlgApp;
-    }
-
-GLDEF_C TInt E32Main()
-    {
-    return EikStart::RunApplication(NewApplication);
-    }
-
-// End of File
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgappui.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,81 +0,0 @@
-/*
-* 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:  test bc for template control api(s)
-*
-*/
-
-#include <avkon.hrh>
-#include <aknsutils.h>
-
-#include "BCTestCmDlgAppUi.h"
-#include "BCTestCmDlg.hrh"
-#include "BCTestCmDlgview.h"
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// ctro do nothing
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgAppUi::CBCTestCmDlgAppUi()
-    {
-    }
-
-// ---------------------------------------------------------------------------
-// symbian 2nd phase ctor
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgAppUi::ConstructL()
-    {
-    BaseConstructL();
-    AknsUtils::SetAvkonSkinEnabledL( ETrue );
-
-    // init view
-    CBCTestCmDlgView* view = CBCTestCmDlgView::NewL();
-    CleanupStack::PushL( view );
-    AddViewL( view );
-    CleanupStack::Pop( view );    
-    
-    ActivateLocalViewL( view->Id() );
-    }
-
-// ----------------------------------------------------------------------------
-// CBCTestCmDlgAppUi::~CBCTestCmDlgAppUi()
-// Destructor.
-// ----------------------------------------------------------------------------
-//
-CBCTestCmDlgAppUi::~CBCTestCmDlgAppUi()
-    { 
-    }
-
-// ----------------------------------------------------------------------------
-// handle menu command events
-// ----------------------------------------------------------------------------
-//
-void CBCTestCmDlgAppUi::HandleCommandL( TInt aCommand )
-    {
-    switch ( aCommand )
-        {
-        case EAknSoftkeyBack:
-        case EEikCmdExit:
-            {
-            Exit();
-            return;
-            }
-        default:
-            break;
-        }    
-    }
-
-// End of File
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgcase.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,245 +0,0 @@
-/*
-* 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:  test case
-*
-*/
-
-
-#include <w32std.h>
-#include <coecntrl.h>
-
-#include "BCTestCmDlgcase.h"
-#include "BCTestCmDlgcontainer.h"
-#include "BCTestCmDlg.hrh"
-#include "streamlogger.h"
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd static Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgCase* CBCTestCmDlgCase::NewL()
-    {
-    CBCTestCmDlgCase* self = new( ELeave ) CBCTestCmDlgCase();
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-    
-// ---------------------------------------------------------------------------
-// C++ default constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgCase::CBCTestCmDlgCase():iDlg(0)
-    {    
-    }
-    
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgCase::~CBCTestCmDlgCase()
-    {  
-	delete iDlg;
-    }
-    
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgCase::ConstructL()
-    {    
-    BuildScriptL();    
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgCase::BuildScriptL
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgCase::BuildScriptL()
-    { 
-    // Add script as your need.   
-	AddTestL( DELAY(1), TEND);
-
-	for(int i=0; i<EBCTestCmdMemSelDlgEnd - EBCTestCmdMemSelDlgBegin -1; ++i)
-		{
-		AddTestL( LeftCBA, Right, TEND );
-		for(int j=0; j<i; ++j)
-			AddTestL( Down, TEND);
-		AddTestL( LeftCBA, TEND );	
-		AddOKL();
-		}
-    }
-    
-void CBCTestCmDlgCase::AddOKL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), KeyOK, TEND);
-	}
-
-void CBCTestCmDlgCase::AddCancelL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), RightCBA, TEND);
-	}
-
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgCase::RunL
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgCase::RunL( TInt aCmd )
-    {
-	SetupL();
-	switch(aCmd){
-	case EBCTestCmdMemSelDlgCreate:
-		TestCreateL();
-		break;
-	case EBCTestCmdMemSelDlgCreateWithRes:
-		TestCreateL(0);		//0 indicate to default res
-		break;
-	case EBCTestCmdMemSelDlgWithRoot:
-		TestWithRootL();
-		break;
-	case EBCTestCmdMemSelDlgQuick:
-		TestQuickCreateL();
-		break;
-	case EBCTestCmdMemSelDlgQuickTitle:
-		TestQuickCreateL(_L("a title"));
-		break;
-	case EBCTestCmdMemSelDlgQuickRes:
-		TestQuickCreateL(0);	//0 means default res
-		break;
-	case EBCTestCmdMemSelDlgSetting:
-		TestSettingsL();
-		break;
-	default:
-		break;
-	}
-
-    Teardown();
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgCase::ReleaseCaseL
-// ---------------------------------------------------------------------------
-//   
-void CBCTestCmDlgCase::Teardown()
-    {
-	delete iDlg;
-	iDlg = NULL;
-    }
-
-void CBCTestCmDlgCase::TestCreateL()
-	{
-    iDlg = CAknMemorySelectionDialog::NewL( ECFDDialogTypeNormal, EFalse );
-
-	AssertNotNullL(iDlg, _L("mem sel dlg created"));
-	AssertTrueL(iDlg->ExecuteL( iMemory ), _L("User Hit OK"));
-	AssertIntL( CAknMemorySelectionDialog::EPhoneMemory, iMemory, _L("Phone memory created"));
-	}
-
-void CBCTestCmDlgCase::TestCreateL(TInt aResID)
-{
-	iDlg = CAknMemorySelectionDialog::NewL( ECFDDialogTypeNormal, aResID, EFalse );
-
-	AssertNotNullL(iDlg, _L("mem sel dlg with resID created"));
-	AssertTrueL(CAknMemorySelectionDialog::RunDlgLD(iMemory), _L("Quick create, User hit OK"));
-	AssertIntL( CAknMemorySelectionDialog::EPhoneMemory, iMemory, _L("Phone memroy created"));
-}
-
-void CBCTestCmDlgCase::TestQuickCreateL()
-	{
-	AssertTrueL(CAknMemorySelectionDialog::RunDlgLD(iMemory), _L("Quick create, User hit OK"));
-	AssertIntL( CAknMemorySelectionDialog::EPhoneMemory, iMemory, _L("Phone memroy created"));
-	}
-
-void CBCTestCmDlgCase::TestQuickCreateL(const TDesC &aTitle)
-	{
-	AssertTrueL(CAknMemorySelectionDialog::RunDlgLD(iMemory, aTitle), _L("Quick create with title, User hit OK"));
-	AssertIntL( CAknMemorySelectionDialog::EPhoneMemory, iMemory, _L("Phone memroy created"));
-	}
-
-void CBCTestCmDlgCase::TestQuickCreateL(TInt aResID)
-	{
-	AssertTrueL(CAknMemorySelectionDialog::RunDlgLD(iMemory, aResID), _L("Quick create with ResID, User hit OK"));
-	AssertIntL( CAknMemorySelectionDialog::EPhoneMemory, iMemory, _L("Phone memroy created"));
-	}
-
-void CBCTestCmDlgCase::SetupL()
-	{
-	iMemory = CAknMemorySelectionDialog::EPhoneMemory;
-	}
-
-void CBCTestCmDlgCase::TestWithRootL()
-{
-	_LIT( KRootPath,					"C:\\Nokia\\Images\\" );
-	_LIT( KDefaultFileName,				"DynamicFilename.jpg" );
-	TFileName rootFileName( KRootPath );
-	TFileName defaultFileName( KDefaultFileName );
-	iDlg = CAknMemorySelectionDialog::NewL( ECFDDialogTypeNormal, EFalse );
-	if(TInt res = iDlg->ExecuteL(iMemory, &rootFileName, &defaultFileName))
-	{
-		TFileName msg(_L("default root: "));
-		msg.Append(rootFileName);
-		msg.Append(_L(" default file: "));
-		msg.Append(defaultFileName);
-		msg.ZeroTerminate();
-		AssertTrueL(res, msg);
-	}
-}
-
-void CBCTestCmDlgCase::TestSettingsL()
-{
-	iDlg = CAknMemorySelectionDialog::NewL( ECFDDialogTypeNormal, EFalse );
-
-	iDlg->SetObserver(NULL);
-	AssertTrueL(ETrue, _L("Null Observer set"));
-
-	iDlg->SetTitleL(_L("a title"));
-	AssertTrueL(ETrue, _L("title set"));
-
-	iDlg->SetLeftSoftkeyL(_L("left key"));
-	AssertTrueL(ETrue, _L("left key text set"));
-
-	iDlg->SetRightSoftkeyL(_L("right key"));
-	AssertTrueL(ETrue, _L("right key text set"));
-	if(iDlg->ExecuteL(iMemory))
-	{
-		//get
-		TFileName emptyFileName( KNullDesC );
-		iDlg->GetItem( iMemory, emptyFileName );
-		TFileName msg(_L("item got: "));
-		msg.Append(emptyFileName);
-		msg.ZeroTerminate();
-		AssertTrueL(ETrue, msg);
-
-		_LIT( KRootPath,					"C:\\Nokia\\Images\\" );
-		_LIT( KDefaultFileName,				"DynamicFilename.jpg" );
-		TFileName rootFileName( KRootPath );
-		TFileName defaultFileName( KDefaultFileName );
-		iDlg->GetMemories(iMemory, &rootFileName, &defaultFileName);
-
-		msg = (_L("memory got, root: "));
-		msg.Append(rootFileName);
-		msg.Append(_L(" default file: "));
-		msg.Append(defaultFileName);
-		msg.ZeroTerminate();
-		AssertTrueL(ETrue, msg);
-	}
-}
-
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgcontainer.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,118 +0,0 @@
-/*
-* 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:  container
-*
-*/
-
-
-#include "BCTestCmDlgcontainer.h"
-
-#define KAknAtListGray TRgb(0xaaaaaa)
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// C++ default Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgContainer::CBCTestCmDlgContainer()
-    {    
-    }
-
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgContainer::~CBCTestCmDlgContainer()
-    {
-    ResetControl();   
-    }
-    
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgContainer::ConstructL( const TRect& aRect )
-    {
-    CreateWindowL();
-    SetRect( aRect );
-    ActivateL();
-    }
-
-// ----------------------------------------------------------------------------
-// CBCTestCmDlgContainer::Draw
-// Fills the window's rectangle.
-// ----------------------------------------------------------------------------
-//
-void CBCTestCmDlgContainer::Draw( const TRect& aRect ) const
-    {    
-    CWindowGc& gc = SystemGc();
-    gc.SetPenStyle( CGraphicsContext::ENullPen );
-    gc.SetBrushColor( KAknAtListGray );
-    gc.SetBrushStyle( CGraphicsContext::ESolidBrush );
-    gc.DrawRect( aRect );
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgContainer::CountComponentControls
-// ---------------------------------------------------------------------------
-//
-TInt CBCTestCmDlgContainer::CountComponentControls() const
-    {
-    if ( iControl )
-        {
-        return 1;
-        }
-    else
-        {
-        return 0;
-        }
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgContainer::ComponentControl
-// ---------------------------------------------------------------------------
-//
-CCoeControl* CBCTestCmDlgContainer::ComponentControl( TInt ) const
-    {
-    return iControl;
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgContainer::SetControl
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgContainer::SetControl( CCoeControl* aControl )
-    {
-    iControl = aControl;    
-    if ( iControl )
-        {  
-        // You can change the position and size
-        iControl->SetExtent( Rect().iTl, Rect().Size() );
-        iControl->ActivateL();
-        DrawNow();
-        }    
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgContainer::ResetControl
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgContainer::ResetControl()
-    {
-    delete iControl;
-    iControl = NULL;        
-    }
-
-// end of file
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgdocument.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-/*
-* Copyright (c) 2002 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:  Avkon Template test application
-*
-*/
-
-
-// INCLUDE FILES
-#include "BCTestCmDlgDocument.h"
-#include "BCTestCmDlgAppUi.h"
-
-// ================= MEMBER FUNCTIONS =========================================
-
-// ----------------------------------------------------------------------------
-// CBCTestCmDlgDocument* CBCTestCmDlgDocument::NewL( CEikApplication& )
-// Symbian OS two-phased constructor.
-// ----------------------------------------------------------------------------
-//
-CBCTestCmDlgDocument* CBCTestCmDlgDocument::NewL( CEikApplication& aApp )
-    {
-    CBCTestCmDlgDocument* self = new( ELeave ) CBCTestCmDlgDocument( aApp );
-    return self;
-    }
-
-// ----------------------------------------------------------------------------
-// CBCTestCmDlgDocument::~CBCTestCmDlgDocument()
-// Destructor.
-// ----------------------------------------------------------------------------
-//
-CBCTestCmDlgDocument::~CBCTestCmDlgDocument()
-    {
-    }
-
-// ----------------------------------------------------------------------------
-// CBCTestCmDlgDocument::CBCTestCmDlgDocument( CEikApplication& )
-// Overload constructor.
-// ----------------------------------------------------------------------------
-//
-CBCTestCmDlgDocument::CBCTestCmDlgDocument( CEikApplication& aApp )
-    :   CEikDocument( aApp )
-    {
-    }
-
-// ----------------------------------------------------------------------------
-// CEikAppUi* CBCTestCmDlgDocument::CreateAppUiL()
-// Constructs CBCTestVolumeAppUi.
-// ----------------------------------------------------------------------------
-//
-CEikAppUi* CBCTestCmDlgDocument::CreateAppUiL()
-    {
-    return new( ELeave ) CBCTestCmDlgAppUi;
-    }
-
-// End of File
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgview.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,145 +0,0 @@
-/*
-* 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:  view class
-*
-*/
-
-
-#include <aknviewappui.h>
-
-#include "BCTestCmDlg.hrh"
-#include <bctestcmdlg.rsg>
-#include "BCTestCmDlgview.h"
-#include "BCTestCmDlgcontainer.h"
-#include "bctestutil.h"
-#include "BCTestCmDlgcase.h"
-#include "bctestmemselpage.h"
-#include "bctestfileseldlg.h"
-#include "bctestfilenamedlg.h"
-#include "bctestcommondlg.h"
-#include "bctestmemselitem.h"
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd static Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgView* CBCTestCmDlgView::NewL()
-    {
-    CBCTestCmDlgView* self = new( ELeave ) CBCTestCmDlgView();
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-
-// ---------------------------------------------------------------------------
-// C++ default Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgView::CBCTestCmDlgView()
-    {
-    }
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgView::ConstructL()
-    {
-    BaseConstructL( R_BCTESTCMDLG_VIEW );
-
-    iContainer = new( ELeave ) CBCTestCmDlgContainer();
-    iContainer->SetMopParent( this );
-    iContainer->ConstructL( ClientRect() );
-    AppUi()->AddToStackL( *this, iContainer );
-    iContainer->MakeVisible( ETrue );
-
-    iTestUtil = CBCTestUtil::NewL();
-
-    // Add test case here.
-    iTestUtil->AddTestCaseL( CBCTestCmDlgCase::NewL(),
-        _L("Mem selection dialog") );
-	iTestUtil->AddTestCaseL( CBCTestMemSelSettingPage::NewL(),
-        _L("Mem selection setting page") );
-	iTestUtil->AddTestCaseL( CBCTestFileSelDlg::NewL(),
-        _L("File selection dialog") );
-	iTestUtil->AddTestCaseL( CBCTestFileNameDlg::NewL(),
-        _L("File name prompt dialog") );
-	iTestUtil->AddTestCaseL( CBCTestCommonDlg::NewL(),
-        _L("Common dialog") );
-	iTestUtil->AddTestCaseL( CBCTestMemSelSettingItem::NewL(),
-        _L("Mem selection setting item") );
-    }
-
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCmDlgView::~CBCTestCmDlgView()
-    {
-    if ( iContainer )
-        {
-        AppUi()->RemoveFromStack( iContainer );
-        }
-    delete iContainer;
-    delete iTestUtil;
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgView::Id
-// ---------------------------------------------------------------------------
-//
-TUid CBCTestCmDlgView::Id() const
-    {
-    return KBCTestCmDlgViewId;
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgView::DoActivateL
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgView::DoActivateL( const TVwsViewId&, TUid, const TDesC8& )
-    {
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgView::DoDeactivate
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgView::DoDeactivate()
-    {
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCmDlgView::HandleCommandL
-// ---------------------------------------------------------------------------
-//
-void CBCTestCmDlgView::HandleCommandL( TInt aCommand )
-    {
-    switch ( aCommand )
-        {
-        case EProgCmdAutoTest:
-            iTestUtil->RunL();
-            break;
-        default:
-            if ( aCommand > EBCTestCmdEmptyOutline &&
-                 aCommand < EBCTestCmdMaxOutline )
-                {
-                iTestUtil->RunL( aCommand );
-                }
-            break;
-        }
-    }
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestcommondlg.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,482 +0,0 @@
-/*
-* 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:  test case
-*
-*/
-
-
-#include <w32std.h>
-#include <coecntrl.h>
-#include <akncommondialogs.h>
-//#include <AknCommonDialogsDynMem.h>
-
-#include <MAknFileSelectionObserver.h>
-#include <MaknFileFilter.h>
-#include <bctestcmdlg.rsg>
-
-#include "BCTestCommonDlg.h"
-#include "BCTestCmDlg.hrh"
-#include "streamlogger.h"
-
-//helper class
-
-struct MonkFilter: public MAknFileFilter{
-    TBool Accept( const TDesC& /*aDriveAndPath*/, const TEntry& /*aEntry*/ ) const{
-        return ETrue;
-    }
-};
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd static Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCommonDlg* CBCTestCommonDlg::NewL()
-    {
-    CBCTestCommonDlg* self = new( ELeave ) CBCTestCommonDlg();
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-    
-// ---------------------------------------------------------------------------
-// C++ default constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCommonDlg::CBCTestCommonDlg()
-    {    
-    }
-    
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestCommonDlg::~CBCTestCommonDlg()
-    {  
-    }
-    
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestCommonDlg::ConstructL()
-    {    
-    BuildScriptL();    
-    }
-
-void CBCTestCommonDlg::SetupL()
-    {
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCommonDlg::BuildScriptL
-// ---------------------------------------------------------------------------
-//
-void CBCTestCommonDlg::BuildScriptL()
-    { 
-    AddTestL( DELAY(1), TEND);
-
-    // Add script as your need.   
-    for(int i=0; i<EBCTestCmdCommonDlgEnd - EBCTestCmdCommonDlgBegin -1; ++i)
-        {
-        AddTestL( LeftCBA, REP(Down, 4), Right, TEND ); //navigate to common dialog menu
-
-        for(int j=0; j<i; ++j)
-            AddTestL( Down, TEND);  // navigate to each sub menu item
-        AddTestL( LeftCBA, TEND );  // trigger the menu item.
-
-        BuildSelectScriptL(i);
-        BuildMoveScriptL(i);
-        BuildSaveScriptL(i);
-        BuildCopyScriptL(i);
-        }
-    }
-
-void CBCTestCommonDlg::BuildSelectScriptL(int i)
-    {
-    AddCancelL();       //OK may enter a folder and ask user to select more.
-    
-    // some sepcial cases
-    if( i >= (EBCTestCmdCommonDlgSelect5 - EBCTestCmdCommonDlgBegin -1) &&
-        i <= (EBCTestCmdCommonDlgSelect8 - EBCTestCmdCommonDlgBegin -1))
-        AddCancelL();   //first back, 2nd cancel.
-    
-    if( i == (EBCTestCmdCommonDlgSelect8 - EBCTestCmdCommonDlgBegin -1))
-        AddCancelL();   //first back, then back again, finally cancel.
-    }
-
-void CBCTestCommonDlg::BuildMoveScriptL( int )
-    {
-    }
-
-void CBCTestCommonDlg::BuildSaveScriptL( int )
-    {
-    }
-
-void CBCTestCommonDlg::BuildCopyScriptL( int )
-    {
-    }
-    
-void CBCTestCommonDlg::AddOKL()
-    {
-    // add dlg response sciprts
-    for(int i=0; i<1; ++i)
-        AddTestL( WAIT(5), KeyOK, TEND);
-    }
-
-void CBCTestCommonDlg::AddCancelL()
-    {
-    // add dlg response sciprts
-    for(int i=0; i<1; ++i)
-        AddTestL( WAIT(5), RightCBA, TEND);
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCommonDlg::RunL
-// ---------------------------------------------------------------------------
-//
-void CBCTestCommonDlg::RunL( TInt aCmd )
-    {
-    SetupL();
-    RunSelectL(aCmd);
-    RunMoveL(aCmd);
-    RunSaveL(aCmd);
-    RunCopyL(aCmd);
-    Teardown();
-    }
-
-void CBCTestCommonDlg::RunSelectL(TInt aCmd)
-    {
-    switch(aCmd)
-        {
-        case EBCTestCmdCommonDlgSelect1:
-            TestSelectL();
-            break;
-        case EBCTestCmdCommonDlgSelect2:
-            TestSelectL(_L("a title"));
-            break;
-        case EBCTestCmdCommonDlgSelect3:
-            {
-            MonkFilter filter;
-            TestSelectL(&filter);
-            break;
-            }
-        case EBCTestCmdCommonDlgSelect4:
-            TestSelectL(R_BCTEST_FILE_SELECTION_ALL);
-            break;
-        case EBCTestCmdCommonDlgSelect5:
-            TestSelectL(_L("C:\\Data"), R_BCTEST_MEMORY_SELECTION_LOCATIONS);
-            break;
-        case EBCTestCmdCommonDlgSelect6:
-            {
-            MonkFilter filter;
-            TestSelectL(_L("C:\\Data"), &filter);
-            break;
-            }
-        case EBCTestCmdCommonDlgSelect7:
-            TestSelectL(_L("C:\\Data"), _L("a title"));
-            break;
-        case EBCTestCmdCommonDlgSelect8:
-            TestSelectL(_L("C:\\Data"), R_BCTEST_MEMORY_SELECTION_LOCATIONS, R_BCTEST_FILE_SELECTION_ALL);
-            break;
-        default:
-            break;
-        }
-    }
-
-void CBCTestCommonDlg::RunMoveL(TInt aCmd)
-    {
-    switch(aCmd)
-        {
-        case EBCTestCmdCommonDlgMove1:
-            TestMoveL();
-            break;
-        case EBCTestCmdCommonDlgMove2:
-            TestMoveL(_L("a title"));
-            break;
-        case EBCTestCmdCommonDlgMove3:
-            {
-            MonkFilter filter;
-            TestMoveL(&filter);
-            break;
-            }
-        case EBCTestCmdCommonDlgMove4:
-            TestMoveL(R_BCTEST_FILE_SELECTION_ALL);
-            break;
-        default:
-            break;
-        }
-    }
-
-void CBCTestCommonDlg::RunSaveL(TInt aCmd)
-    {
-    switch(aCmd)
-        {
-        case EBCTestCmdCommonDlgSave1:
-            TestSaveL();
-            break;
-        case EBCTestCmdCommonDlgSave2:
-            TestSaveL(_L("a sel title"), _L("a name prompt"));
-            break;
-        case EBCTestCmdCommonDlgSave3:
-            {
-            MonkFilter filter;
-            TestSaveL(&filter);
-            break;
-            }
-        case EBCTestCmdCommonDlgSave4:
-            TestSaveL(R_BCTEST_FILE_SELECTION_ALL);
-            break;
-        case EBCTestCmdCommonDlgSave5:
-            TestSaveL(R_BCTEST_FILE_SELECTION_ALL, _L("a prompt"));
-            break;
-        case EBCTestCmdCommonDlgSave6:
-            TestSaveL(EFalse, R_BCTEST_MEMORY_SELECTION_LOCATIONS);
-            break;
-        case EBCTestCmdCommonDlgSave7:
-            TestSaveL(EFalse, R_BCTEST_MEMORY_SELECTION_LOCATIONS, _L("a prompt"));
-            break;
-        default:
-            break;
-        }
-    }
-
-void CBCTestCommonDlg::RunCopyL(TInt aCmd)
-    {
-    switch(aCmd)
-        {
-        case EBCTestCmdCommonDlgCopy1:
-            TestCopyL();
-            break;
-        case EBCTestCmdCommonDlgCopy2:
-            TestCopyL(R_BCTEST_FILE_SELECTION_ALL);
-            break;
-        case EBCTestCmdCommonDlgCopy3:
-            {
-            MonkFilter filter;
-            TestCopyL(&filter);
-            break;
-            }
-        default:
-            break;
-        }
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestCommonDlg::ReleaseCaseL
-// ---------------------------------------------------------------------------
-//   
-void CBCTestCommonDlg::Teardown()
-    {
-    }
-
-void CBCTestCommonDlg::TestSelectL()
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS );
-    AssertTrueL(ETrue, _L("Select with Res ID"));
-    }
-
-void CBCTestCommonDlg::TestSelectL(const TDesC &aTitle)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aTitle);
-    AssertTrueL(ETrue, _L("Select with Res ID and Title"));
-    }
-
-void CBCTestCommonDlg::TestSelectL(MAknFileFilter* aFilter)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFilter);
-    AssertTrueL(ETrue, _L("Select with Res ID and Filter"));
-    }
-
-void CBCTestCommonDlg::TestSelectL(TInt aFileSelResID)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFileSelResID);
-    AssertTrueL(ETrue, _L("Select with Res ID and File Selection Res ID"));
-    }
-
-void CBCTestCommonDlg::TestSelectL(const TDesC& aStartFolder, TInt aMemSelResID)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        aStartFolder,
-        aMemSelResID);
-    AssertTrueL(ETrue, _L("Select with start folder"));
-    }
-
-
-void CBCTestCommonDlg::TestSelectL(const TDesC& aStartFolder, MAknFileFilter* aFilter)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        aStartFolder,
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFilter);
-    AssertTrueL(ETrue, _L("Select with start folder and filter"));
-    }
-
-void CBCTestCommonDlg::TestSelectL(const TDesC &aStartFolder, const TDesC &aTitle)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        aStartFolder, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS, 
-        aTitle);
-    AssertTrueL(ETrue, _L("Select with start folder and title"));
-    }
-
-void CBCTestCommonDlg::TestSelectL(const TDesC &aStartFolder, TInt aMemSelResID, TInt aFileSelResID)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunSelectDlgLD( emptyFileName, 
-        aStartFolder, 
-        aMemSelResID, 
-        aFileSelResID);
-    AssertTrueL(ETrue, _L("Select with start folder and file selection res ID"));
-    }
-
-void CBCTestCommonDlg::TestMoveL()
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunMoveDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS );
-    AssertTrueL(ETrue, _L("Move"));
-    }
-
-void CBCTestCommonDlg::TestMoveL(const TDesC &aTitle)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunMoveDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aTitle);
-    AssertTrueL(ETrue, _L("Move with title"));
-    }
-
-void CBCTestCommonDlg::TestMoveL(MAknFileFilter *aFilter)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunMoveDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFilter);
-    AssertTrueL(ETrue, _L("Move with filter"));
-    }
-
-void CBCTestCommonDlg::TestMoveL(TInt aFileSelResID)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunMoveDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFileSelResID);
-    AssertTrueL(ETrue, _L("Move with file selection Res ID"));
-    }
-
-void CBCTestCommonDlg::TestSaveL()
-    {
-    TFileName defaultFileName(_L("foo.jpg"));
-    TInt returnValue = AknCommonDialogs::RunSaveDlgLD( defaultFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS );
-    AssertTrueL(ETrue, _L("Save"));
-    }
-
-void CBCTestCommonDlg::TestSaveL(MAknFileFilter *aFilter)
-    {
-    TFileName defaultFileName(_L("foo.jpg"));
-    TInt returnValue = AknCommonDialogs::RunSaveDlgLD( defaultFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFilter);
-    AssertTrueL(ETrue, _L("Save with filter"));
-    }
-
-void CBCTestCommonDlg::TestSaveL(const TDesC &aFileTitle, const TDesC &aPromptTitle)
-    {
-    TFileName defaultFileName(_L("foo.jpg"));
-    TInt returnValue = AknCommonDialogs::RunSaveDlgLD( defaultFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFileTitle,
-        aPromptTitle);
-    AssertTrueL(ETrue, _L("Save with title"));
-    }
-
-void CBCTestCommonDlg::TestSaveL(TInt aFileSelResID)
-    {
-    TFileName defaultFileName(_L("foo.jpg"));
-    TInt returnValue = AknCommonDialogs::RunSaveDlgLD( defaultFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFileSelResID);
-    AssertTrueL(ETrue, _L("Save with file selection res ID"));
-    }
-
-void CBCTestCommonDlg::TestSaveL(TInt aFileSelResID, const TDesC &aPrompt)
-    {
-    TFileName defaultFileName(_L("foo.jpg"));
-    TInt returnValue = AknCommonDialogs::RunSaveDlgLD( defaultFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS,
-        aFileSelResID,
-        aPrompt);
-    AssertTrueL(ETrue, _L("Save with file selection res ID and Prompt"));
-    }
-
-void CBCTestCommonDlg::TestSaveL(TBool /*aDirFlag*/, TInt aMemSelResID)
-    {
-    TFileName defaultFileName(_L("foo.jpg"));
-    TInt returnValue = AknCommonDialogs::RunSaveDlgNoDirectorySelectionLD( defaultFileName, 
-        aMemSelResID);
-    AssertTrueL(ETrue, _L("Save without dir selection"));
-    }
-
-void CBCTestCommonDlg::TestSaveL(TBool /*aDirFlag*/, TInt aMemSelResID, const TDesC& aPrompt)
-    {
-    TFileName defaultFileName(_L("foo.jpg"));
-    TInt returnValue = AknCommonDialogs::RunSaveDlgNoDirectorySelectionLD( defaultFileName, 
-        aMemSelResID, aPrompt);
-    AssertTrueL(ETrue, _L("Save without dir selection but with a prompt"));
-    }
-
-void CBCTestCommonDlg::TestCopyL()
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunCopyDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS);
-    AssertTrueL(ETrue, _L("Copy"));
-    }
-
-void CBCTestCommonDlg::TestCopyL(MAknFileFilter *aFilter)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunCopyDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS, aFilter);
-    AssertTrueL(ETrue, _L("Copy with filter"));
-    }
-
-void CBCTestCommonDlg::TestCopyL(TInt aFileSelResID)
-    {
-    TFileName emptyFileName;
-    TInt returnValue = AknCommonDialogs::RunCopyDlgLD( emptyFileName, 
-        R_BCTEST_MEMORY_SELECTION_LOCATIONS, aFileSelResID);
-    AssertTrueL(ETrue, _L("Copy with file selection res ID"));
-    }
-
-// EOF
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestfilenamedlg.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,220 +0,0 @@
-/*
-* 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:  test case
-*
-*/
-
-
-#include <w32std.h>
-#include <coecntrl.h>
-#include <caknfilenamepromptdialog.h>
-#include <MAknFileSelectionObserver.h>
-#include <MaknFileFilter.h>
-
-#include "BCTestFileNameDlg.h"
-#include "BCTestCmDlg.hrh"
-#include "streamlogger.h"
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd static Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestFileNameDlg* CBCTestFileNameDlg::NewL()
-    {
-    CBCTestFileNameDlg* self = new( ELeave ) CBCTestFileNameDlg();
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-    
-// ---------------------------------------------------------------------------
-// C++ default constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestFileNameDlg::CBCTestFileNameDlg():iDlg(0)
-    {    
-    }
-    
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestFileNameDlg::~CBCTestFileNameDlg()
-    {  
-	delete iDlg;
-    }
-    
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestFileNameDlg::ConstructL()
-    {    
-    BuildScriptL();    
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestFileNameDlg::BuildScriptL
-// ---------------------------------------------------------------------------
-//
-void CBCTestFileNameDlg::BuildScriptL()
-    { 
-	AddTestL( DELAY(1), TEND);
-
-    // Add script as your need.   
-	for(int i=0; i<EBCTestCmdFileNameDlgEnd - EBCTestCmdFileNameDlgBegin -1; ++i)
-		{
-		AddTestL( LeftCBA, REP(Down, 3), Right, TEND );
-		for(int j=0; j<i; ++j)
-			AddTestL( Down, TEND);
-		AddTestL( LeftCBA, TEND );	
-		AddCancelL();		//OK may enter a folder and ask user to select more.
-		}
-    }
-    
-void CBCTestFileNameDlg::AddOKL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), KeyOK, TEND);
-	}
-
-void CBCTestFileNameDlg::AddCancelL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), RightCBA, TEND);
-	}
-
-// ---------------------------------------------------------------------------
-// CBCTestFileNameDlg::RunL
-// ---------------------------------------------------------------------------
-//
-void CBCTestFileNameDlg::RunL( TInt aCmd )
-    {
-	SetupL();
-	switch(aCmd){
-	case EBCTestCmdFileNameDlgCreate:
-		TestCreateL();
-		break;
-	case EBCTestCmdFileNameDlgCreateRes:
-		TestCreateL(0);		// 0 is default res id
-		break;
-	case EBCTestCmdFileNameDlgQuickCreate:
-		TestQuickCreateL();
-		break;
-	case EBCTestCmdFileNameDlgQuickCreateTitle:
-		TestQuickCreateL(_L("a title"));
-		break;
-	case EBCTestCmdFileNameDlgQuickCreateRes:
-		TestQuickCreateL(0);	// 0 is the default res id
-		break;
-	case EBCTestCmdFileNameDlgSettings:
-		TestSettingsL();
-		break;
-	default:
-		break;
-	}
-    Teardown();
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestFileNameDlg::ReleaseCaseL
-// ---------------------------------------------------------------------------
-//   
-void CBCTestFileNameDlg::Teardown()
-    {
-	delete iDlg;
-	iDlg = NULL;
-    }
-
-void CBCTestFileNameDlg::TestCreateL()
-	{
-	TFileName emptyFileName(KNullDesC);
-	iDlg = CAknFileNamePromptDialog::NewL();
-	TInt returnValue = iDlg->ExecuteL( emptyFileName );
-	TFileName msg;
-	msg.Format(_L("create User hit %d, filename: %s"), returnValue, &emptyFileName );	
-	msg.ZeroTerminate();
-	AssertTrueL(ETrue, msg);
-	}
-
-void CBCTestFileNameDlg::TestCreateL(TInt aResID)
-	{
-	TFileName emptyFileName(KNullDesC);
-	iDlg = CAknFileNamePromptDialog::NewL(aResID);
-	TInt returnValue = iDlg->ExecuteL( emptyFileName );
-	AssertTrueL(ETrue, _L("Create by res ID"));
-	}
-
-void CBCTestFileNameDlg::TestQuickCreateL()
-	{
-	_LIT(KRootPath, "C:\\Nokia\\Data");
-	TFileName defaultFileName;
-	TInt returnValue = CAknFileNamePromptDialog::RunDlgLD( defaultFileName, KRootPath );
-	AssertTrueL(ETrue, _L("RunDlgLD invoked"));
-	}
-
-void CBCTestFileNameDlg::TestQuickCreateL(const TDesC &aTitle)
-	{
-	_LIT(KRootPath, "C:\\Nokia\\Data");
-	TFileName defaultFileName;
-	TInt returnValue = CAknFileNamePromptDialog::RunDlgLD( defaultFileName, KRootPath, aTitle );
-	AssertTrueL(ETrue, _L("RunDlgLD invoked"));
-	}
-
-void CBCTestFileNameDlg::TestQuickCreateL(TInt aResID)
-	{
-	_LIT(KRootPath, "C:\\Nokia\\Data");
-	TFileName defaultFileName;
-	TInt returnValue = CAknFileNamePromptDialog::RunDlgLD( defaultFileName, KRootPath, aResID );
-	AssertTrueL(ETrue, _L("RunDlgLD invoked"));
-	}
-
-void CBCTestFileNameDlg::SetupL()
-	{
-	}
-
-
-void CBCTestFileNameDlg::TestSettingsL()
-	{
-	iDlg = CAknFileNamePromptDialog::NewL();
-	iDlg->SetPathL(_L("C:\\"));
-	AssertTrueL(ETrue, _L("path set"));
-
-	iDlg->SetTitleL(_L("a title"));
-	AssertTrueL(ETrue, _L("title set"));
-
-	iDlg->SetLeftSoftkeyL(_L("left key"));
-	AssertTrueL(ETrue, _L("left soft key set"));
-
-	iDlg->SetRightSoftkeyL(_L("right key"));
-	AssertTrueL(ETrue, _L("right soft key set"));
-
-	//Add fileter and set Observer
-	struct MonkObserver: public MAknFileSelectionObserver{
-		TBool OkToExitL( const TDesC& /*aDriveAndPath*/, const TEntry& /*aEntry*/ ){
-			return ETrue;
-		}
-	} monkObserver;
-	
-	iDlg->SetObserver(&monkObserver);
-	AssertTrueL(ETrue, _L("Observer set"));
-
-	TFileName filename;
-	iDlg->ExecuteL(filename);
-	}
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestfileseldlg.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,245 +0,0 @@
-/*
-* 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:  test case
-*
-*/
-
-
-#include <w32std.h>
-#include <coecntrl.h>
-#include <MAknFileSelectionObserver.h>
-#include <MaknFileFilter.h>
-
-#include "BCTestFileSelDlg.h"
-#include "BCTestCmDlg.hrh"
-#include "streamlogger.h"
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd static Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestFileSelDlg* CBCTestFileSelDlg::NewL()
-    {
-    CBCTestFileSelDlg* self = new( ELeave ) CBCTestFileSelDlg();
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-    
-// ---------------------------------------------------------------------------
-// C++ default constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestFileSelDlg::CBCTestFileSelDlg():iDlg(0)
-    {    
-    }
-    
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestFileSelDlg::~CBCTestFileSelDlg()
-    {  
-	delete iDlg;
-    }
-    
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestFileSelDlg::ConstructL()
-    {    
-    BuildScriptL();    
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestFileSelDlg::BuildScriptL
-// ---------------------------------------------------------------------------
-//
-void CBCTestFileSelDlg::BuildScriptL()
-    { 
-	AddTestL( DELAY(1), TEND);
-
-    // Add script as your need.   
-	for(int i=0; i<EBCTestCmdFileSelDlgEnd - EBCTestCmdFileSelDlgBegin -1; ++i)
-		{
-		AddTestL( LeftCBA, REP(Down, 2), Right, TEND );
-		for(int j=0; j<i; ++j)
-			AddTestL( Down, TEND);
-		AddTestL( LeftCBA, TEND );	
-		AddCancelL();		//OK may enter a folder and ask user to select more.
-		}
-    }
-    
-void CBCTestFileSelDlg::AddOKL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), KeyOK, TEND);
-	}
-
-void CBCTestFileSelDlg::AddCancelL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), RightCBA, TEND);
-	}
-
-// ---------------------------------------------------------------------------
-// CBCTestFileSelDlg::RunL
-// ---------------------------------------------------------------------------
-//
-void CBCTestFileSelDlg::RunL( TInt aCmd )
-    {
-	SetupL();
-	switch(aCmd){
-	case EBCTestCmdFileSelDlgCreate:
-		TestCreateL();
-		break;
-	case EBCTestCmdFileSelDlgCreateRes:
-		TestCreateL(0);		// 0 is default res id
-		break;
-	case EBCTestCmdFileSelDlgQuickCreate:
-		TestQuickCreateL();
-		break;
-	case EBCTestCmdFileSelDlgQuickCreateTitle:
-		TestQuickCreateL(_L("a title"));
-		break;
-	case EBCTestCmdFileSelDlgQuickCreateRes:
-		TestQuickCreateL(0);	// 0 is the default res id
-		break;
-	case EBCTestCmdFileSelDlgSettings:
-		TestSettingsL();
-		break;
-	default:
-		break;
-	}
-    Teardown();
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestFileSelDlg::ReleaseCaseL
-// ---------------------------------------------------------------------------
-//   
-void CBCTestFileSelDlg::Teardown()
-    {
-	delete iDlg;
-	iDlg = NULL;
-    }
-
-void CBCTestFileSelDlg::TestCreateL()
-	{
-	_LIT( KRootPath,					"C:\\Data\\" );
-	TFileName rootFileName( KRootPath );
-
-	iDlg = CAknFileSelectionDialog::NewL( ECFDDialogTypeSelect );
-	AssertNotNullL(iDlg, _L("file sel dialog create"));
-	TInt returnValue = iDlg->ExecuteL( rootFileName );
-	TFileName msg;
-	msg.Format( _L("User hit: %d, selected file: "), returnValue );
-	msg.Append( rootFileName );
-	msg.ZeroTerminate();
-	AssertTrueL(ETrue, msg);
-	}
-
-void CBCTestFileSelDlg::TestCreateL(TInt aResID)
-	{
-	_LIT( KRootPath,					"C:\\Data\\" );
-	TFileName rootFileName( KRootPath );
-
-	iDlg = CAknFileSelectionDialog::NewL( ECFDDialogTypeSelect, aResID );
-	AssertNotNullL(iDlg, _L("file sel dialog create with Res ID"));
-	TInt returnValue = iDlg->ExecuteL( rootFileName );
-	TFileName msg;
-	msg.Format(_L("User hit: %d, selected file: "), returnValue );
-	msg.Append( rootFileName );
-	msg.ZeroTerminate();
-	AssertTrueL(ETrue, msg);
-	}
-
-void CBCTestFileSelDlg::TestQuickCreateL()
-	{
-	TFileName filename;
-	TFileName folder(_L("C:\\Data\\"));
-	AssertTrueL(!CAknFileSelectionDialog::RunDlgLD(filename, folder), 
-		_L("Quick create, User hit Cancle"));
-	}
-
-void CBCTestFileSelDlg::TestQuickCreateL(const TDesC &aTitle)
-	{
-	TFileName filename;
-	TFileName folder(_L("C:\\Data\\"));
-	AssertTrueL(!CAknFileSelectionDialog::RunDlgLD(filename, folder, aTitle), 
-		_L("Quick create, User hit Cancle"));
-	}
-
-void CBCTestFileSelDlg::TestQuickCreateL(TInt aResID)
-	{
-	TFileName filename;
-	TFileName folder(_L("C:\\Data\\"));
-	AssertTrueL(!CAknFileSelectionDialog::RunDlgLD(filename, folder, aResID), 
-		_L("Quick create, User hit Cancle"));
-	}
-
-void CBCTestFileSelDlg::SetupL()
-	{
-	}
-
-
-void CBCTestFileSelDlg::TestSettingsL()
-{
-	iDlg = CAknFileSelectionDialog::NewL( ECFDDialogTypeSelect );
-	iDlg->SetDefaultFolderL(_L("C:\\"));
-	AssertTrueL(ETrue, _L("default folder set"));
-
-	iDlg->SetTitleL(_L("a title"));
-	AssertTrueL(ETrue, _L("title set"));
-
-	iDlg->SetLeftSoftkeyFileL(_L("left fkey"));
-	AssertTrueL(ETrue, _L("left soft key file set"));
-
-	iDlg->SetLeftSoftkeyFolderL(_L("left dkey"));
-	AssertTrueL(ETrue, _L("left soft key folder set"));
-
-	iDlg->SetRightSoftkeyRootFolderL(_L("right root"));
-	AssertTrueL(ETrue, _L("right soft key root set"));
-
-	iDlg->SetRightSoftkeySubfolderL(_L("right sdir"));
-	AssertTrueL(ETrue, _L("right soft key sub folder set"));
-
-	//Add fileter and set Observer
-	struct MonkObserver: public MAknFileSelectionObserver{
-		TBool OkToExitL( const TDesC& /*aDriveAndPath*/, const TEntry& /*aEntry*/ ){
-			return ETrue;
-		}
-	} monkObserver;
-	
-	iDlg->SetObserver(&monkObserver);
-	AssertTrueL(ETrue, _L("Observer set"));
-
-	struct MonkFilter: public MAknFileFilter{
-		TBool Accept( const TDesC& /*aDriveAndPath*/, const TEntry& /*aEntry*/ ) const{
-			return ETrue;
-		}
-	};
-
-	iDlg->AddFilterL(new (ELeave) MonkFilter);	//problems, should be push into stack
-	AssertTrueL(ETrue, _L("Filter add"));
-
-	TFileName filename;
-	iDlg->ExecuteL(filename);
-}
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestmemselitem.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,183 +0,0 @@
-/*
-* 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:  test case
-*
-*/
-
-
-#include <w32std.h>
-#include <coecntrl.h>
-#include <AknLists.h>
-#include <aknsettingitemlist.h>
-#include <bctestcmdlg.rsg>
-
-#include "BCTestMemSelItem.h"
-#include "BCTestCmDlg.hrh"
-#include "streamlogger.h"
-#include "CVRSettingsDialogMMCSupported.h"
-
-// ======== MEMBER FUNCTIONS ========
-
-const TInt KItemPosition = 5;// Menu position of the test item
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd static Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestMemSelSettingItem* CBCTestMemSelSettingItem::NewL()
-    {
-    CBCTestMemSelSettingItem* self = new( ELeave ) CBCTestMemSelSettingItem();
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-    
-// ---------------------------------------------------------------------------
-// C++ default constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestMemSelSettingItem::CBCTestMemSelSettingItem():iItem(NULL)
-    {    
-    }
-    
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestMemSelSettingItem::~CBCTestMemSelSettingItem()
-    {  
-	Teardown();
-    }
-    
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestMemSelSettingItem::ConstructL()
-    {    
-    BuildScriptL();    
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestMemSelSettingItem::BuildScriptL
-// ---------------------------------------------------------------------------
-//
-void CBCTestMemSelSettingItem::BuildScriptL()
-    { 
-	AddTestL( DELAY(1), TEND);
-
-    // Add script as your need.   
-	for(int i=0; i<EBCTestCmdMemSelSettingItemEnd - EBCTestCmdMemSelSettingItemBegin -1; ++i)
-		{
-		AddTestL( LeftCBA, REP( Down, KItemPosition ), Right, TEND );
-		for(int j=0; j<i; ++j)
-			AddTestL( Down, TEND);
-		AddTestL( LeftCBA, TEND );
-		if(i == 1)
-			{
-			AddTestL( LeftCBA, WAIT(2),LeftCBA, WAIT(2), LeftCBA, WAIT(2), RightCBA, TEND);
-			}
-		AddOKL();
-		}
-    }
-    
-void CBCTestMemSelSettingItem::AddOKL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), KeyOK, TEND);
-	}
-
-void CBCTestMemSelSettingItem::AddCancelL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), RightCBA, TEND);
-	}
-
-// ---------------------------------------------------------------------------
-// CBCTestMemSelSettingItem::RunL
-// ---------------------------------------------------------------------------
-//
-void CBCTestMemSelSettingItem::RunL( TInt aCmd )
-    {
-	SetupL();
-	switch(aCmd){
-	case EBCTestCmdMemSelSettingItemCreate:
-		TestCreateL();
-		break;
-	case EBCTestCmdMemSelSettingItemEdit:
-		TestEditL();
-		break;
-	case EBCTestCmdMemSelSettingItemStore:
-		TestStoreL();
-		break;
-	case EBCTestCmdMemSelSettingItemSetting:
-		TestSettingL();
-		break;
-	default:
-		break;
-	}
-    Teardown();
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestMemSelSettingItem::ReleaseCaseL
-// ---------------------------------------------------------------------------
-//   
-void CBCTestMemSelSettingItem::Teardown()
-    {
-	delete iItem;
-	iItem = NULL;
-    }
-
-void CBCTestMemSelSettingItem::TestCreateL()
-	{
-	iItem = new (ELeave) CAknMemorySelectionSettingItem(0, iMemory);
-	AssertNotNullL(iItem, _L("Create in Heap"));
-	iItem->CompleteConstructionL();
-	AssertTrueL(ETrue, _L("complete construction"));
-	}
-
-void CBCTestMemSelSettingItem::TestEditL()
-	{
-	CVRSettingsDialog* settingsDlg = CVRSettingsDialog::NewL();
-	settingsDlg->ExecuteLD( R_VR_SETTINGS_DIALOG );
-	}
-
-void CBCTestMemSelSettingItem::TestStoreL()
-	{
-	iItem = new (ELeave) CAknMemorySelectionSettingItem(0, iMemory);
-	iItem->StoreL();
-	AssertTrueL(ETrue, _L("store"));
-	iItem->LoadL();
-	AssertTrueL(ETrue, _L("laod"));
-	}
-
-void CBCTestMemSelSettingItem::TestSettingL()
-	{
-	iItem = new (ELeave) CAknMemorySelectionSettingItem(0, iMemory);
-	TFileName text(iItem->SettingTextL());
-	text.ZeroTerminate();
-	AssertTrueL(ETrue, text);
-	}
-
-void CBCTestMemSelSettingItem::SetupL()
-	{
-	iMemory = CAknMemorySelectionDialog::EPhoneMemory;
-	}
-
-
-
--- a/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/src/bctestmemselpage.cpp	Mon May 03 12:45:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,195 +0,0 @@
-/*
-* 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:  test case
-*
-*/
-
-
-#include <w32std.h>
-#include <coecntrl.h>
-
-#include "BCTestMemSelPage.h"
-#include "BCTestCmDlg.hrh"
-#include "streamlogger.h"
-
-// ======== MEMBER FUNCTIONS ========
-
-// ---------------------------------------------------------------------------
-// Symbian 2nd static Constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestMemSelSettingPage* CBCTestMemSelSettingPage::NewL()
-    {
-    CBCTestMemSelSettingPage* self = new( ELeave ) CBCTestMemSelSettingPage();
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-    
-// ---------------------------------------------------------------------------
-// C++ default constructor
-// ---------------------------------------------------------------------------
-//
-CBCTestMemSelSettingPage::CBCTestMemSelSettingPage():iDlg(0)
-    {    
-    }
-    
-// ---------------------------------------------------------------------------
-// Destructor
-// ---------------------------------------------------------------------------
-//
-CBCTestMemSelSettingPage::~CBCTestMemSelSettingPage()
-    {  
-	delete iDlg;
-    }
-    
-// ---------------------------------------------------------------------------
-// Symbian 2nd Constructor
-// ---------------------------------------------------------------------------
-//
-void CBCTestMemSelSettingPage::ConstructL()
-    {    
-    BuildScriptL();    
-    }
-    
-// ---------------------------------------------------------------------------
-// CBCTestMemSelSettingPage::BuildScriptL
-// ---------------------------------------------------------------------------
-//
-void CBCTestMemSelSettingPage::BuildScriptL()
-    { 
-	AddTestL( DELAY(1), TEND);
-
-    // Add script as your need.   
-	for(int i=0; i<EBCTestCmdMemSelPageEnd - EBCTestCmdMemSelPageBegin -1; ++i)
-		{
-		AddTestL( LeftCBA, REP(Down, 1), Right, TEND );
-		for(int j=0; j<i; ++j)
-			AddTestL( Down, TEND);
-		AddTestL( LeftCBA, TEND );	
-		AddOKL();
-		}
-    }
-    
-void CBCTestMemSelSettingPage::AddOKL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), KeyOK, TEND);
-	}
-
-void CBCTestMemSelSettingPage::AddCancelL()
-	{
-	// add dlg response sciprts
-	for(int i=0; i<1; ++i)
-		AddTestL( WAIT(5), RightCBA, TEND);
-	}
-
-// ---------------------------------------------------------------------------
-// CBCTestMemSelSettingPage::RunL
-// ---------------------------------------------------------------------------
-//
-void CBCTestMemSelSettingPage::RunL( TInt aCmd )
-    {
-	SetupL();
-	switch(aCmd){
-	case EBCTestCmdMemSelPageCreate:
-		TestCreateL();
-		break;
-	case EBCTestCmdMemSelPageCreateRes:
-		TestCreateL(0);		// 0 is default res id
-		break;
-	case EBCTestCmdMemSelPageQuickCreate:
-		TestQuickCreateL();
-		break;
-	case EBCTestCmdMemSelPageQuickCreateTitle:
-		TestQuickCreateL(_L("a title"));
-		break;
-	case EBCTestCmdMemSelPageQuickCreateRes:
-		TestQuickCreateL(0);	// 0 is the default res id
-		break;
-	default:
-		break;
-	}
-    Teardown();
-    }
-
-// ---------------------------------------------------------------------------
-// CBCTestMemSelSettingPage::ReleaseCaseL
-// ---------------------------------------------------------------------------
-//   
-void CBCTestMemSelSettingPage::Teardown()
-    {
-	delete iDlg;
-	iDlg = NULL;
-    }
-
-void CBCTestMemSelSettingPage::TestCreateL()
-	{
-	_LIT( KRootPath,					"C:\\Nokia\\Images\\" );
-	_LIT( KDefaultFileName,				"DynamicFilename.jpg" );
-	TFileName emptyFileName( KNullDesC );
-	TFileName rootFileName( KRootPath );
-	TFileName defaultFileName( KDefaultFileName );
-
-	iDlg = CAknMemorySelectionSettingPage::NewL();
-	AssertNotNullL(iDlg, _L("mem sel setting page created"));
-
-	TInt returnValue = iDlg->ExecuteL( iMemory, &rootFileName, &defaultFileName );
-	iDlg->GetItem( iMemory, emptyFileName );
-
-	TFileName msg;
-	msg.Format( _L("User Hit: %d, Memory is: %d, FileName: "), returnValue, iMemory );
-	msg.Append( emptyFileName );
-	msg.ZeroTerminate();
-	AssertTrueL( ETrue, msg);
-	msg.Append( _L("Root: ") );
-	msg.Append( rootFileName );
-	msg.Append( _L(", Default: ") );
-	msg.Append( defaultFileName );
-	msg.ZeroTerminate();
-	AssertTrueL( ETrue, msg );
-	}
-
-void CBCTestMemSelSettingPage::TestCreateL(TInt aResID)
-	{
-	iDlg = CAknMemorySelectionSettingPage::NewL( aResID );
-	TInt returnValue = iDlg->ExecuteL( iMemory);
-	AssertTrueL( returnValue, _L("Create with Resorce ID"));
-	}
-
-void CBCTestMemSelSettingPage::TestQuickCreateL()
-	{
-	AssertTrueL(CAknMemorySelectionSettingPage::RunDlgLD(iMemory), _L("Quick create, User hit OK"));
-	AssertIntL( CAknMemorySelectionSettingPage::EPhoneMemory, iMemory, _L("Phone memroy created"));
-	}
-
-void CBCTestMemSelSettingPage::TestQuickCreateL(const TDesC &aTitle)
-	{
-	AssertTrueL(CAknMemorySelectionSettingPage::RunDlgLD(iMemory, aTitle), _L("Quick create with title, User hit OK"));
-	AssertIntL( CAknMemorySelectionSettingPage::EPhoneMemory, iMemory, _L("Phone memroy created"));
-	}
-
-void CBCTestMemSelSettingPage::TestQuickCreateL(TInt aResID)
-	{
-	AssertTrueL(CAknMemorySelectionSettingPage::RunDlgLD(iMemory, aResID), _L("Quick create with ResID, User hit OK"));
-	AssertIntL( CAknMemorySelectionSettingPage::EPhoneMemory, iMemory, _L("Phone memroy created"));
-	}
-
-void CBCTestMemSelSettingPage::SetupL()
-	{
-	iMemory = CAknMemorySelectionDialog::EPhoneMemory;
-	}
-
--- a/uifw/AvKon/tsrc/bc/S60_SDK5.0/bcmultidriver/src/bctestmultidrivercase.cpp	Mon May 03 12:45:33 2010 +0300
+++ b/uifw/AvKon/tsrc/bc/S60_SDK5.0/bcmultidriver/src/bctestmultidrivercase.cpp	Fri May 14 16:06:26 2010 +0300
@@ -18,8 +18,6 @@
 
 #include <w32std.h>
 #include <coecntrl.h>
-#include <CAknMemorySelectionSettingItemMultiDrive.h>
-#include <caknmemoryselectiondialogmultidrive.h>
 
 #include "BCTestMultiDrivercase.h"
 #include "BCTestMultiDrivercontainer.h"
@@ -111,111 +109,9 @@
 //    
 void CMultiDriverCase::TestFunctionL()
     {
-    // Test some API here
-    _LIT( MultiDrive, "CAknMemorySelectionSettingItemMultiDrive" );
-    _LIT( MultiDrive1, "CompleteConstructionL" );
-	_LIT( MultiDrive3, "StoreL" );
-	_LIT( MultiDrive4, "SettingTextL" );
-	_LIT( MultiDrive5, "LoadL" );
-	_LIT( MultiDriveRlease, "MultiDriveRlease" );
-	
-    TInt aId = 1;
-    TDriveNumber aSelDr = EDriveC;
-    
-    CAknMemorySelectionSettingItemMultiDrive *MemSelSetMulDriver = 
-        new ( ELeave ) CAknMemorySelectionSettingItemMultiDrive( aId, aSelDr ); 
-    		   
-    AssertNotNullL( MemSelSetMulDriver, MultiDrive );
-    
-    MemSelSetMulDriver->CompleteConstructionL();
-    AssertTrueL( ETrue, MultiDrive1 );
-   
-    CleanupStack::PushL( MemSelSetMulDriver ); 
-    
-    MemSelSetMulDriver->SettingTextL();
-    AssertTrueL( ETrue, MultiDrive4 );    
-     MemSelSetMulDriver->LoadL(); 
-     AssertTrueL( ETrue, MultiDrive5 );           
-         
-     MemSelSetMulDriver->StoreL();    
-     AssertTrueL( ETrue, MultiDrive3 );
-     
-     
-     CleanupStack::PopAndDestroy( MemSelSetMulDriver );
-     AssertTrueL( ETrue, MultiDriveRlease );
     }
     
 void CMultiDriverCase::TestFunction2L()
     {
-    // Test some API here
-    _LIT( MultiDrive5, "CAknMemorySelectionDialogMultiDrive::NewL()1" );
-	_LIT( MultiDrive6, "CAknMemorySelectionDialogMultiDrive::NewL()2" );
-	_LIT( MultiDrive7, "SetTitleL" );
-	_LIT( MultiDrive8, "SetLeftSoftkeyL" );
-    _LIT( MultiDrive9, "SetRightSoftkeyL" );
-    _LIT( MultiDrive10, "GetItem" );
-	_LIT( MultiDrive11, "ExecuteL1" );
-	_LIT( MultiDrive12, "ExecuteL2" );
-	_LIT( MultiDrive13, "RunDlgLD1" );
-    _LIT( MultiDrive14, "RunDlgLD2" );
-	_LIT( MultiDrive15, "RunDlgLD3" );
-	_LIT( MultiDrive16, "AddDrivePathsL" );
-	_LIT( MultiDrive17, "FindIndexByDrive" );
-
-    TInt includedMedias = 5; 
-    TDriveNumber aSelDr = EDriveC;
-    TCommonDialogType aDialogDr = ECFDDialogTypeNormal;    
-     
-    CAknMemorySelectionDialogMultiDrive *MemSelDialogMulDriver =
-        CAknMemorySelectionDialogMultiDrive::NewL( aDialogDr, EFalse );
-    AssertNotNullL( MemSelDialogMulDriver, MultiDrive5 );
-    CleanupStack::PushL( MemSelDialogMulDriver );           
-
-    CleanupStack::PopAndDestroy( MemSelDialogMulDriver );
-    
-    MemSelDialogMulDriver = CAknMemorySelectionDialogMultiDrive::NewL( 
-        aDialogDr, 0, EFalse, includedMedias );
-    AssertNotNullL( MemSelDialogMulDriver, MultiDrive6 );
-    CleanupStack::PushL( MemSelDialogMulDriver );           
-   
-    _LIT( tTxt, "MulDriver title" );
-    TBuf<16> aDefaultFolder( _L("c:\\") );
-    TBuf<16> aRootPath( _L("d:\\") );
-    TBuf<16> rText;
-    
-    MemSelDialogMulDriver->SetTitleL( tTxt );
-    AssertTrueL( ETrue, MultiDrive7 );
-    
-    MemSelDialogMulDriver->SetLeftSoftkeyL( tTxt );
-    AssertTrueL( ETrue, MultiDrive8 );
-    
-    MemSelDialogMulDriver->SetRightSoftkeyL( tTxt );
-    AssertTrueL( ETrue, MultiDrive9 );
-    
-    MemSelDialogMulDriver->GetItem( 1, rText );
-    AssertTrueL( ETrue, MultiDrive10 );
-    
-    MemSelDialogMulDriver->ExecuteL( aSelDr );
-    AssertTrueL( ETrue, MultiDrive11);
-    
-    MemSelDialogMulDriver->ExecuteL( aSelDr, &rText, &aDefaultFolder );
-    AssertTrueL( ETrue, MultiDrive12 );
-        
-    MemSelDialogMulDriver->RunDlgLD( aSelDr );
-    AssertTrueL( ETrue, MultiDrive13 );
-    
-    MemSelDialogMulDriver->RunDlgLD( aSelDr, aDefaultFolder );
-    AssertTrueL( ETrue, MultiDrive14 );
-    
-    MemSelDialogMulDriver->RunDlgLD( aSelDr, 0 );
-    AssertTrueL( ETrue, MultiDrive15 );
-    
-    MemSelDialogMulDriver->AddDrivePathsL( aRootPath, aDefaultFolder );
-    AssertTrueL( ETrue, MultiDrive16 );
-    
-    MemSelDialogMulDriver->FindIndexByDrive( aSelDr );
-    AssertTrueL( ETrue, MultiDrive17 );
-        
-    CleanupStack::PopAndDestroy( MemSelDialogMulDriver );  
     }
     
\ No newline at end of file
--- a/uifw/AvKon/tsrc/bc/S60_SDK5.0/bctestmix50/group/bctestmix50.rss	Mon May 03 12:45:33 2010 +0300
+++ b/uifw/AvKon/tsrc/bc/S60_SDK5.0/bctestmix50/group/bctestmix50.rss	Fri May 14 16:06:26 2010 +0300
@@ -30,7 +30,6 @@
 #include <avkonicons.hrh>
 
 #include <appinfo.rh>
-#include <commondialogs.rh>
 
 #include "bctestmix50.hrh"
 #include "bctestmix50.loc"
@@ -1126,19 +1125,6 @@
     flags = 0;
     }
 
-//----------------------------------------------------------------------------
-//    r_bctest_mix50patch_touchpane
-//    
-//----------------------------------------------------------------------------
-//
-RESOURCE MEMORYSELECTIONDIALOG r_bctest_mix50patch_memory_selection_locations
-    {
-    locations =
-        {
-        LOCATION { root_path = PHONE; },
-        LOCATION { root_path = MMC; }
-        };
-    }
 
 //-----------------------------------------------------------------------------
 //
--- a/uifw/AvKon/tsrc/bc/S60_SDK5.0/bctestmix50/inc/bctestmix50patchmisc.h	Mon May 03 12:45:33 2010 +0300
+++ b/uifw/AvKon/tsrc/bc/S60_SDK5.0/bctestmix50/inc/bctestmix50patchmisc.h	Fri May 14 16:06:26 2010 +0300
@@ -37,7 +37,6 @@
 #include <aknfeppensupportinterface.h>
 #include <COECOBS.H>
 #include <eikfnlab.h>
-#include <maknfilefilter.h>
 #include <aknserverapp.h>
 #include <AknsItemData.h>
 #include <AknNoteDialog.h>
@@ -435,24 +434,6 @@
 	friend class CBCTestMix50PatchControlCase;
 	};
 
-/**
- *  MonkFilter
- */
-struct MonkFilter: public MAknFileFilter
-    {
-
-    /**
-     * Checks if a file is accepted by the filter.
-     * @param aDriveAndPath Drive and full path of the file.
-     * @param aEntry A directory entry.
-     * @return Returns ETrue if filter accepts the file.
-     */
-    TBool Accept( const TDesC& /*aDriveAndPath*/, 
-            const TEntry& /*aEntry*/ ) const
-        {
-        return ETrue;
-        }
-    };
 
 /**
 *  helper class for test CAknAppServiceBase 
--- a/uifw/AvKon/tsrc/bc/S60_SDK5.0/bctestmix50/src/bctestmix50patchcontrolcase.cpp	Mon May 03 12:45:33 2010 +0300
+++ b/uifw/AvKon/tsrc/bc/S60_SDK5.0/bctestmix50/src/bctestmix50patchcontrolcase.cpp	Fri May 14 16:06:26 2010 +0300
@@ -30,14 +30,7 @@
 #include <eikcmobs.h>
 #include <eikbgfty.h>
 #include <aknchoicelist.h>
-#include <caknmemoryselectionsettingpage.h>
-#include <CommonDialogs.rsg> // Common dialogs resource IDs
-#include <caknmemoryselectionsettingitemmultidrive.h>
-#include <caknmemoryselectiondialogmultidrive.h>
-#include <caknfilenamepromptdialog.h>
-#include <akncommondialogsdynmem.h>
 #include <documenthandler.h>
-#include <maknfileselectionobserver.h>
 #include <aknfontaccess.h>
 #include <AknColourSelectionGrid.h>
 #include <aknsinglecolumnstyletreelist.h>
@@ -65,7 +58,6 @@
 #include <S32MEM.H>
 #include <aknsoundsystem.h>
 #include <akntitle.h>
-#include <akncommondialogs.h>
 #include <akntoolbar.h>
 #include <akntouchpane.h>
 #include <aknlayoutfont.h>
@@ -424,127 +416,6 @@
 //
 void CBCTestMix50PatchControlCase::TestCommonFileL()
     {
-    _LIT( KSetTitleL, 
-          "CAknMemorySelectionDialogMultiDrive::SetTitleL() invoked" );
-    _LIT( KSetLeftSoftkeyL, 
-          "CAknMemorySelectionDialogMultiDrivef::SetLeftSoftkeyL() invoked" );
-    _LIT( KSetRightSoftkeyL, 
-          "CAknMemorySelectionDialogMultiDrive::SetRightSoftkeyL() invoked" );
-    _LIT( KGetItem, 
-          "CAknMemorySelectionDialogMultiDrive::GetItem() invoked" );
-    _LIT( KExecute1, 
-          "CAknMemorySelectionDialogMultiDrive::ExecuteL1()invoked" );
-    _LIT( KExecute2, 
-          "CAknMemorySelectionDialogMultiDrive::ExecuteL2() invoked" );
-    _LIT( KRunDlgLD13, 
-          "CAknMemorySelectionDialogMultiDrive::RunDlgLD1()inovked" );
-    _LIT( KRunDlgLD14, 
-          "CAknMemorySelectionDialogMultiDrive::RunDlgLD2()invoked" );
-    _LIT( KRunDlgLD15, 
-          "CAknMemorySelectionDialogMultiDrive::RunDlgLD3()invoked" );
-    _LIT( KRunDlgLD16, 
-          "CAknMemorySelectionDialogMultiDrive::AddDrivePathsL()invoked" );
-    _LIT( KCAknMemorySelectionSettingItemMultiDriveDes, 
-          "~CAknMemorySelectionSettingItemMultiDrive()invoked");
-    _LIT( KMultiDriveNewL1, 
-          "CAknMemorySelectionDialogMultiDrive::NewL()1 invoked" );
-    _LIT( KMultiDriveNewL2, 
-          "CAknMemorySelectionDialogMultiDrive::NewL()2 invoked" );
-    _LIT( KCAknMemorySelectionSettingItemMultiDrive, 
-          "CAknMemorySelectionSettingItemMultiDrive() invoked");
-    _LIT( KCompleteConstructionL, 
-          "CAknMemorySelectionSettingItemMultiDrive::CompleteConstructionL(");
-    _LIT( KSettingTextL, 
-          "CAknMemorySelectionSettingItemMultiDrive::SettingTextL() invoked");
-    _LIT( KLoadL, 
-          "CAknMemorySelectionSettingItemMultiDrive::LoadL()invoked");
-    _LIT( KStoreL, 
-          "CAknMemorySelectionSettingItemMultiDrive::StoreL()invoked");
-    
-    TDriveNumber aSelDr = EDriveC;
-    
-    CAknMemorySelectionSettingItemMultiDrive* memSelection = 
-            new ( ELeave ) CAknMemorySelectionSettingItemMultiDrive( 
-            		R_BCTEST_MIX50PATCH_SETTING_PAGE, aSelDr );
-    AssertTrueL( ETrue, KCAknMemorySelectionSettingItemMultiDrive );
-    CleanupStack::PushL( memSelection );
-    
-    memSelection->CompleteConstructionL();
-    AssertTrueL( ETrue, KCompleteConstructionL );
-    
-    memSelection->SettingTextL();
-    AssertTrueL( ETrue, KSettingTextL );
-    
-    memSelection->LoadL();
-    AssertTrueL( ETrue, KLoadL );
-    
-    memSelection->StoreL();
-    AssertTrueL( ETrue, KStoreL );
-    
-    CleanupStack::PopAndDestroy( memSelection );
-    AssertTrueL( ETrue, KCAknMemorySelectionSettingItemMultiDriveDes );
-    
-    TInt includedMedias = 5; 
-    TCommonDialogType aDialogDr = ECFDDialogTypeNormal;    
-         
-    CAknMemorySelectionDialogMultiDrive* memSelDialogMulDriver =
-            CAknMemorySelectionDialogMultiDrive::NewL( aDialogDr, ETrue );
-    AssertNotNullL( memSelDialogMulDriver, KMultiDriveNewL1 );
-    
-    CleanupStack::PushL( memSelDialogMulDriver );           
-    CleanupStack::PopAndDestroy( memSelDialogMulDriver );
-        
-    memSelDialogMulDriver = CAknMemorySelectionDialogMultiDrive::NewL( 
-            aDialogDr, 0, EFalse, includedMedias );
-    AssertNotNullL( memSelDialogMulDriver, KMultiDriveNewL2 );
-    CleanupStack::PushL( memSelDialogMulDriver );           
-       
-    _LIT( tTxt, "Selection dialog title" );
-    TBuf<16> aDefaultFolder( _L("c:\\") );
-    TBuf<16> aRootPath( _L("d:\\") );
-    TBuf<KMaxFileName> rText;
-        
-    memSelDialogMulDriver->SetTitleL( tTxt );
-    AssertTrueL( ETrue, KSetTitleL );
-        
-    memSelDialogMulDriver->SetLeftSoftkeyL( _L("OK") );
-    AssertTrueL( ETrue, KSetLeftSoftkeyL );
-        
-    memSelDialogMulDriver->SetRightSoftkeyL( _L("Cancel") );
-    AssertTrueL( ETrue, KSetRightSoftkeyL );
-        
-    memSelDialogMulDriver->GetItem( 0, rText );
-    AssertTrueL( ETrue, KGetItem );
-        
-    memSelDialogMulDriver->ExecuteL( aSelDr );
-    AssertTrueL( ETrue, KExecute1); 
-        
-    memSelDialogMulDriver->ExecuteL( aSelDr, &rText, &aDefaultFolder );
-    AssertTrueL( ETrue, KExecute2 );
-            
-    memSelDialogMulDriver->RunDlgLD( aSelDr );
-    AssertTrueL( ETrue, KRunDlgLD13 );
-        
-    memSelDialogMulDriver->RunDlgLD( aSelDr, aDefaultFolder );
-    AssertTrueL( ETrue, KRunDlgLD14 );
-        
-    memSelDialogMulDriver->RunDlgLD( aSelDr, 0 );
-    AssertTrueL( ETrue, KRunDlgLD15 );
-        
-    memSelDialogMulDriver->AddDrivePathsL( aRootPath, aDefaultFolder );
-    AssertTrueL( ETrue, KRunDlgLD16 );
-            
-    CleanupStack::PopAndDestroy( memSelDialogMulDriver );
-    
-    TBuf<KMaxFileName> fileName( _L("c:\\data\\testcommonfile.txt") );
-    RFile file;
-    file.Replace( CCoeEnv::Static()->FsSession(), fileName, EFileWrite );
-    file.Close();
-    
-    CAknFileNamePromptDialog* promptDialog = CAknFileNamePromptDialog::NewL();
-    CleanupStack::PushL( promptDialog );
-    promptDialog->RenameL( fileName );
-    CleanupStack::PopAndDestroy( promptDialog );
     } 
 
 // ---------------------------------------------------------------------------
@@ -554,71 +425,6 @@
 //
 void CBCTestMix50PatchControlCase::TestSelectCommonFileL()
 	{
-	_LIT( KTitle, "Common File Test " );
-	_LIT( KRunSelectDlgLD, "AknCommonDialogsDynMem::RunSelectDlgLD()invoked");
-	
-	TBuf<KMaxFileName> folder(_L("c:\\data"));
-	TBuf<KMaxFileName> fileName( _L("c:\\data\\testcommonfile.txt") );
-	TInt res = R_BCTEST_MIX50PATCH_MEMORY_SELECTION_LOCATIONS;
-    
-    AknCommonDialogsDynMem::RunSelectDlgLD( 
-            AknCommonDialogsDynMem::EMemoryTypePhone, 
-            fileName,
-            res);
-    
-    AknCommonDialogsDynMem::RunSelectDlgLD(
-            AknCommonDialogsDynMem::EMemoryTypePhone, 
-            fileName,
-            res,
-            KTitle());
-    
-    MonkFilter filter;
-    AknCommonDialogsDynMem::RunSelectDlgLD(
-            AknCommonDialogsDynMem::EMemoryTypePhone, 
-            fileName,
-            res,
-            &filter );
-    
-    AknCommonDialogsDynMem::RunSelectDlgLD(
-            AknCommonDialogsDynMem::EMemoryTypePhone, 
-            fileName,
-            res,
-            0 );
-    
-    AknCommonDialogsDynMem::RunSelectDlgLD(
-            AknCommonDialogsDynMem::EMemoryTypePhone, 
-            fileName,
-            res,
-            &filter );
-    
-    AknCommonDialogsDynMem::RunSelectDlgLD(
-            AknCommonDialogsDynMem::EMemoryTypePhone, 
-            fileName,
-            folder,
-            res );    
-    
-    AknCommonDialogsDynMem::RunSelectDlgLD(
-            AknCommonDialogsDynMem::EMemoryTypePhone, 
-            fileName,
-            folder,
-            res,
-            &filter );
-    
-    AknCommonDialogsDynMem::RunSelectDlgLD(
-            AknCommonDialogsDynMem::EMemoryTypePhone, 
-            fileName,
-            folder,
-            res,
-            0 );
-    
-    AknCommonDialogsDynMem::RunSelectDlgLD(
-            AknCommonDialogsDynMem::EMemoryTypePhone, 
-            fileName,
-            folder,
-            res,
-            0,
-            KTitle() ); 
-    AssertTrueL( ETrue, KRunSelectDlgLD );
 	}
 
 // ---------------------------------------------------------------------------
@@ -628,61 +434,6 @@
 //
 void CBCTestMix50PatchControlCase::TestSaveCommonFileL()
 	{
-	_LIT( KTitle, "Common File Test " );
-	_LIT( KRunSaveDlgLD, "AknCommonDialogsDynMem::RunSaveDlgLD()invoked");
-	
-	TBuf<KMaxFileName> folder(_L("c:\\data"));
-	TBuf<KMaxFileName> fileName( _L("c:\\data\\testcommonfile.txt") );
-	TInt res = R_BCTEST_MIX50PATCH_MEMORY_SELECTION_LOCATIONS;
-	
-    AknCommonDialogsDynMem::RunSaveDlgLD( 
-            AknCommonDialogsDynMem::EMemoryTypePhone, 
-            fileName,
-            res);
-    
-    
-    AknCommonDialogsDynMem::RunSelectDlgLD(
-            AknCommonDialogsDynMem::EMemoryTypePhone, 
-            fileName,
-            res,
-            KTitle());
-    
-    MonkFilter filter;
-    AknCommonDialogsDynMem::RunSaveDlgLD(
-            AknCommonDialogsDynMem::EMemoryTypePhone, 
-            fileName,
-            res,
-            &filter );
-    
-    AknCommonDialogsDynMem::RunSaveDlgLD(
-    		AknCommonDialogsDynMem::EMemoryTypePhone, 
-    		fileName,
-    		res,
-    		KTitle(),
-    		KTitle() );
-    
-    
-    AknCommonDialogsDynMem::RunSaveDlgLD(
-            AknCommonDialogsDynMem::EMemoryTypePhone, 
-            fileName,
-            res,
-            0 );
-    
-    AknCommonDialogsDynMem::RunSaveDlgLD(
-            AknCommonDialogsDynMem::EMemoryTypePhone, 
-            fileName,
-            res,
-            0, 
-            KTitle() );
-    
-    AknCommonDialogsDynMem::RunSaveDlgLD(
-            AknCommonDialogsDynMem::EMemoryTypePhone, 
-            fileName,
-            folder,
-            res,
-            0,
-            KTitle() ); 
-    AssertTrueL( ETrue, KRunSaveDlgLD );
 	}
 
 // ---------------------------------------------------------------------------
--- a/uifw/AvKon/tsrc/bc/S60_SDKMCL/bctestmixmcl/group/bctestmixmcl.rss	Mon May 03 12:45:33 2010 +0300
+++ b/uifw/AvKon/tsrc/bc/S60_SDKMCL/bctestmixmcl/group/bctestmixmcl.rss	Fri May 14 16:06:26 2010 +0300
@@ -30,7 +30,6 @@
 #include <avkonicons.hrh>
 
 #include <appinfo.rh>
-#include <commondialogs.rh>
 
 #include "bctestmixmcl.hrh"
 #include "bctestmixmcl.loc"
--- a/uifw/AvKon/tsrc/bc/bctestdom3.2/bctestdomaiwakn/group/bctestdomaiwakn.rss	Mon May 03 12:45:33 2010 +0300
+++ b/uifw/AvKon/tsrc/bc/bctestdom3.2/bctestdomaiwakn/group/bctestdomaiwakn.rss	Fri May 14 16:06:26 2010 +0300
@@ -30,8 +30,6 @@
 #include <avkon.rh>
 #include <avkonicons.hrh>
 #include <appinfo.rh>
-#include <commondialogs.hrh> 
-#include <commondialogs.rh>
 #include <pathconfiguration.hrh>
  
 
@@ -286,23 +284,6 @@
             }
         };
     }
- 
-// ---------------------------------------------------------------------------
-// r_bctestdomaiwakn_aknfilefilterfactory_filter
-//
-// For testting APIs in AknFileFilterFactory.h    
-// ---------------------------------------------------------------------------
-//
-RESOURCE  FILTER r_bctestdomaiwakn_aknfilefilterfactory_filter
-    {
-    filter_type  = 1;
-    filter_style = EFilenameFilter;
-    filter_data  = 
-        {
-        qtn_bctestdomaiwakn_dummy,  
-        qtn_bctestdomaiwakn_dummy
-        };
-    }
 
 
 // End of File
--- a/uifw/AvKon/tsrc/bc/bctestdom3.2/bctestdomaiwakn/inc/bctestdomaknctrlcase.h	Mon May 03 12:45:33 2010 +0300
+++ b/uifw/AvKon/tsrc/bc/bctestdom3.2/bctestdomaiwakn/inc/bctestdomaknctrlcase.h	Fri May 14 16:06:26 2010 +0300
@@ -3,7 +3,7 @@
 *  Name        : bctestdomaknctrlcase.h
 *  Part of     : BCTest / bctestdomaiwakn       
 *  Description : declaration of test case
-*  Version     : %version: 1 % << Don't touch! Updated by Synergy at check-out.
+*  Version     : %version: be1nfmx1#1.1.1 % << Don't touch! Updated by Synergy at check-out.
 *
 *  Copyright © 2007.  All rights reserved.
 *  This material, including documentation and any related computer
@@ -132,13 +132,6 @@
      * @since S60 v5.0            
      */
     void TestAknCharMap(); //Ctrl  
-
-    /**
-     * Test functions
-     *
-     * @since S60 v5.0            
-     */
-    void TestAknFileFilterFactory(); //Not Ctrl  
                           
     /**
      * Test functions
--- a/uifw/AvKon/tsrc/bc/bctestdom3.2/bctestdomaiwakn/src/bctestdomaknctrlcase.cpp	Mon May 03 12:45:33 2010 +0300
+++ b/uifw/AvKon/tsrc/bc/bctestdom3.2/bctestdomaiwakn/src/bctestdomaknctrlcase.cpp	Fri May 14 16:06:26 2010 +0300
@@ -27,8 +27,7 @@
 #include <aknindicator.h>       // for testing APIs in aknindicator.h    
 #include <aknindicatorplugin.h> // for testing APIs in aknindicatorplugin.h
 #include <aknindicatorpluginimpluids.hrh>
-#include <aknincallbubblenotify.h>      
-#include <aknfilefilterfactory.h> 
+#include <aknincallbubblenotify.h>
 #include <aknglobalpopupprioritycontroller.h> 
 #include <aknappgrid.h> // for testing APIs in aknappgrid.h
 
@@ -121,8 +120,6 @@
             // test Ctrl classes         
             TestAknBattery();//Ctrl 
             TestAknCharMap(); //Ctrl  
-             
-            TestAknFileFilterFactory(); //Not Ctrl  
                           
             TestAknGlobalPopupPriorityController(); // Not Ctrl                 
             TestAknIncallBubbleNotify();//Not Ctrl            
@@ -421,26 +418,6 @@
     CleanupStack::PopAndDestroy( charMap ); 
   
     }
-    
-// ---------------------------------------------------------------------------
-// CBCTestDomAknCtrlCase::TestAknFileFilterFactory()
-// test APIs in AknFileFilterFactory.h 
-// Test Result: OK
-//           
-// ---------------------------------------------------------------------------
-//   
-void CBCTestDomAknCtrlCase::TestAknFileFilterFactory()
-    {
-    TResourceReader reader;
-    CCoeEnv::Static()->CreateResourceReaderLC( 
-        reader, 
-        R_BCTESTDOMAIWAKN_AKNFILEFILTERFACTORY_FILTER );// RESOURCE  FILTER 
-    AknFileFilterFactory::CreateFilterLC( reader ); //static function 
-    _LIT( KCreateFilterLC, "CreateFilterLC() test" );
-    AssertTrueL( ETrue,  KCreateFilterLC );     
- 
-    CleanupStack::PopAndDestroy(2); // reader and Filter
-    }
        
 // ---------------------------------------------------------------------------
 // CBCTestDomAknCtrlCase::TestAknGlobalPopupPriorityController()
--- a/uifw/AvKon/tsrc/bc/bctestdom5.0/bctestdomaiwakn/group/bctestdomaiwakn.rss	Mon May 03 12:45:33 2010 +0300
+++ b/uifw/AvKon/tsrc/bc/bctestdom5.0/bctestdomaiwakn/group/bctestdomaiwakn.rss	Fri May 14 16:06:26 2010 +0300
@@ -30,8 +30,6 @@
 #include <avkon.rh>
 #include <avkonicons.hrh>
 #include <appinfo.rh>
-#include <commondialogs.hrh> 
-#include <commondialogs.rh>
 #include <pathconfiguration.hrh>
  
 
@@ -286,23 +284,5 @@
             }
         };
     }
- 
-// ---------------------------------------------------------------------------
-// r_bctestdomaiwakn_aknfilefilterfactory_filter
-//
-// For testting APIs in AknFileFilterFactory.h    
-// ---------------------------------------------------------------------------
-//
-RESOURCE  FILTER r_bctestdomaiwakn_aknfilefilterfactory_filter
-    {
-    filter_type  = 1;
-    filter_style = EFilenameFilter;
-    filter_data  = 
-        {
-        qtn_bctestdomaiwakn_dummy,  
-        qtn_bctestdomaiwakn_dummy
-        };
-    }
-
 
 // End of File
--- a/uifw/AvKon/tsrc/bc/bctestdom5.0/bctestdomaiwakn/inc/bctestdomaknctrlcase.h	Mon May 03 12:45:33 2010 +0300
+++ b/uifw/AvKon/tsrc/bc/bctestdom5.0/bctestdomaiwakn/inc/bctestdomaknctrlcase.h	Fri May 14 16:06:26 2010 +0300
@@ -3,7 +3,7 @@
 *  Name        : bctestdomaknctrlcase.h
 *  Part of     : BCTest / bctestdomaiwakn       
 *  Description : declaration of test case
-*  Version     : %version: 1 % << Don't touch! Updated by Synergy at check-out.
+*  Version     : %version: be1nfmx1#1.1.1 % << Don't touch! Updated by Synergy at check-out.
 *
 *  Copyright © 2007.  All rights reserved.
 *  This material, including documentation and any related computer
@@ -133,12 +133,6 @@
      */
     void TestAknCharMap(); //Ctrl  
 
-    /**
-     * Test functions
-     *
-     * @since S60 v5.0            
-     */
-    void TestAknFileFilterFactory(); //Not Ctrl  
                           
     /**
      * Test functions
--- a/uifw/AvKon/tsrc/bc/bctestdom5.0/bctestdomaiwakn/src/bctestdomaknctrlcase.cpp	Mon May 03 12:45:33 2010 +0300
+++ b/uifw/AvKon/tsrc/bc/bctestdom5.0/bctestdomaiwakn/src/bctestdomaknctrlcase.cpp	Fri May 14 16:06:26 2010 +0300
@@ -27,8 +27,7 @@
 #include <aknindicator.h>       // for testing APIs in aknindicator.h    
 #include <aknindicatorplugin.h> // for testing APIs in aknindicatorplugin.h
 #include <aknindicatorpluginimpluids.hrh>
-#include <aknincallbubblenotify.h>      
-#include <aknfilefilterfactory.h> 
+#include <aknincallbubblenotify.h>
 #include <aknglobalpopupprioritycontroller.h> 
 #include <aknappgrid.h> // for testing APIs in aknappgrid.h
 
@@ -121,8 +120,6 @@
             // test Ctrl classes         
             TestAknBattery();//Ctrl 
             TestAknCharMap(); //Ctrl  
-             
-            TestAknFileFilterFactory(); //Not Ctrl  
                           
             TestAknGlobalPopupPriorityController(); // Not Ctrl                 
             TestAknIncallBubbleNotify();//Not Ctrl            
@@ -422,25 +419,6 @@
   
     }
     
-// ---------------------------------------------------------------------------
-// CBCTestDomAknCtrlCase::TestAknFileFilterFactory()
-// test APIs in AknFileFilterFactory.h 
-// Test Result: OK
-//           
-// ---------------------------------------------------------------------------
-//   
-void CBCTestDomAknCtrlCase::TestAknFileFilterFactory()
-    {
-    TResourceReader reader;
-    CCoeEnv::Static()->CreateResourceReaderLC( 
-        reader, 
-        R_BCTESTDOMAIWAKN_AKNFILEFILTERFACTORY_FILTER );// RESOURCE  FILTER 
-    AknFileFilterFactory::CreateFilterLC( reader ); //static function 
-    _LIT( KCreateFilterLC, "CreateFilterLC() test" );
-    AssertTrueL( ETrue,  KCreateFilterLC );     
- 
-    CleanupStack::PopAndDestroy(2); // reader and Filter
-    }
        
 // ---------------------------------------------------------------------------
 // CBCTestDomAknCtrlCase::TestAknGlobalPopupPriorityController()
--- a/uifw/EikStd/srvuisrc/EIKSRVUI.CPP	Mon May 03 12:45:33 2010 +0300
+++ b/uifw/EikStd/srvuisrc/EIKSRVUI.CPP	Fri May 14 16:06:26 2010 +0300
@@ -124,6 +124,9 @@
 #include <AknCustomCursorSupport.h>
 #include "AknEikSrv.pan"
 
+#include <hb/hbcore/hbsymbianvariant.h>
+#include <hb/hbcore/hbdevicedialogsymbian.h>
+
 #if defined(__WINS__)
 const TInt KEikServSideBarWidth = 35;
 const TInt KEikServAppbarHeight = 50;
@@ -1060,6 +1063,27 @@
     KeySounds()->BringToForeground();
     }
 
+LOCAL_C void ShowNotificationDialog(const TDesC& aNoteText)
+    {
+    _LIT(KNotificationDialogPlugin, "com.nokia.hb.devicenotificationdialog/1.0");
+    _LIT(KTimeout, "timeout");
+    _LIT(KTitle,   "title");
+
+    CHbDeviceDialogSymbian* dlg = CHbDeviceDialogSymbian::NewL();
+    CleanupStack::PushL(dlg);
+
+    TInt  timeout = 0;
+        
+    CHbSymbianVariantMap* map = CHbSymbianVariantMap::NewL();
+    CleanupStack::PushL(map);
+    
+    map->Add(KTimeout, CHbSymbianVariant::NewL(&timeout,    CHbSymbianVariant::EInt));
+    map->Add(KTitle,   CHbSymbianVariant::NewL(&aNoteText,  CHbSymbianVariant::EDes));
+    
+    dlg->Show(KNotificationDialogPlugin, *map);
+
+    CleanupStack::PopAndDestroy(2);
+    }
 
 void CEikServAppUi::HandleThreadExitL(RThread& aThread)
     {
@@ -1095,7 +1119,10 @@
         // Construct text for a panic note.
         HBufC* panicText = ConstructPanicTextLC( aThread, rdSupport );
         
-        iAknCapServerClient.ShowGlobalNoteL(panicText->Des(), EAknGlobalErrorNote);
+        /* iAknCapServerClient.ShowGlobalNoteL(panicText->Des(), EAknGlobalErrorNote); */
+
+        ShowNotificationDialog( panicText->Des() );
+
         CleanupStack::PopAndDestroy(); // panicText
         }
         
--- a/uifw/EikStd/srvuisrc/EIKSRVUI.MMP	Mon May 03 12:45:33 2010 +0300
+++ b/uifw/EikStd/srvuisrc/EIKSRVUI.MMP	Fri May 14 16:06:26 2010 +0300
@@ -94,6 +94,7 @@
 LIBRARY         aknnotifierwrapper.lib
 LIBRARY         aknnotifyplugin.lib // for dialog controller stub
 LIBRARY         aknlayout2.lib
+LIBRARY        HbCore.lib
 
 LIBRARY         gdi.lib
 DEFFILE         EIKSVUI.DEF