systemswstubs/exampledsy/inc/dsymtc.h
branchRCL_3
changeset 44 b5894bb67e73
parent 35 37b610eb7fe3
equal deleted inserted replaced
35:37b610eb7fe3 44:b5894bb67e73
     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 CDosMtcExample class
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __DSYMTC_H__
       
    21 #define __DSYMTC_H__
       
    22 
       
    23 #include "DosMtcBase.h"
       
    24 
       
    25 /**
       
    26 * Plug-in class that implements the MDosMtcBaseDSY class and 
       
    27 * satisfies the RDosMtc requests from the clients.
       
    28 */
       
    29 class CDosMtcExample : public CDosMtcBase
       
    30 {
       
    31 public:
       
    32 	/**
       
    33 	* NewL function that creates the object.
       
    34 	* @return The newly created object.
       
    35 	*/
       
    36 	static CDosMtcExample* NewL();
       
    37 
       
    38 	//======================================================
       
    39 	// See MDosMtcBaseDSY class for a description of
       
    40 	// the following functions.
       
    41 	//======================================================
       
    42 	TInt PowerOnL();
       
    43 	TInt PowerOffL();
       
    44 	TInt DosSyncL();
       
    45 	TInt ResetGenerateL();
       
    46 	TInt SetStateL(const TInt aStateType);
       
    47 
       
    48 	TInt SetStateFlagL(const TDosStateFlag aFlag);
       
    49 	TInt GetStateFlagL(TDosStateFlag& aFlag);
       
    50 
       
    51 private:
       
    52 	/**
       
    53 	* Symbian two-phased constructor.
       
    54 	*/
       
    55 	void ConstructL();
       
    56 };
       
    57 
       
    58 #endif //__DSYMTC_H__