From 411a8b6678da239cc2c1d9c9a408bbd889a58cdf Mon Sep 17 00:00:00 2001 From: Sam Stenvall Date: Tue, 19 Nov 2013 12:35:14 +0200 Subject: [PATCH] [pvr] actually use the PVR_CLIENT typedef --- xbmc/pvr/addons/PVRClients.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/xbmc/pvr/addons/PVRClients.h b/xbmc/pvr/addons/PVRClients.h index bf241e5cef1f5..e64ef4b8cfe3a 100644 --- a/xbmc/pvr/addons/PVRClients.h +++ b/xbmc/pvr/addons/PVRClients.h @@ -39,11 +39,11 @@ namespace PVR { class CPVRGUIInfo; - typedef std::map< int, boost::shared_ptr > PVR_CLIENTMAP; - typedef std::map< int, boost::shared_ptr >::iterator PVR_CLIENTMAP_ITR; - typedef std::map< int, boost::shared_ptr >::const_iterator PVR_CLIENTMAP_CITR; - typedef std::map< int, PVR_STREAM_PROPERTIES > STREAMPROPS; typedef boost::shared_ptr PVR_CLIENT; + typedef std::map< int, PVR_CLIENT > PVR_CLIENTMAP; + typedef std::map< int, PVR_CLIENT >::iterator PVR_CLIENTMAP_ITR; + typedef std::map< int, PVR_CLIENT >::const_iterator PVR_CLIENTMAP_CITR; + typedef std::map< int, PVR_STREAM_PROPERTIES > STREAMPROPS; class CPVRClients : public ADDON::IAddonMgrCallback, public Observer, @@ -541,7 +541,7 @@ namespace PVR /*! * @return All clients that support channel scanning. */ - std::vector< boost::shared_ptr > GetClientsSupportingChannelScan(void) const; + std::vector GetClientsSupportingChannelScan(void) const; //@} @@ -597,7 +597,7 @@ namespace PVR * @param addon The client. * @return True if the client was found, false otherwise. */ - bool GetClient(int iClientId, boost::shared_ptr &addon) const; + bool GetClient(int iClientId, PVR_CLIENT &addon) const; /*! * @brief Get the instance of the client, if it's connected. @@ -605,7 +605,7 @@ namespace PVR * @param addon The client. * @return True if the client is connected, false otherwise. */ - bool GetConnectedClient(int iClientId, boost::shared_ptr &addon) const; + bool GetConnectedClient(int iClientId, PVR_CLIENT &addon) const; /*! * @brief Check whether a client is registered.