KCDDB

cddb.h
1 /*
2  SPDX-FileCopyrightText: 2002 Rik Hemsley (rikkus) <[email protected]>
3  SPDX-FileCopyrightText: 2002 Benjamin Meyer <[email protected]>
4  SPDX-FileCopyrightText: 2002 Nadeem Hasan <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
9 #ifndef KCDDB_CDDB_H
10 #define KCDDB_CDDB_H
11 
12 #include <kcddb.h>
13 #include <cdinfo.h>
14 #include <kcddbconfig.h>
15 
16 #include <QList>
17 #include <QString>
18 
19 namespace KCDDB
20 {
21  class CDDB
22  {
23  public:
24  CDDB();
25  virtual ~CDDB();
26 
27  static QString trackOffsetListToId( const TrackOffsetList & );
28 
29  static QString clientName() { return QLatin1String("libkcddb"); }
30  static QString clientVersion() { return QLatin1String("0.5"); }
31 
32  static uint statusCode( const QString & );
33 
34  static CDInfoList cacheFiles(const TrackOffsetList &, const Config& );
35 
36  protected:
37  QString trackOffsetListToId();
38  QString trackOffsetListToString();
39 
40  QString user_;
41  QString localHostName_;
42 
43  bool readOnly_;
44 
45  TrackOffsetList trackOffsetList_;
46  };
47 }
48 
49 #endif // KCDDB_CDDB_H
50 
51 // vim:tabstop=2:shiftwidth=2:expandtab:cinoptions=(s,U1,m1
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Dec 5 2021 23:10:08 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.