Skip to content

Commit

Permalink
[pvr] actually use the PVR_CLIENT typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalle19 committed Dec 3, 2013
1 parent 1fe16b8 commit 411a8b6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions xbmc/pvr/addons/PVRClients.h
Expand Up @@ -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,
Expand Down Expand Up @@ -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;

//@}

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 411a8b6

Please sign in to comment.