Source-highlight Qt Library
|
00001 /* 00002 * Copyright (C) 2008-2010 Lorenzo Bettini, http://www.lorenzobettini.it 00003 * License: See COPYING file that comes with this distribution 00004 */ 00005 00006 #ifndef QT4TEXTFORMATTERFACTORY_H_ 00007 #define QT4TEXTFORMATTERFACTORY_H_ 00008 00009 #include "TextFormatterFactory.h" 00010 00011 namespace srchiliteqt { 00012 00017 class Qt4TextFormatterFactory: public TextFormatterFactory { 00018 public: 00019 Qt4TextFormatterFactory(); 00020 virtual ~Qt4TextFormatterFactory(); 00021 00032 virtual bool createFormatter(const string &key, const string &color, 00033 const string &bgcolor, srchilite::StyleConstantsPtr styleconstants); 00034 00035 }; 00036 00037 } 00038 00039 #endif /* QT4TEXTFORMATTERFACTORY_H_ */