00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #include "config.h"
00012 #ifndef NO_GPSIM
00013
00014 #ifndef DEBUGMANAGER_H
00015 #define DEBUGMANAGER_H
00016
00017 #include <qguardedptr.h>
00018 #include <qmap.h>
00019 #include <qobject.h>
00020
00021 class GpsimProcessor;
00022 class TextDocument;
00023
00024 typedef QValueList< QGuardedPtr<GpsimProcessor> > GpsimProcessorList;
00025
00029 class DebugManager : public QObject
00030 {
00031 Q_OBJECT
00032 public:
00033 static DebugManager * self();
00034 ~DebugManager();
00035
00036 void registerGpsim( GpsimProcessor * gpsim );
00041 void urlOpened( TextDocument * td );
00042
00043 protected:
00044 GpsimProcessorList m_processors;
00045
00046 private:
00047 DebugManager();
00048 static DebugManager * m_pSelf;
00049
00050 };
00051
00052 #endif
00053
00054 #endif