kernel/eka/include/drivers/rm_debug_eventhandler.h
branchRCL_3
changeset 41 0ffb4e86fcc9
parent 21 e7d2d738d3c2
--- a/kernel/eka/include/drivers/rm_debug_eventhandler.h	Mon Jun 21 17:12:14 2010 +0300
+++ b/kernel/eka/include/drivers/rm_debug_eventhandler.h	Thu Jul 15 20:11:42 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2004-2010 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"
@@ -27,15 +27,8 @@
 		TInt Start();
 		TInt Stop();
 		
-		inline void DRM_DebugEventHandler::LockDataAccess()
-		    {
-		    Kern::SemaphoreWait(*iProtectionLock);
-		    }
-
-		inline void DRM_DebugEventHandler::ReleaseDataAccess()
-		    {
-		    Kern::SemaphoreSignal(*iProtectionLock);
-		    }
+		inline void LockDataAccess();
+		inline void ReleaseDataAccess();
 		
 	private:
 		static TUint EventHandler(TKernelEvent aEvent, TAny* a1, TAny* a2, TAny* aThis);
@@ -57,4 +50,6 @@
 		eventHandler iEventHandlers[EEventLimit];
 };
 
+#include <rm_debug_eventhandler.inl>
+
 #endif //__RM_DEBUG_EVENTHANDLER_H__