e32tools/elf2e32/source/messagehandler.h
changeset 0 044383f39525
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Message Handler Class for elf2e32 tool
       
    15 // @internalComponent
       
    16 // @released
       
    17 // 
       
    18 //
       
    19 
       
    20 
       
    21 #ifndef _MESSAGE_HANDLER_
       
    22 #define _MESSAGE_HANDLER_
       
    23 
       
    24 #include "messageimplementation.h"
       
    25 
       
    26 /**
       
    27 Class for Message Handler which will be used for getting instance of Message Implementationin
       
    28 and start logging, creating message file, initializing messages.
       
    29 @internalComponent
       
    30 @released
       
    31 */
       
    32 class MessageHandler
       
    33 {
       
    34     public:
       
    35 		static Message *GetInstance();
       
    36 		static void CleanUp();
       
    37 		static void StartLogging(char *filename);
       
    38 		static void CreateMessageFile(char *fileName);
       
    39 		static void InitializeMessages(char *fileName);
       
    40 
       
    41     private:
       
    42 		static Message* iInstance;
       
    43 };
       
    44 
       
    45 
       
    46 
       
    47 #endif
       
    48