1 #ifndef PPDPARSER_H 2 #define PPDPARSER_H 3 4 5 #include <String.h> 6 7 8 class BPath; 9 class BFile; 10 class BDirectory; 11 12 13 class PPDParser 14 { 15 public: 16 PPDParser(const BDirectory& dir, const char* fname); 17 PPDParser(const BPath& path); 18 PPDParser(BFile& file); 19 ~PPDParser(); 20 21 status_t InitCheck() const 22 { 23 return fInitErr; 24 } 25 26 BString GetParameter(const BString& param); 27 28 private: 29 status_t InitData(BFile& file); 30 31 BString fContent; 32 status_t fInitErr; 33 }; 34 35 #endif // PPDPARSER_H 36