KCDDB

cddb.h
1/*
2 SPDX-FileCopyrightText: 2002 Rik Hemsley (rikkus) <rik@kde.org>
3 SPDX-FileCopyrightText: 2002 Benjamin Meyer <ben-devel@meyerhome.net>
4 SPDX-FileCopyrightText: 2002 Nadeem Hasan <nhasan@kde.org>
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 "config.h"
15
16#include <QString>
17
18namespace KCDDB
19{
20 class CDDB
21 {
22 public:
23 CDDB();
24 virtual ~CDDB();
25
26 static QString trackOffsetListToId( const TrackOffsetList & );
27
28 static QString clientName() { return QLatin1String("libkcddb"); }
29 static QString clientVersion() { return QLatin1String("0.5"); }
30
31 static uint statusCode( const QString & );
32
33 static CDInfoList cacheFiles(const TrackOffsetList &, const Config& );
34
35 protected:
36 QString trackOffsetListToId();
37 QString trackOffsetListToString();
38
39 QString user_;
40 QString localHostName_;
41
42 bool readOnly_;
43
44 TrackOffsetList trackOffsetList_;
45 };
46}
47
48#endif // KCDDB_CDDB_H
49
50// vim:tabstop=2:shiftwidth=2:expandtab:cinoptions=(s,U1,m1
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.