MythTV master
v2music.h
Go to the documentation of this file.
1
2// Program Name: music.h
3// Created : July 20, 2017
4//
5// Copyright (c) 2017 Paul Harrison <pharrison@mythtv.org>
6//
7// Licensed under the GPL v2 or later, see COPYING for details
8//
10
11#ifndef V2MUSIC_H
12#define V2MUSIC_H
13
16
17#define MUSIC_SERVICE QString("/Music/")
18#define MUSIC_HANDLE QString("Music")
19
20
22{
23 Q_OBJECT
24 Q_CLASSINFO("Version", "1.0")
25
26 public:
27 V2Music();
28 ~V2Music() override = default;
29 static void RegisterCustomTypes();
30
31 public slots:
32
33 /* V2Music Metadata Methods */
34
35 static V2MusicMetadataInfoList* GetTrackList ( int StartIndex,
36 int Count );
37
38 static V2MusicMetadataInfo* GetTrack ( int Id );
39
40 private:
41 Q_DISABLE_COPY(V2Music)
42
43};
44
45#endif
static V2MusicMetadataInfo * GetTrack(int Id)
Definition: v2music.cpp:109
static V2MusicMetadataInfoList * GetTrackList(int StartIndex, int Count)
Definition: v2music.cpp:43
static void RegisterCustomTypes()
~V2Music() override=default
V2Music()
Definition: v2music.cpp:38