Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

KarlPathSearcher.h

Go to the documentation of this file.
00001 /* 00002 * This file is part of dvi2bitmap. 00003 * Copyright 1999--2002, Council for the Central Laboratory of the Research Councils 00004 * 00005 * This program is part of the Starlink Software Distribution: see 00006 * http://www.starlink.ac.uk 00007 * 00008 * dvi2bitmap is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * dvi2bitmap is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with dvi2bitmap; if not, write to the Free Software 00020 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00021 * 00022 * The General Public License is distributed along with this 00023 * program in the file LICENCE. 00024 * 00025 * Author: Norman Gray <norman@astro.gla.ac.uk> 00026 * $Id: KarlPathSearcher.h,v 1.1 2003/08/03 21:54:47 norman Exp $ 00027 */ 00028 00029 /* This is merely an interface to the kpathsea library */ 00030 #include "verbosity.h" 00031 00036 class KarlPathSearcher { 00037 public: 00038 const char *find (const char *font, int resolution); 00039 static KarlPathSearcher* getInstance(const char *name=0, 00040 const int basedpi=0); 00041 static verbosities verbosity (const verbosities level); 00042 static const char *version_string (void); 00049 static void setProgramName(const char* name) { 00050 default_program_name_ = name; 00051 } 00052 00053 private: 00054 ~KarlPathSearcher(); 00055 KarlPathSearcher(const char *name, const int basedpi); 00056 static verbosities verbosity_; 00057 static KarlPathSearcher* instance_; 00058 static const char* default_program_name_; 00059 };

Generated on Sun Aug 21 18:21:02 2005 for dvi2bitmap by doxygen 1.3.8