systemswstubs/exampledsy/inc/dsyextension.h
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 describes the CDosExtensionExample class
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __DSYEXTENSION_H__
       
    21 #define __DSYEXTENSION_H__
       
    22 
       
    23 #include "DosExtensionBase.h"
       
    24 
       
    25 /**
       
    26 * Plug-in class that implements the MDosExtensionBaseDSY class and to 
       
    27 * satisfy the RDosExtension requests from the client side.
       
    28 */
       
    29 class CDosExtensionExample : public CDosExtensionBase
       
    30 {
       
    31 public:
       
    32 	/**
       
    33 	* NewL function that creates the object.
       
    34 	* @return The newly created object.
       
    35 	*/
       
    36 	static CDosExtensionExample* NewL();
       
    37 
       
    38 	//======================================================
       
    39 	// See MDosExtensionBaseDSY class for a description of
       
    40 	// the following functions.
       
    41 	//======================================================
       
    42 	TInt CallFunctionL(TInt aFunc , TAny *aParameter , TInt aParLength, TBool& aParameterModified);
       
    43 	void CallFunctionAndCompleteL(TInt aFunc , TAny *aParameter , TInt aParLength, const RMessage2& aMessage);
       
    44 
       
    45 private:
       
    46 	/**
       
    47 	* Symbian two-phased constructor.
       
    48 	*/
       
    49 	void ConstructL();
       
    50 };
       
    51 
       
    52 
       
    53 #endif //__DSYEXTENSION_H__