1
/* This file is part of the KDE project
2
* Copyright (C) 2003 Allan Sandfeld Jensen <kde@carewolf.com>
4
* Originally based upon the kfile_ogg plugin:
5
* Copyright (C) 2001, 2002 Rolf Magnus <ramagnus@kde.org>
6
* Interfacing to TagLib is copied from kfile_mp3 plugin:
7
* Copyright (C) 2003 Scott Wheeler <wheeler@kde.org>
9
* This program is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public
11
* License as published by the Free Software Foundation version 2.
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with this program; see the file COPYING. If not, write to
20
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21
* Boston, MA 02111-1307, USA.
24
#ifndef __KFILE_FLAC_H__
25
#define __KFILE_FLAC_H__
27
#include <kfilemetainfo.h>
32
class KFlacPlugin: public KFilePlugin
37
KFlacPlugin( QObject *parent, const char *name, const QStringList& args );
39
virtual bool readInfo( KFileMetaInfo& info, uint what);
40
virtual bool writeInfo( const KFileMetaInfo& info ) const;
41
virtual QValidator* createValidator( const QString& mimetype,
44
QObject* parent, const char* name) const;
46
virtual void makeMimeTypeInfo(const QString& mimeType);