00001 // 00002 // Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2004-2008 00003 // 00004 // Copyright: See COPYING file that comes with this distribution 00005 // 00006 00007 #ifndef FORMATTERPARAMS_H_ 00008 #define FORMATTERPARAMS_H_ 00009 00010 #include "parserinfo.h" 00011 #include "fileutil.h" 00012 00013 namespace srchilite { 00014 00018 struct FormatterParams: public ParserInfo { 00020 std::string fileNameNoPath; 00021 00029 int start; 00030 00031 FormatterParams() : 00032 start(-1) { 00033 } 00034 00038 FormatterParams(const std::string &n) : 00039 ParserInfo(n), fileNameNoPath(strip_file_path(n)), start(-1) { 00040 } 00041 }; 00042 00043 } 00044 00045 #endif /*FORMATTERPARAMS_H_*/