/usr/include/libkcddb/genres.h is in libkcddb-dev 4:4.8.2-0ubuntu1.
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 | // Copyright (C) 2005 by Shaheed Haque (srhaque@iee.org). All rights reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
#ifndef KCDDB_GENRES_H
#define KCDDB_GENRES_H
#include <QtCore/QStringList>
#include <libkcddb/kcddb_export.h>
namespace KCDDB
{
/**
* The Genre is completely arbitrary. But we follow kaudiocreator's cue
* and make life easy for people.
*/
class KCDDB_EXPORT Genres
{
public:
Genres();
Genres(const Genres&);
~Genres();
Genres& operator=(const Genres&);
const QStringList &cddbList() const;
const QStringList &i18nList() const;
/**
* Lookup the CDDB genre, and return the i18n'd version.
*/
const QString cddb2i18n(const QString &genre) const;
/**
* Lookup the i18n genre, and return the CDDB version if we can.
*/
const QString i18n2cddb(const QString &genre) const;
private:
class Private;
Private * const d;
};
}
#endif
|