remotemgmt_plat/syncml_ds_error_reporting_api/tsrc/SyncStatusSpy/inc/CenrepUtils.h
branchRCL_3
changeset 26 19bba8228ff0
parent 11 06f47423ecee
equal deleted inserted replaced
25:b183ec05bd8c 26:19bba8228ff0
       
     1 /*
       
     2 * Copyright (c) 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 #ifndef CCENREPUTILS_H
       
    20 #define CCENREPUTILS_H
       
    21 
       
    22 // INCLUDES
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 enum TLogKey
       
    29     {
       
    30 	EErrorCode = 1,
       
    31 	EProfileId,
       
    32 	ESyncType,
       
    33 	ESyncInitiation
       
    34     };
       
    35 
       
    36 /**
       
    37 * CCenrepUtils utils class to write logs.
       
    38 */
       
    39 class CCenrepUtils : public CBase
       
    40     {
       
    41 	public: //Constructors and destructors
       
    42 
       
    43 		static void WriteLogL( TUint32 aKey, TLogKey aValue );
       
    44 
       
    45 		static void GetDateAndTimeL( TDes8& aDateBuffer, TDes8& aTimeBuffer );
       
    46 
       
    47 		static void CreateSyncLogDirL();
       
    48 
       
    49 		static void ClearSyncLogL();
       
    50 
       
    51 	private:
       
    52 
       
    53     };
       
    54 
       
    55 
       
    56 #endif
       
    57 
       
    58 // End of File