~thomas-voss/media-hub/add_position_duration_properties

« back to all changes in this revision

Viewing changes to src/core/media/server/server.cpp

  • Committer: Jim Hodapp
  • Date: 2014-01-17 20:58:31 UTC
  • Revision ID: jim.hodapp@canonical.com-20140117205831-tz5ncgf337evx9r1
Added a very simple media-hub-server, which is the server side of the dbus MPRIS interface. Will fill this out more in the future to make it a full daemon.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <core/media/service.h>
 
2
#include <core/media/player.h>
 
3
#include <core/media/property.h>
 
4
#include <core/media/track_list.h>
 
5
 
 
6
#include "core/media/service_implementation.h"
 
7
 
 
8
namespace media = core::ubuntu::media;
 
9
 
 
10
int main()
 
11
{
 
12
    auto service = std::make_shared<media::ServiceImplementation>();
 
13
    service->run();
 
14
 
 
15
    return 0;
 
16
}