systemswstubs/exampledsy/src/dsyextension.cpp
changeset 0 0ce1b5ce9557
equal deleted inserted replaced
-1:000000000000 0:0ce1b5ce9557
       
     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: 
       
    15 *    It implements the class CDosExtensionExample.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #include "DsyExtension.h"
       
    21 #include "DsyDebug.h"
       
    22 
       
    23 //
       
    24 // ---------------------------------------------------------
       
    25 // CDosExtensionExample::NewL
       
    26 // ---------------------------------------------------------
       
    27 //  
       
    28 CDosExtensionExample* CDosExtensionExample::NewL()
       
    29 {
       
    30 	FLOG(_L("CDosExtensionExample::NewL()"));
       
    31 
       
    32 	CDosExtensionExample* result = new (ELeave) CDosExtensionExample;
       
    33 
       
    34 	CleanupStack::PushL(result);
       
    35 	result->ConstructL();
       
    36 	CleanupStack::Pop();
       
    37 
       
    38 	return result;
       
    39 }
       
    40 
       
    41 //
       
    42 // ---------------------------------------------------------
       
    43 // CDosExtensionExample::ConstructL
       
    44 // ---------------------------------------------------------
       
    45 //  
       
    46 void CDosExtensionExample::ConstructL()
       
    47 {
       
    48 	FLOG(_L("CDosExtensionExample::ConstructL()"));
       
    49 }
       
    50 
       
    51 
       
    52 //
       
    53 // ---------------------------------------------------------
       
    54 // CDosExtensionExample::CallFunctionL
       
    55 // ---------------------------------------------------------
       
    56 //  
       
    57 TInt CDosExtensionExample::CallFunctionL(TInt /*aFunc*/ , TAny* /*aParameter*/ , TInt /*aParLength*/, TBool& /*aParameterModified*/)
       
    58 {
       
    59 	FLOG(_L("CDosExtensionExample::CallFunctionL()"));
       
    60 
       
    61 	return KErrNone;
       
    62 }
       
    63 
       
    64 
       
    65 //
       
    66 // ---------------------------------------------------------
       
    67 // CDosExtensionExample::CallFunctionAndCompleteL
       
    68 // ---------------------------------------------------------
       
    69 //  
       
    70 void CDosExtensionExample::CallFunctionAndCompleteL(TInt /*aFunc*/ , TAny* /*aParameter*/ , TInt /*aParLength*/, const RMessage2& aMessage)
       
    71 {
       
    72 	FLOG(_L("CDosExtensionExample::CallFunctionAndCompleteL()"));
       
    73 
       
    74 	CompleteRequest(aMessage,KErrNone);
       
    75 }