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.
51 lines
1.1 KiB
51 lines
1.1 KiB
15 years ago
|
//
|
||
|
#ifndef __ADASUPPORTPART_H__
|
||
|
#define __ADASUPPORTPART_H__
|
||
|
|
||
|
#include "kdevlanguagesupport.h"
|
||
|
|
||
|
#include <qwaitcondition.h>
|
||
|
|
||
|
class AdaSupportPartData;
|
||
|
class KDialogBase;
|
||
|
class QStringList;
|
||
|
|
||
|
class AdaSupportPart : public KDevLanguageSupport
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
AdaSupportPart (QObject *parent, const char *name, const QStringList &);
|
||
|
~AdaSupportPart ();
|
||
|
|
||
|
void parseContents (const QString& contents, const QString& fileName);
|
||
|
|
||
|
protected:
|
||
|
Features features ();
|
||
|
KMimeType::List mimeTypes ();
|
||
|
QStringList fileExtensions ();
|
||
|
|
||
|
private slots:
|
||
|
void projectOpened ();
|
||
|
void projectClosed ();
|
||
|
|
||
|
void addedFilesToProject (const QStringList &fileList);
|
||
|
void removedFilesFromProject (const QStringList &fileList);
|
||
|
void changedFilesInProject( const QStringList &fileList );
|
||
|
|
||
|
void initialParse ();
|
||
|
void savedFile (const KURL&);
|
||
|
|
||
|
private:
|
||
|
void maybeParse (const QString &fileName);
|
||
|
void parse (const QString &fileName);
|
||
|
|
||
|
void saveProjectSourceInfo( );
|
||
|
private:
|
||
|
AdaSupportPartData* d;
|
||
|
|
||
|
friend class ProblemReporter;
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif
|