~ubuntu-branches/ubuntu/breezy/kdemultimedia/breezy

« back to all changes in this revision

Viewing changes to kfile-plugins/flac/kfile_flac.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-03-24 04:48:58 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050324044858-8ff88o9jxej6ii3d
Tags: 4:3.4.0-0ubuntu3
Add kubuntu_02_hide_arts_menu_entries.diff to hide artsbuilder and artscontrol k-menu entries

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* This file is part of the KDE project
 
2
 * Copyright (C) 2003 Allan Sandfeld Jensen <kde@carewolf.com>
 
3
 *
 
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>
 
8
 *
 
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.
 
12
 *
 
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.
 
17
 *
 
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.
 
22
 */
 
23
 
 
24
#ifndef __KFILE_FLAC_H__
 
25
#define __KFILE_FLAC_H__
 
26
 
 
27
#include <kfilemetainfo.h>
 
28
 
 
29
class QString;
 
30
class QStringList;
 
31
 
 
32
class KFlacPlugin: public KFilePlugin
 
33
{
 
34
    Q_OBJECT
 
35
 
 
36
public:
 
37
    KFlacPlugin( QObject *parent, const char *name, const QStringList& args );
 
38
 
 
39
    virtual bool readInfo( KFileMetaInfo& info, uint what);
 
40
    virtual bool writeInfo( const KFileMetaInfo& info ) const;
 
41
    virtual QValidator* createValidator( const QString& mimetype,
 
42
                                         const QString &group,
 
43
                                         const QString &key,
 
44
                                         QObject* parent, const char* name) const;
 
45
protected:
 
46
    virtual void makeMimeTypeInfo(const QString& mimeType);
 
47
};
 
48
 
 
49
 
 
50
#endif