~ricmm/media-hub/initial-bg-playback

« back to all changes in this revision

Viewing changes to include/com/ubuntu/music/connection.h

  • Committer: thomas-voss
  • Date: 2013-09-19 10:34:35 UTC
  • Revision ID: thomas.voss@canonical.com-20130919103435-jezo87b7nsx3n59e
Add stub and skeleton implementations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
{
30
30
class Connection
31
31
{
32
 
  private:
33
 
    friend class TrackList;
34
 
    struct Private;
 
32
  public:
 
33
    typedef std::function<void()> Disconnector;
35
34
 
36
 
  public:
37
 
    Connection(const std::shared_ptr<Private>& d);
38
 
    Connection(const Connection& rhs);    
 
35
    Connection(const Disconnector& disconnector);
 
36
    Connection(const Connection& rhs);
39
37
    ~Connection();
40
38
 
41
39
    Connection& operator=(const Connection& rhs);
45
43
    void disconnect();
46
44
    
47
45
  private:
 
46
    struct Private;
48
47
    std::shared_ptr<Private> d;
49
48
};
50
49