kdevdriver.h
Go to the documentation of this file.00001 00002 #ifndef __kdevdriver_h 00003 #define __kdevdriver_h 00004 00005 #include "cppsupportpart.h" 00006 00007 #include <kdevproject.h> 00008 #include <kdeversion.h> 00009 00010 #include <driver.h> 00011 #include <qprocess.h> 00012 00013 #include <cstdlib> 00014 #include <unistd.h> 00015 00016 class KDevDriver: public Driver 00017 { 00018 public: 00019 KDevDriver( CppSupportPart* cppSupport ); 00020 CppSupportPart* cppSupport(); 00021 void setupProject(); 00024 void setup(); 00025 00026 virtual void addMacro( const Macro& m ) 00027 { 00028 if( m.name() == "signals" || m.name() == "slots" ) 00029 return; 00030 Driver::addMacro( m ); 00031 } 00032 00033 protected: 00034 void setupLexer( Lexer* lexer ); 00035 00036 private: 00037 CppSupportPart* m_cppSupport; 00038 }; 00039 00040 #endif 00041