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