Sayonara Player
Main Page
Modules
Namespaces
Classes
src
Helper
Playlist
CustomPlaylistSkeleton.h
1
/* CustomPlaylistSkeleton.h */
2
3
/* Copyright (C) 2011-2017 Lucio Carreras
4
*
5
* This file is part of sayonara player
6
*
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef CUSTOM_PLAYLIST_SKELETON_H
22
#define CUSTOM_PLAYLIST_SKELETON_H
23
24
#include <QString>
25
26
31
class
CustomPlaylistSkeleton
32
{
33
private
:
34
int
_id;
35
QString _name;
36
bool
_is_temporary;
37
int
_num_tracks;
38
39
public
:
40
int
id()
const
;
41
void
set_id(
int
id
);
42
43
QString name()
const
;
44
void
set_name(
const
QString& name);
45
46
bool
temporary()
const
;
47
void
set_temporary(
bool
temporary);
48
49
virtual
int
num_tracks()
const
;
50
virtual
void
set_num_tracks(
int
num_tracks);
51
52
CustomPlaylistSkeleton
();
53
CustomPlaylistSkeleton
(
const
CustomPlaylistSkeleton
& s);
54
virtual
~
CustomPlaylistSkeleton
();
55
};
56
57
#endif
58
CustomPlaylistSkeleton
The CustomPlaylistSkeleton class.
Definition:
CustomPlaylistSkeleton.h:31
Generated on Sat May 13 2017 02:00:27 for Sayonara Player by
1.8.11