You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/languages/java/tdevdriver.cpp

45 lines
765 B

#include "tdevdriver.h"
#include "JavaLexer.hpp"
#include <unistd.h>
#include <tqfileinfo.h>
TDevDriver::TDevDriver( JavaSupportPart* javaSupport )
: m_javaSupport( javaSupport )
{
}
JavaSupportPart* TDevDriver::javaSupport()
{
return m_javaSupport;
}
void TDevDriver::setupProject()
{
TQMap<TQString, bool> map;
{
TQStringList fileList = m_javaSupport->project()->allFiles();
TQStringList::ConstIterator it = fileList.begin();
while( it != fileList.end() ){
TQFileInfo info( *it );
++it;
map.insert( info.dirPath(true), true );
}
}
{
TQMap<TQString, bool>::Iterator it = map.begin();
while( it != map.end() ){
addIncludePath( it.key() );
++it;
}
}
}
void TDevDriver::setupLexer( JavaLexer* lexer )
{
Driver::setupLexer( lexer );
}