bluetoothappprofiles/avrcp/remconbeareravrcp/inc/avrcputils.h
branchRCL_3
changeset 11 a42ed326b458
parent 0 f63038272f30
child 20 2f88a7d66f50
--- a/bluetoothappprofiles/avrcp/remconbeareravrcp/inc/avrcputils.h	Fri Mar 12 15:43:23 2010 +0200
+++ b/bluetoothappprofiles/avrcp/remconbeareravrcp/inc/avrcputils.h	Mon Mar 15 12:41:15 2010 +0200
@@ -170,4 +170,22 @@
 	CSpecificThreadCallBackBody*	iBody;
 	};
 
+/**
+An extended double queue link class to provide additional features.
+*/
+NONSHARABLE_CLASS(TAvrcpDblQueLink) : public TDblQueLink
+	{
+	public:
+		inline TBool IsQueued() const;
+	};
+
+/**
+Indicates whether the queue link is attached to a queue.
+@return True if the link is queued, false otherwise.
+*/
+inline TBool TAvrcpDblQueLink::IsQueued() const
+	{
+	return iNext ? ETrue : EFalse;
+	}
+
 #endif // AVRCPUTILS_H