MediaClient: Add ClientRegistered callback
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -314,6 +314,13 @@ BMediaClient::IsRunning() const
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
BMediaClient::ClientRegistered()
|
||||
{
|
||||
CALLED();
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
BMediaClient::Start()
|
||||
{
|
||||
|
||||
@@ -59,6 +59,8 @@ BMediaClientNode::NodeRegistered()
|
||||
{
|
||||
CALLED();
|
||||
|
||||
fOwner->ClientRegistered();
|
||||
|
||||
Run();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user