libmusicbrainz3
3.0.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
user.h
Go to the documentation of this file.
1
/*
2
* MusicBrainz -- The Internet music metadatabase
3
*
4
* Copyright (C) 2006 Lukas Lalinsky
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this library; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
*
20
* $Id: user.h 8466 2006-09-05 08:59:44Z luks $
21
*/
22
23
#ifndef __MUSICBRAINZ3_USER_H__
24
#define __MUSICBRAINZ3_USER_H__
25
26
#include <string>
27
#include <vector>
28
#include <
musicbrainz3/musicbrainz.h
>
29
30
namespace
MusicBrainz
31
{
32
36
class
MB_API
User
37
{
38
public
:
39
43
User
();
44
48
virtual
~
User
();
49
55
std::string getName()
const
;
56
62
void
setName(
const
std::string &name);
63
77
std::vector<std::string> &getTypes();
78
88
int
getNumTypes()
const
;
89
99
std::string getType(
int
index)
const
;
100
108
void
addType(
const
std::string &type);
109
115
bool
getShowNag()
const
;
116
124
void
setShowNag(
bool
value);
125
126
private
:
127
128
class
UserPrivate;
129
UserPrivate *d;
130
};
131
132
}
133
134
#endif
musicbrainz.h
MusicBrainz::User
Represents a MusicBrainz user.
Definition:
user.h:36
MusicBrainz
Definition:
artist.h:32
MB_API
#define MB_API
Definition:
defines.h:40
include
musicbrainz3
user.h
Generated by
1.8.9.1