videoscheduler/SchedulerServer/inc/MCseSchedulerTimerObserver.h
branchRCL_3
changeset 48 13a33d82ad98
parent 0 822a42b6c3f1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/videoscheduler/SchedulerServer/inc/MCseSchedulerTimerObserver.h	Wed Sep 01 12:20:37 2010 +0100
@@ -0,0 +1,55 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: 
+*
+*/
+
+
+
+
+#ifndef __MCSESCHEDULERTIMEROBSERVER_H__
+#define __MCSESCHEDULERTIMEROBSERVER_H__
+
+// FORWARD DECLARATIONS
+// None
+
+// CLASS DECLARATION
+/**
+* MCseSchedulerTimerObserver
+* This class specifies the function to be called when a timeout occurs.
+* Used in conjunction with CCseSchedulerTimer class.
+*/
+class MCseSchedulerTimerObserver
+    {
+    public: // New functions
+        /**
+		* Called when time is up and plugins should be run.
+		* 
+		*/
+        virtual void RunPluginsL( ) = 0;
+        
+        /**
+		* Informs about time errors (time changes, timer is set towards time already
+		* in past),
+		* @parms aError timer error code. Most common are:
+		*               KErrAbort - Phone time has changed
+		*               KErrUnderflow - Time is in the past
+		*               KErrOverFlow - Time is too far in the future
+		*/
+        virtual void TimerErrorL( TInt32 aError ) = 0;
+    };
+
+#endif // __MCSESCHEDULERTIMEROBSERVER_H__
+
+// End of File
\ No newline at end of file