kernel/eka/ewsrv/ky_capt.cpp
changeset 199 189ece41fa29
parent 0 a41df078684a
child 257 3e88ff8f41d5
--- a/kernel/eka/ewsrv/ky_capt.cpp	Thu Jul 01 17:57:33 2010 +0100
+++ b/kernel/eka/ewsrv/ky_capt.cpp	Fri Jul 09 13:13:20 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 1996-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"
@@ -41,6 +41,10 @@
 	iCKarray.Close();
 	}
 
+/**
+@note This function can Leave and does not obey the
+coding standard
+*/
 void CCaptureKeys::CheckCaptureKey(const TCaptureKey& aCaptureKey)
 	{
 
@@ -69,6 +73,10 @@
 	User::LeaveIfError(iCKarray.Insert(captureKey,0));
 	}
 
+/**
+@note This function can Leave and does not obey the
+coding standard
+*/
 EXPORT_C void CCaptureKeys::SetCaptureKey(TUint32 aHandle, const TCaptureKey& aCaptureKey)
 //
 // Finds the first capture-key from the list that matches the handle and sets
@@ -79,6 +87,10 @@
 	SetCaptureKey(aHandle,aCaptureKey,0);
 	}
 
+/**
+@note This function can Leave and does not obey the
+coding standard
+*/
 EXPORT_C void CCaptureKeys::SetCaptureKey(TUint32 aHandle, const TCaptureKey& aCaptureKey, TUint8 aPriority)
 //
 // Finds the first capture-key from the list that matches the handle and sets
@@ -96,15 +108,6 @@
 		iCKarray[r]=captureKey;
 	}
 
-void CCaptureKeys::removeCaptureKey(TUint aIndex)
-//
-// Removes the capture-key at the given aIndex from the list
-//
-	{
-
-	iCKarray.Remove(aIndex);
-	}
-
 EXPORT_C void CCaptureKeys::CancelCaptureKey(TUint32 aHandle)
 //
 // Removes the first capture-key from the list that matches the handle;