systemswstubs/exampledsy/inc/dsyfactory.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 CDosFactoryExample class
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __DSYFACTORY_H__
       
    21 #define __DSYFACTORY_H__
       
    22 
       
    23 #include "DosFactoryBase.h"
       
    24 
       
    25 /**
       
    26 * Plug-in class that implements the MDosFactoryBaseDSY class and 
       
    27 * creates all the other plug-in services.
       
    28 */
       
    29 class CDosFactoryExample : public CDosFactoryBase
       
    30 {
       
    31 public:
       
    32 	/**
       
    33 	* NewL function that creates the object.
       
    34 	* @return The newly created object.
       
    35 	*/
       
    36 	static CDosFactoryExample* NewL();
       
    37 
       
    38 	//======================================================
       
    39 	// See MDosFactoryBaseDSY class for a description of
       
    40 	// the following functions.
       
    41 	//======================================================
       
    42 
       
    43 	CDosSysUtilsBase* NewSysUtilsServiceL();
       
    44 	CDosHelperBase* NewHelperServiceL();
       
    45 	CDosMtcBase* NewMtcServiceL();
       
    46 	CDosSelfTestBase* NewSelfTestServiceL();
       
    47 
       
    48     CDosSaeBase* NewSaeServiceL();
       
    49     
       
    50 	CDosExtensionBase* NewExtensionServiceL();
       
    51 
       
    52 private:
       
    53 	/**
       
    54 	* Symbian two-phased constructor.
       
    55 	*/
       
    56 	void ConstructL();
       
    57 };
       
    58 
       
    59 #endif //__DSYFACTORY_H__