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

« back to all changes in this revision

Viewing changes to src/com/ubuntu/music/player_skeleton.h

  • Committer: thomas-voss
  • Date: 2013-09-22 16:25:09 UTC
  • Revision ID: thomas.voss@canonical.com-20130922162509-23ynbeis3k53n1hj
Add first wave of acceptance tests and ensure that they are passing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include <com/ubuntu/music/player.h>
23
23
 
 
24
#include "player_traits.h"
 
25
 
24
26
#include "mpris/player.h"
25
27
 
26
28
#include <org/freedesktop/dbus/skeleton.h>
27
 
#include <org/freedesktop/dbus/traits/service.h>
28
29
#include <org/freedesktop/dbus/types/object_path.h>
29
30
 
30
31
#include <memory>
31
32
 
32
 
namespace org
33
 
{
34
 
namespace freedesktop
35
 
{
36
 
namespace dbus
37
 
{
38
 
namespace traits
39
 
{
40
 
template<>
41
 
struct Service<com::ubuntu::music::Player>
42
 
{
43
 
    static const std::string& interface_name()
44
 
    {
45
 
        static const std::string s
46
 
        {
47
 
            "com.ubuntu.music.Player"
48
 
        };
49
 
        return s;
50
 
    }
51
 
};
52
 
}
53
 
}
54
 
}
55
 
}
56
 
 
57
33
namespace com
58
34
{
59
35
namespace ubuntu