00001 /* 00002 * This file is part of the internal font implementation. It should not be included by anyone other than 00003 * FontMac.cpp, FontWin.cpp and Font.cpp. 00004 * 00005 * Copyright (C) 2006 Apple Computer, Inc. 00006 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com 00007 * Copyright (C) 2007 Holger Hans Peter Freyther 00008 * All rights reserved. 00009 * 00010 * This library is free software; you can redistribute it and/or 00011 * modify it under the terms of the GNU Library General Public 00012 * License as published by the Free Software Foundation; either 00013 * version 2 of the License, or (at your option) any later version. 00014 * 00015 * This library is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 * Library General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU Library General Public License 00021 * along with this library; see the file COPYING.LIB. If not, write to 00022 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00023 * Boston, MA 02111-1307, USA. 00024 * 00025 */ 00026 00027 #ifndef BIFontPlatformDataPrivate_h 00028 #define BIFontPlatformDataPrivate_h 00029 00030 namespace BAL { 00031 00032 class BTFontPlatformData; 00033 00034 class BIFontPlatformDataPrivate { 00035 public: 00036 00037 virtual ~BIFontPlatformDataPrivate() {}; 00038 00039 virtual int init() = 0; 00040 00041 virtual bool isFixedPitch() = 0; 00042 00043 virtual unsigned hash() const = 0; 00044 00045 virtual bool isEqual(const BIFontPlatformDataPrivate*) const = 0; 00046 00047 }; 00048 00049 } 00050 #endif //BIFontPlatformDataPrivate_h