policymanagement/policyengine/PMRfsPlugin/inc/PMRfsPlugin.h
changeset 0 b497e44ab2fc
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2005 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: Implementation of policymanagement components
       
    15 *  
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef PMRFSPLUGIN_H__
       
    22 #define PMRFSPLUGIN_H__
       
    23 
       
    24 //  INCLUDES
       
    25 #include <e32base.h>
       
    26 #include <rfsPlugin.h>
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 class CPMRfsPlugin : public CRFSPlugin
       
    31     {
       
    32 public:
       
    33 
       
    34     /**
       
    35     * Two-phased constructor.
       
    36 	* @param	aInitParams initial parameters
       
    37     */
       
    38     static CPMRfsPlugin* NewL(TAny* aInitParams);
       
    39 
       
    40     /**
       
    41     * Destructor.
       
    42     */
       
    43     virtual ~CPMRfsPlugin();
       
    44 
       
    45     /**
       
    46     * 
       
    47 	* @param
       
    48     */
       
    49     void RestoreFactorySettingsL( const TRfsReason aType );
       
    50 
       
    51     /**
       
    52     * 
       
    53 	* @param
       
    54     */
       
    55     void GetScriptL( const TRfsReason aType, TDes& aPath );
       
    56 
       
    57     /**
       
    58     * 
       
    59 	* @param
       
    60     */
       
    61     void ExecuteCustomCommandL( const TRfsReason aType, TDesC& aCommand );
       
    62 private:
       
    63 
       
    64     /**
       
    65     * C++ default constructor.
       
    66     */
       
    67     CPMRfsPlugin();
       
    68 
       
    69     /**
       
    70     * Constructor.
       
    71     * @param	aInitParams initial parameters
       
    72 	*/
       
    73 	CPMRfsPlugin(TAny* aInitParams);
       
    74 
       
    75     /**
       
    76     * Constructor
       
    77     */
       
    78     void ConstructL();
       
    79     
       
    80    
       
    81     /*
       
    82     * Check if the format MMC card flag is enabled
       
    83     */
       
    84     TBool IsMMCFormatFlagEnabledL();
       
    85     #ifdef RD_MULTIPLE_DRIVE
       
    86     TFileName iFileName;
       
    87     #endif //RD_MULTIPLE_DRIVE
       
    88     };
       
    89 
       
    90 
       
    91 
       
    92 #endif      // PMRFSPLUGIN_H__
       
    93 
       
    94 // End of File