profilesapplication/Profiles/ProfilesGSTonesPlugin/src/CProfilesGSTonesPluginSettingsHandlerDrmFull.cpp
branchRCL_3
changeset 19 cd54903d48da
parent 0 ca436256272f
equal deleted inserted replaced
18:b7fa36b488f8 19:cd54903d48da
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Settings handler for the settings outside of Profiles.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // CLASS HEADER
       
    21 #include "CProfilesGSTonesPluginSettingsHandler.h"
       
    22 
       
    23 #include <DRMHelper.h>
       
    24 
       
    25 // ============================ MEMBER FUNCTIONS ===============================
       
    26 
       
    27 // -----------------------------------------------------------------------------
       
    28 // CProfilesGSTonesPluginSettingsHandler::RemoveAutomatedContent
       
    29 // -----------------------------------------------------------------------------
       
    30 //
       
    31 void CProfilesGSTonesPluginSettingsHandler::RemoveAutomatedContent(
       
    32         const TDesC& aOldTone )
       
    33     {
       
    34     iDrmHelper->RemoveAutomatedPassive( aOldTone ); // ignore return value
       
    35     }
       
    36 
       
    37 // -----------------------------------------------------------------------------
       
    38 // CProfilesGSTonesPluginSettingsHandler::DrmConstructL
       
    39 // -----------------------------------------------------------------------------
       
    40 //
       
    41 void CProfilesGSTonesPluginSettingsHandler::DrmConstructL()
       
    42     {
       
    43     iDrmHelper = CDRMHelper::NewL( *iCoeEnv );
       
    44     }
       
    45 
       
    46 // -----------------------------------------------------------------------------
       
    47 // CProfilesGSTonesPluginSettingsHandler::DrmDelete
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 void CProfilesGSTonesPluginSettingsHandler::DrmDelete()
       
    51     {
       
    52     delete iDrmHelper;
       
    53     iDrmHelper = NULL;
       
    54     }
       
    55 
       
    56 // End Of File
       
    57