MediaClient: Add ClientRegistered callback
This commit is contained in:
parent
1c15261f5a
commit
a6ac14c71c
@ -53,6 +53,9 @@ public:
|
|||||||
|
|
||||||
status_t InitCheck() const;
|
status_t InitCheck() const;
|
||||||
|
|
||||||
|
// Called when the node is correctly registered to the media services.
|
||||||
|
virtual void ClientRegistered();
|
||||||
|
|
||||||
// TODO: Should allow BControllable capabilities
|
// TODO: Should allow BControllable capabilities
|
||||||
|
|
||||||
// When those functions return, the BMediaConnection is added to the
|
// When those functions return, the BMediaConnection is added to the
|
||||||
|
@ -314,6 +314,13 @@ BMediaClient::IsRunning() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
BMediaClient::ClientRegistered()
|
||||||
|
{
|
||||||
|
CALLED();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
BMediaClient::Start()
|
BMediaClient::Start()
|
||||||
{
|
{
|
||||||
|
@ -59,6 +59,8 @@ BMediaClientNode::NodeRegistered()
|
|||||||
{
|
{
|
||||||
CALLED();
|
CALLED();
|
||||||
|
|
||||||
|
fOwner->ClientRegistered();
|
||||||
|
|
||||||
Run();
|
Run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user