Source-highlight Library
|
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 CTAGSMANAGER_H_ 00008 #define CTAGSMANAGER_H_ 00009 00010 #include <string> 00011 00012 #include "refposition.h" 00013 #include "textstyles.h" 00014 00015 namespace srchilite { 00016 00017 class CTagsCollector; 00018 class CTagsFormatter; 00019 00023 class CTagsManager { 00025 std::string ctagsFile; 00026 00028 std::string ctagsCmd; 00029 00031 bool runCTags; 00032 00034 RefPosition refPosition; 00035 00037 CTagsCollector *ctagsCollector; 00038 public: 00045 CTagsManager(const std::string &_ctagsFile, const std::string &_ctagsCmd, 00046 bool _runCTags, RefPosition _refPosition); 00047 00048 ~CTagsManager(); 00049 00054 void runCTagsCmd(); 00055 00062 CTagsFormatter *createCTagsFormatter(const TextStyles::RefTextStyle &r); 00063 }; 00064 00065 } 00066 00067 #endif /*CTAGSMANAGER_H_*/