Music Hub
..
A session-wide music playback service
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
server.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2014 Canonical Ltd
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*
16
* Authored by: Jim Hodapp <jim.hodapp@canonical.com>
17
*/
18
19
#include <
core/media/service.h
>
20
#include <
core/media/player.h
>
21
#include <
core/media/track_list.h
>
22
23
#include <hybris/media/media_codec_layer.h>
24
25
#include "
core/media/service_implementation.h
"
26
27
#include <iostream>
28
29
namespace
media
=
core::ubuntu::media
;
30
31
using namespace
std
;
32
33
int
main
()
34
{
35
// Init hybris-level DecodingService
36
decoding_service_init();
37
cout <<
"Starting DecodingService..."
<< endl;
38
39
auto
service = std::make_shared<media::ServiceImplementation>();
40
service->run();
41
42
return
0;
43
}
player.h
std
STL namespace.
core::ubuntu::media
Definition:
player.h:33
track_list.h
service.h
main
int main()
Definition:
server.cpp:33
service_implementation.h
src
core
media
server
server.cpp
Generated on Tue Oct 14 2014 17:57:22 for Music Hub by
1.8.8