/usr/include/musicbrainz3/artistalias.h is in libmusicbrainz3-dev 3.0.2-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | /*
* MusicBrainz -- The Internet music metadatabase
*
* Copyright (C) 2006 Lukas Lalinsky
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* $Id: artistalias.h 8466 2006-09-05 08:59:44Z luks $
*/
#ifndef __MUSICBRAINZ3_ARTISTALIAS_H__
#define __MUSICBRAINZ3_ARTISTALIAS_H__
#include <string>
#include <musicbrainz3/musicbrainz.h>
namespace MusicBrainz
{
/**
* Represents an artist alias.
*
* An alias (the \a alias \a value) is a different representation of an
* artist's name. This may be a common misspelling or a transliteration
* (the \a alias \a type).
*
* The \a alias \a script is interesting mostly for transliterations and
* indicates which script is used for the alias value. To represent the
* script, ISO-15924 script codes like 'Latn', 'Cyrl', or 'Hebr' are used.
*/
class MB_API ArtistAlias
{
public:
/**
* Constructor.
*
* @param value a string containing the alias
* @param type a string containing an absolute URI
* @param script a string containing an ISO-15924 script code
*/
ArtistAlias(const std::string &value = std::string(),
const std::string &type = std::string(),
const std::string &script = std::string());
/**
* Destructor.
*/
virtual ~ArtistAlias();
/**
* Returns the alias.
*
* @return a string containing the alias
*/
std::string getValue() const;
/**
* Sets the alias.
*
* @param value a string containing the alias
*/
void setValue(const std::string &value);
/**
* Returns the alias type.
*
* @return a string containing an absolute URI
*/
std::string getType() const;
/**
* Sets the alias type.
*
* @param type a string containing an absolute URI
*/
void setType(const std::string &type);
/**
* Returns the alias script.
*
* @return a string containing an ISO-15924 script code
*/
std::string getScript() const;
/**
* Sets the alias script.
*
* @param type a string containing an ISO-15924 script code
*/
void setScript(const std::string &type);
private:
class ArtistAliasPrivate;
ArtistAliasPrivate *d;
};
}
#endif
|