dvi2bitmap dvi2bitmap1.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

KarlPathSearcher.h
Go to the documentation of this file.
1 /* This file is part of dvi2bitmap; see README for copyrights and licence */
2
3 /* This is merely an interface to the kpathsea library */
4 #include "verbosity.h"
5
10 class KarlPathSearcher {
11 public:
12 const char *find (const char *font, int resolution);
13 static KarlPathSearcher* getInstance(const char *name=0,
14 const int basedpi=0);
15 static verbosities verbosity (const verbosities level);
16 static const char *version_string (void);
23 static void setProgramName(const char* name) {
24 default_program_name_ = name;
25 }
26
27 private:
28 ~KarlPathSearcher();
29 KarlPathSearcher(const char *name, const int basedpi);
30 static verbosities verbosity_;
31 static KarlPathSearcher* instance_;
32 static const char* default_program_name_;
33 };