videoscheduler/SchedulerServer/inc/MCseSchedulerTimerObserver.h
branchRCL_3
changeset 48 13a33d82ad98
parent 0 822a42b6c3f1
equal deleted inserted replaced
47:826cea16efd9 48:13a33d82ad98
       
     1 /*
       
     2 * Copyright (c) 2006 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 the License "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 
       
    20 
       
    21 #ifndef __MCSESCHEDULERTIMEROBSERVER_H__
       
    22 #define __MCSESCHEDULERTIMEROBSERVER_H__
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 // None
       
    26 
       
    27 // CLASS DECLARATION
       
    28 /**
       
    29 * MCseSchedulerTimerObserver
       
    30 * This class specifies the function to be called when a timeout occurs.
       
    31 * Used in conjunction with CCseSchedulerTimer class.
       
    32 */
       
    33 class MCseSchedulerTimerObserver
       
    34     {
       
    35     public: // New functions
       
    36         /**
       
    37 		* Called when time is up and plugins should be run.
       
    38 		* 
       
    39 		*/
       
    40         virtual void RunPluginsL( ) = 0;
       
    41         
       
    42         /**
       
    43 		* Informs about time errors (time changes, timer is set towards time already
       
    44 		* in past),
       
    45 		* @parms aError timer error code. Most common are:
       
    46 		*               KErrAbort - Phone time has changed
       
    47 		*               KErrUnderflow - Time is in the past
       
    48 		*               KErrOverFlow - Time is too far in the future
       
    49 		*/
       
    50         virtual void TimerErrorL( TInt32 aError ) = 0;
       
    51     };
       
    52 
       
    53 #endif // __MCSESCHEDULERTIMEROBSERVER_H__
       
    54 
       
    55 // End of File