libmusicbrainz3  3.0.2
artistalias.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: artistalias.h 8466 2006-09-05 08:59:44Z luks $
21  */
22 
23 #ifndef __MUSICBRAINZ3_ARTISTALIAS_H__
24 #define __MUSICBRAINZ3_ARTISTALIAS_H__
25 
26 #include <string>
28 
29 namespace MusicBrainz
30 {
31 
44  {
45  public:
46 
54  ArtistAlias(const std::string &value = std::string(),
55  const std::string &type = std::string(),
56  const std::string &script = std::string());
57 
61  virtual ~ArtistAlias();
62 
68  std::string getValue() const;
69 
75  void setValue(const std::string &value);
76 
82  std::string getType() const;
83 
89  void setType(const std::string &type);
90 
96  std::string getScript() const;
97 
103  void setScript(const std::string &type);
104 
105  private:
106 
107  class ArtistAliasPrivate;
108  ArtistAliasPrivate *d;
109  };
110 
111 }
112 
113 #endif
Definition: artist.h:32
Represents an artist alias.
Definition: artistalias.h:43
#define MB_API
Definition: defines.h:40