dvrengine/CommonRecordingEngine/inc/MCRTimerObserver.h
changeset 0 822a42b6c3f1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dvrengine/CommonRecordingEngine/inc/MCRTimerObserver.h	Thu Dec 17 09:14:38 2009 +0200
@@ -0,0 +1,66 @@
+/*
+* Copyright (c) 2007 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:    Observer for CCRTimer*
+*/
+
+
+
+
+#ifndef CCRTIMEROBSERVER_H
+#define CCRTIMEROBSERVER_H
+
+// INCLUDES
+// None
+
+// CONSTANTS
+// None
+
+// MACROS
+// None
+
+// DATA TYPES
+// None
+
+// FORWARD DECLARATIONS
+class CCRTimer;
+
+// CLASS DECLARATION
+
+/**
+*  This class specifies the function to be called when a timeout occurs.
+*  Used in conjunction with CCRTimer class.
+*
+*  @lib CommonRecordingEngine.lib
+*  @since Series 60 3.0
+*/
+class MCRTimerObserver
+    {
+
+public:
+
+    /**
+    * The function to be called when a timeout occurs.
+    * @since Series 60 3.0
+    * @param aTimer a pointer to timer.
+    * @return none.
+    */
+    virtual void TimerExpired( CCRTimer* aTimer ) = 0;
+    
+    };
+
+#endif // CCRTIMEROBSERVER_H
+
+//  End of File
+
+