Sayonara Player
src
3rdParty
Soundcloud
src
SearchInformation.h
1
/* SearchInformation.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 SEARCHINFORMATION_H
22
#define SEARCHINFORMATION_H
23
24
#include "Utils/Pimpl.h"
25
26
class
QString;
27
28
namespace
SC
29
{
30
class
SearchInformation
31
{
32
PIMPL(
SearchInformation
)
33
34
public
:
35
SearchInformation
(
int
artist_id,
int
album_id,
int
track_id,
const
QString& search_string);
36
~
SearchInformation
();
37
38
QString search_string()
const
;
39
int
artist_id()
const
;
40
int
album_id()
const
;
41
int
track_id()
const
;
42
};
43
44
class
SearchInformationList
45
{
46
PIMPL(
SearchInformationList
)
47
48
public
:
49
SearchInformationList
();
50
~
SearchInformationList
();
51
52
IntSet
artist_ids(
const
QString& search_string)
const
;
53
IntSet
album_ids(
const
QString& search_string)
const
;
54
IntSet
track_ids(
const
QString& search_string)
const
;
55
56
SearchInformationList
& operator<<(
const
SearchInformation
& search_information);
57
bool
is_empty()
const
;
58
void
clear();
59
};
60
}
61
62
#endif // SEARCHINFORMATION_H
SC::SearchInformation
Definition:
SearchInformation.h:30
SC::SearchInformationList
Definition:
SearchInformation.h:44
SC
Definition:
SoundcloudLibraryContainer.h:30
SP::Set
A set structure. Inherited from std::set with some useful methods. For integer and String this set is...
Definition:
AbstractPlaylist.h:38
Generated on Tue Sep 25 2018 02:44:25 for Sayonara Player by
1.8.14