internetradio2.0/rfsplugininc/irrfsplugin.h
changeset 14 896e9dbc5f19
parent 12 608f67c22514
child 15 065198191975
equal deleted inserted replaced
12:608f67c22514 14:896e9dbc5f19
     1 /*
       
     2 * Copyright (c) 2007-2007 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:  RFS ECOM plugin for Internet Radio
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_IRRFSPLUGIN_H
       
    20 #define C_IRRFSPLUGIN_H
       
    21 
       
    22 #include <rfsPlugin.h>
       
    23 
       
    24 /**
       
    25  *  Internet Radio RFS ECOM plugin implementation.
       
    26  *
       
    27  *  Handles deleting of Internet Radio files when RFS operation is invoked.
       
    28  *
       
    29  *  @since S60 v3.2
       
    30  */
       
    31 NONSHARABLE_CLASS( CIRRfsPlugin ) : public CRFSPlugin
       
    32     {
       
    33 
       
    34 public:
       
    35 
       
    36     /**
       
    37      * Two-phased constructor.
       
    38      *
       
    39      * @since   S60 v3.2
       
    40      * @param   aInitParams   Initialisation parameters.
       
    41      * @return  The created object.
       
    42      */
       
    43     static CIRRfsPlugin* NewL( TAny* aInitParams );
       
    44 
       
    45     /**
       
    46      * Destructor.
       
    47      *
       
    48      * @since   S60 v3.2
       
    49      */
       
    50     ~CIRRfsPlugin();
       
    51 
       
    52 private:
       
    53 
       
    54     /**
       
    55      * Constructor.
       
    56      *
       
    57      * @since   S60 v3.2
       
    58      * @param   aInitParams   Initialisation parameters.
       
    59      */
       
    60     CIRRfsPlugin( TAny* aInitParams );
       
    61 
       
    62     /**
       
    63      * Second-phase constructor.
       
    64      *
       
    65      * @since   S60 v3.2
       
    66      */
       
    67     void ConstructL();
       
    68 
       
    69 // from base class CRFSPlugin
       
    70 
       
    71     void RestoreFactorySettingsL( const TRfsReason aType );
       
    72     void GetScriptL( const TRfsReason aType, TDes& aPath );
       
    73     void ExecuteCustomCommandL( const TRfsReason aType, TDesC& aCommand );
       
    74 
       
    75     };
       
    76 
       
    77 #endif // C_CIRRFSPLUGIN_H