File indexing completed on 2024-04-28 16:08:20
0001 /* 0002 SPDX-FileCopyrightText: 2007 Richard Lärkäng <nouseforaname@home.se> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef KCDDB_H 0008 #define KCDDB_H 0009 0010 #include <QList> 0011 #include <QString> 0012 0013 #include "kcddb_export.h" 0014 0015 namespace KCDDB 0016 { 0017 /** This list is used to calculate the CDDB disc id. 0018 Insert the start frames ((minute*60 + seconds)*75+frames) 0019 of all tracks, followed by the last frame of the disc. The 0020 last frame is the start frame of the leadout track. 0021 */ 0022 typedef QList<uint> TrackOffsetList; 0023 0024 enum Result 0025 { 0026 Success, 0027 ServerError, 0028 HostNotFound, 0029 NoResponse, 0030 NoRecordFound, 0031 MultipleRecordFound, 0032 CannotSave, 0033 InvalidCategory, 0034 UnknownError 0035 }; 0036 0037 KCDDB_EXPORT QString resultToString(Result); 0038 } 0039 0040 #endif