00001 #ifndef __KFILE_FONT_H__ 00002 #define __KFILE_FONT_H__ 00003 00005 // 00006 // Class Name : KFileFont 00007 // Author : Craig Drummond 00008 // Project : K Font Installer 00009 // Creation Date : 20/03/2003 00010 // Version : $Revision: 1157639 $ $Date: 2010-07-31 14:33:34 -0500 (Sat, 31 Jul 2010) $ 00011 // 00013 // 00014 // This program is free software; you can redistribute it and/or 00015 // modify it under the terms of the GNU General Public License 00016 // as published by the Free Software Foundation; either version 2 00017 // of the License, or (at your option) any later version. 00018 // 00019 // This program is distributed in the hope that it will be useful, 00020 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00022 // GNU General Public License for more details. 00023 // 00024 // You should have received a copy of the GNU General Public License 00025 // along with this program; if not, write to the Free Software 00026 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00027 // 00029 // (C) Craig Drummond, 2003, 2004 00031 00032 #include <kfilemetainfo.h> 00033 #include "FcEngine.h" 00034 00035 namespace KFI 00036 { 00037 00038 class KFileFontPlugin : public KFilePlugin 00039 { 00040 public: 00041 00042 KFileFontPlugin(TQObject *parent, const char *name, const TQStringList& args); 00043 virtual ~KFileFontPlugin() {} 00044 00045 bool readInfo(KFileMetaInfo& info, uint what = KFileMetaInfo::Fastest); 00046 00047 private: 00048 00049 void addMimeType(const char *mime); 00050 00051 private: 00052 00053 CFcEngine itsEngine; 00054 }; 00055 00056 } 00057 00058 #endif
1.6.1