KCDDB

submit.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 SPDX-FileCopyrightText: 2005 Richard Lärkäng <nouseforaname@home.se>e>
6
7 SPDX-License-Identifier: LGPL-2.0-or-later
8*/
9
10#ifndef KCDDB_SUBMIT_H
11#define KCDDB_SUBMIT_H
12
13#include "cddb.h"
14#include "cdinfo.h"
15#include <QObject>
16
17namespace KIO
18{
19 class Job;
20}
21
22namespace KCDDB
23{
24 class Submit : public CDDB, public QObject
25 {
26 public:
27
28 Submit();
29 virtual ~Submit();
30
31 Result submit( CDInfo cdInfo, const TrackOffsetList &offsetList);
32
33 protected:
34 virtual KIO::Job* createJob(const CDInfo& cdInfo) = 0;
35 virtual Result runJob(KIO::Job* job) = 0;
36
37 bool validCategory(const QString&);
38
39 Result parseWrite( const QString & );
40 virtual void makeDiskData( const CDInfo&, const TrackOffsetList& );
41 QString diskData_;
42 };
43}
44
45#endif // KCDDB_SUBMIT_H
46// 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.