1/* 2 * Copyright 2015, Axel Dörfler, axeld@pinc-software.de. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef SETTINGS_PARSER_H 6#define SETTINGS_PARSER_H 7 8 9#include <Message.h> 10 11 12class SettingsParser { 13public: 14 SettingsParser(); 15 16 status_t ParseFile(const char* path, BMessage& settings); 17 18#ifdef TEST_HAIKU 19 status_t Parse(const char* text, BMessage& settings); 20#endif 21}; 22 23 24#endif // SETTINGS_PARSER_H 25