~ci-train-bot/qtubuntu-media/qtubuntu-media-ubuntu-zesty-2472

« back to all changes in this revision

Viewing changes to tests/unit/service.cpp

  • Committer: Bileto Bot
  • Author(s): Jim Hodapp
  • Date: 2016-07-20 21:27:56 UTC
  • mfrom: (108.2.7 qtubuntu-media)
  • Revision ID: ci-train-bot@canonical.com-20160720212756-twhdhtajmdt5tcyp
Register for media-hub service unregister/register signals and raise an error to the client application when media-hub-server unregisters and then re-registers on dbus. This will allow the client to handle this event as it deems appropriate. (LP: #1506953)

Approved by: Konrad Zapałowicz

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
{
59
59
}
60
60
 
 
61
const core::Signal<void>& TestService::service_disconnected() const
 
62
{
 
63
    static const core::Signal<void> s;
 
64
    return s;
 
65
}
 
66
 
 
67
const core::Signal<void>& TestService::service_reconnected() const
 
68
{
 
69
    static const core::Signal<void> s;
 
70
    return s;
 
71
}
 
72
 
61
73
}
62
74
}
63
75
}