MediaClient: Add ClientRegistered callback

This commit is contained in:
Barrett17 2018-03-02 03:34:25 +01:00
parent 1c15261f5a
commit a6ac14c71c
3 changed files with 12 additions and 0 deletions

View File

@ -53,6 +53,9 @@ public:
status_t InitCheck() const;
// Called when the node is correctly registered to the media services.
virtual void ClientRegistered();
// TODO: Should allow BControllable capabilities
// When those functions return, the BMediaConnection is added to the

View File

@ -314,6 +314,13 @@ BMediaClient::IsRunning() const
}
void
BMediaClient::ClientRegistered()
{
CALLED();
}
status_t
BMediaClient::Start()
{

View File

@ -59,6 +59,8 @@ BMediaClientNode::NodeRegistered()
{
CALLED();
fOwner->ClientRegistered();
Run();
}