Source-highlight Library
|
00001 // 00002 // C++ Interface: parsestyles 00003 // 00004 // Description: declaration of function for parsing style files 00005 // 00006 // 00007 // Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2004-2007 00008 // 00009 // Copyright: See COPYING file that comes with this distribution 00010 // 00011 // 00012 00013 #ifndef PARSESTYLES_H 00014 #define PARSESTYLES_H 00015 00016 #include <string> 00017 00018 #include "formatterfactory.h" 00019 00020 namespace srchilite { 00021 00031 extern void parseStyles(const std::string &path, const std::string &name, 00032 FormatterFactory *formatterFactory, std::string &bodyBgColor); 00033 00043 extern void parseStyles(const std::string &name, FormatterFactory *formatterFactory, 00044 std::string &bodyBgColor); 00045 00046 extern void parseStyleError(const std::string &error); 00047 00049 extern void parseCssStyles(const std::string &path, const std::string &name, 00050 FormatterFactory *formatterFactory, std::string &bodyBgColor); 00051 00052 } 00053 00054 #endif