bluetoothengine/bteng/btrfsplugin/src/btrfsplugin.cpp
changeset 0 f63038272f30
child 11 f7fbeaeb166a
equal deleted inserted replaced
-1:000000000000 0:f63038272f30
       
     1 /*
       
     2 * Copyright (c) 2008-2009 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: 
       
    15 *     
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include <hal.h>
       
    22 #include "btrfsplugin.h"
       
    23 #include "debug.h" // bteng debug utility
       
    24 
       
    25 // LOCAL CONSTANTS
       
    26 _LIT(KScriptPath, "z:\\resource\\btrfs.txt");
       
    27 
       
    28 // ================= MEMBER FUNCTIONS =======================
       
    29 
       
    30 // C++ default constructor can NOT contain any code, that
       
    31 // might leave.
       
    32 //
       
    33 CBTRFSPlugin::CBTRFSPlugin() : CRFSPlugin()
       
    34     {
       
    35     }
       
    36 
       
    37 CBTRFSPlugin::CBTRFSPlugin(TAny* /*aInitParams*/) : CRFSPlugin()
       
    38     {
       
    39     }
       
    40 
       
    41 // Destructor
       
    42 CBTRFSPlugin::~CBTRFSPlugin()
       
    43     {
       
    44     TRACE_FUNC_ENTRY
       
    45     TRACE_FUNC_EXIT
       
    46     }
       
    47 
       
    48 // ---------------------------------------------------------
       
    49 // NewL
       
    50 // ---------------------------------------------------------
       
    51 //
       
    52 CBTRFSPlugin* CBTRFSPlugin::NewL(TAny* aInitParams)
       
    53     {
       
    54     TRACE_FUNC_ENTRY
       
    55     CBTRFSPlugin* self = new (ELeave) CBTRFSPlugin(aInitParams);
       
    56     CleanupStack::PushL(self);
       
    57     self->ConstructL();
       
    58     CleanupStack::Pop();
       
    59     TRACE_FUNC_EXIT
       
    60     return self;
       
    61     }
       
    62 
       
    63 
       
    64 // ---------------------------------------------------------
       
    65 // ConstructL
       
    66 // ---------------------------------------------------------
       
    67 //
       
    68 void CBTRFSPlugin::ConstructL()
       
    69     {
       
    70     TRACE_FUNC_ENTRY
       
    71     TRACE_FUNC_EXIT
       
    72     }
       
    73 
       
    74 void CBTRFSPlugin::RestoreFactorySettingsL( const TRfsReason /*aType*/ )
       
    75     {
       
    76     TRACE_FUNC_ENTRY
       
    77     TRACE_FUNC_EXIT
       
    78     }
       
    79 
       
    80 void CBTRFSPlugin::GetScriptL( const TRfsReason /*aType*/, TDes& aPath )
       
    81     {
       
    82     TRACE_FUNC_ENTRY
       
    83     aPath.Copy( KScriptPath);
       
    84     TRACE_FUNC_EXIT
       
    85     }
       
    86 
       
    87 void CBTRFSPlugin::ExecuteCustomCommandL( const TRfsReason /*aType*/,
       
    88                                         TDesC& /*aCommand*/ )
       
    89     {
       
    90     TRACE_FUNC_ENTRY
       
    91     TRACE_FUNC_EXIT
       
    92     }
       
    93 
       
    94 // End of file