File indexing completed on 2024-05-05 04:50:56

0001 /*
0002     SPDX-FileCopyrightText: 1998-2009 Sebastian Trueg <trueg@k3b.org>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 #ifndef _K3B_CLONETOC_READER_H_
0006 #define _K3B_CLONETOC_READER_H_
0007 
0008 #include "k3bimagefilereader.h"
0009 
0010 #include "k3bmsf.h"
0011 
0012 #include "k3b_export.h"
0013 
0014 namespace K3b {
0015     /**
0016      * Reads a cdrecord clone toc file and searches for the
0017      * corresponding image file.
0018      */
0019     class LIBK3B_EXPORT  CloneTocReader : public ImageFileReader
0020     {
0021     public:
0022         explicit CloneTocReader( const QString& filename = QString() );
0023         ~CloneTocReader() override;
0024 
0025         Msf imageSize() const;
0026 
0027     protected:
0028         void readFile() override;
0029 
0030         class Private;
0031         Private* d;
0032     };
0033 }
0034 
0035 #endif