eventsui/eventshandlerui/eventshandler/inc/evthandler.h
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2008 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:  Client Provider for Events Handler Server
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __EVTHANDLER_H
       
    20 #define __EVTHANDLER_H
       
    21 
       
    22 // SYSTEM INCLUDES
       
    23 #include <e32base.h>
       
    24 
       
    25 /**
       
    26  *  Events Handler server start up routines.
       
    27  *
       
    28  *  It contains static funtions which start up the Events Handler server.
       
    29  *
       
    30  *  @since S60 v5.0
       
    31  */
       
    32 NONSHARABLE_CLASS( EvtHandlerStartup )
       
    33     {
       
    34 public:
       
    35     /**
       
    36      * Starts the Events Handler.
       
    37      *
       
    38      * @since S60 v5.0
       
    39      * @return KErrNone, If the process has been started successfully.
       
    40      *         System wide error codes incase the startup fails.
       
    41      */
       
    42     static TInt StartEvtHandler();
       
    43 
       
    44 private:
       
    45     /**
       
    46      * Handles the Event Fired
       
    47 	 * Logs the event id into log file and handles the fired event.     
       
    48 	 *
       
    49      * @since S60 v5.0
       
    50      * @leave System wide error codes incase the startup fails.
       
    51      */
       
    52     static void HandleEventL();     
       
    53     };
       
    54 
       
    55 #endif // __EVTHANDLER_H