diff -r 6369bfd1b60d -r 08b5eae9f9ff upnpsettings/upnpgsplugin/src/upnpsettingitemmemoryselection.cpp --- a/upnpsettings/upnpgsplugin/src/upnpsettingitemmemoryselection.cpp Mon Nov 01 13:44:24 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,123 +0,0 @@ -/* -* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: CUPnPSettingItemMemorySelection class implementation -* -*/ - - - - - - -#include -#include -#include -#include -#include - -#include "upnpsettingitemmemoryselection.h" - -_LIT( KComponentLogfile, "upnpgsplugin.txt"); -#include "upnplog.h" - -// ================= MEMBER FUNCTIONS ======================= - -// -------------------------------------------------------------------------- -// CUPnPSettingItemMemorySelection::NewL -// -------------------------------------------------------------------------- -// -CUPnPSettingItemMemorySelection* CUPnPSettingItemMemorySelection::NewL( - TInt aIdentifier, - TDriveNumber& aSelectedDrive ) - { - __LOG("[gsplugin]\t CUPnPSettingItemMemorySelection::NewL"); - - CUPnPSettingItemMemorySelection* self = - new (ELeave) CUPnPSettingItemMemorySelection( - aIdentifier, - aSelectedDrive ); - - CleanupStack::PushL(self); - self->ConstructL(); - CleanupStack::Pop(self); - return self; - } - -// -------------------------------------------------------------------------- -// CUPnPSettingItemMemorySelection::ConstructL -// -------------------------------------------------------------------------- -// -void CUPnPSettingItemMemorySelection::ConstructL() - { - __LOG("[gsplugin]\t\ -CUPnPSettingItemMemorySelection::ConstructL"); - - } - -// -------------------------------------------------------------------------- -// CUPnPSettingItemMemorySelection::~CUPnPSettingItemMemorySelection() -// -------------------------------------------------------------------------- -// -CUPnPSettingItemMemorySelection::~CUPnPSettingItemMemorySelection() - { - __LOG("[gsplugin]\t\ -CUPnPSettingItemMemorySelection::~CUPnPSettingItemMemorySelection"); - - } - -// -------------------------------------------------------------------------- -// CUPnPSettingItemMemorySelection::EditItemL( TBool aCalledFromMenu ) -// -------------------------------------------------------------------------- -// -void CUPnPSettingItemMemorySelection::EditItemL( TBool /*aCalledFromMenu*/ ) - { - __LOG("[gsplugin]\t CUPnPSettingItemMemorySelection::EditItemL"); - - CAknMemorySelectionDialogMultiDrive* dlg = - CAknMemorySelectionDialogMultiDrive::NewL( - ECFDDialogTypeNormal, - 0, - EFalse, - AknCommonDialogsDynMem::EMemoryTypePhone | - AknCommonDialogsDynMem::EMemoryTypeInternalMassStorage | - AknCommonDialogsDynMem::EMemoryTypeMMCExternal - ); - - CleanupStack::PushL(dlg); - - if (dlg->ExecuteL(iInternalData)) - { - // Call CAknMemorySelectionSettingItemMultiDrive::StoreL() - StoreL(); - } - - CleanupStack::PopAndDestroy(dlg); - - } - -// -------------------------------------------------------------------------- -// CUPnPSettingItemMemorySelection::CUPnPSettingItemMemorySelection -// -------------------------------------------------------------------------- -// -CUPnPSettingItemMemorySelection::CUPnPSettingItemMemorySelection( - TInt aIdentifier, - TDriveNumber& aSelectedDrive//, - ) : - CAknMemorySelectionSettingItemMultiDrive( aIdentifier, aSelectedDrive ) - { - } - - -// End of File -