KCDDB

kcddb.h
1/*
2 SPDX-FileCopyrightText: 2007 Richard Lärkäng <nouseforaname@home.se>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KCDDB_H
8#define KCDDB_H
9
10#include <QList>
11#include <QString>
12
13#include "kcddb_export.h"
14
15namespace KCDDB
16{
17 /** This list is used to calculate the CDDB disc id.
18 Insert the start frames ((minute*60 + seconds)*75+frames)
19 of all tracks, followed by the last frame of the disc. The
20 last frame is the start frame of the leadout track.
21 */
22 typedef QList<uint> TrackOffsetList;
23
24 enum Result
25 {
26 Success,
27 ServerError,
28 HostNotFound,
29 NoResponse,
30 NoRecordFound,
31 MultipleRecordFound,
32 CannotSave,
33 InvalidCategory,
35 };
36
37 KCDDB_EXPORT QString resultToString(Result);
38}
39
40#endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:58 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.