Permalink
Browse files

[pvr] actually use the PVR_CLIENT typedef

  • Loading branch information...
1 parent 1fe16b8 commit 411a8b6678da239cc2c1d9c9a408bbd889a58cdf @Jalle19 Jalle19 committed Nov 19, 2013
Showing with 7 additions and 7 deletions.
  1. +7 −7 xbmc/pvr/addons/PVRClients.h
@@ -39,11 +39,11 @@ namespace PVR
{
class CPVRGUIInfo;
- typedef std::map< int, boost::shared_ptr<CPVRClient> > PVR_CLIENTMAP;
- typedef std::map< int, boost::shared_ptr<CPVRClient> >::iterator PVR_CLIENTMAP_ITR;
- typedef std::map< int, boost::shared_ptr<CPVRClient> >::const_iterator PVR_CLIENTMAP_CITR;
- typedef std::map< int, PVR_STREAM_PROPERTIES > STREAMPROPS;
typedef boost::shared_ptr<CPVRClient> 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<CPVRClient> > GetClientsSupportingChannelScan(void) const;
+ std::vector<PVR_CLIENT> GetClientsSupportingChannelScan(void) const;
//@}
@@ -597,15 +597,15 @@ namespace PVR
* @param addon The client.
* @return True if the client was found, false otherwise.
*/
- bool GetClient(int iClientId, boost::shared_ptr<CPVRClient> &addon) const;
+ bool GetClient(int iClientId, PVR_CLIENT &addon) const;
/*!
* @brief Get the instance of the client, if it's connected.
* @param iClientId The id of the client to get.
* @param addon The client.
* @return True if the client is connected, false otherwise.
*/
- bool GetConnectedClient(int iClientId, boost::shared_ptr<CPVRClient> &addon) const;
+ bool GetConnectedClient(int iClientId, PVR_CLIENT &addon) const;
/*!
* @brief Check whether a client is registered.

0 comments on commit 411a8b6

Please sign in to comment.