Source-highlight Library
|
00001 /* 00002 * stylefileparser.h 00003 * 00004 * Created on: Dec 9, 2008 00005 * Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2008 00006 * Copyright: See COPYING file that comes with this distribution 00007 */ 00008 00009 #ifndef STYLEFILEPARSER_H_ 00010 #define STYLEFILEPARSER_H_ 00011 00012 #include <string> 00013 00014 #include "formatterfactory.h" 00015 00016 namespace srchilite { 00017 00021 class StyleFileParser { 00022 public: 00033 static void parseStyleFile(const std::string &name, 00034 FormatterFactory *formatterFactory, std::string &bodyBgColor); 00035 00046 static void parseCssStyleFile(const std::string &name, 00047 FormatterFactory *formatterFactory, std::string &bodyBgColor); 00048 00059 static void parseStyleFile(const std::string &path, const std::string &name, 00060 FormatterFactory *formatterFactory, std::string &bodyBgColor); 00061 00072 static void parseCssStyleFile(const std::string &path, const std::string &name, 00073 FormatterFactory *formatterFactory, std::string &bodyBgColor); 00074 }; 00075 00076 } 00077 00078 #endif /* STYLEFILEPARSER_H_ */