Sayonara Player
src
Components
Streaming
Soundcloud
SearchInformation.h
1
/* SearchInformation.h */
2
3
/* Copyright (C) 2011-2020 Michael Lugmair (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
artistId,
int
albumId,
int
trackId,
const
QString& searchstring);
36
~SearchInformation
();
37
38
QString searchstring()
const
;
39
int
artistId()
const
;
40
int
albumId()
const
;
41
int
trackId()
const
;
42
};
43
44
class
SearchInformationList
45
{
46
PIMPL(
SearchInformationList
)
47
48
public
:
49
SearchInformationList
();
50
~SearchInformationList
();
51
52
IntSet
artistIds(
const
QString& search_string)
const
;
53
IntSet
albumIds(
const
QString& search_string)
const
;
54
IntSet
trackIds(
const
QString& search_string)
const
;
55
56
SearchInformationList
& operator<<(
const
SearchInformation
& search_information);
57
bool
isEmpty()
const
;
58
void
clear();
59
};
60
}
61
62
#endif
// SEARCHINFORMATION_H
SC::SearchInformationList
Definition:
SearchInformation.h:45
SC::SearchInformation
Definition:
SearchInformation.h:31
Util::Set
A set structure. Inherited from std::set with some useful methods. For integer and String this set is...
Definition:
Set.h:37
Generated on Wed Aug 31 2022 00:00:00 for Sayonara Player by
1.9.4