00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef SOURCEHIGHLIGHTEXCEPTIONBOX_H_
00010 #define SOURCEHIGHLIGHTEXCEPTIONBOX_H_
00011
00012 #include <exception>
00013
00014 class QWidget;
00015
00016 namespace srchilite {
00017 class ParserException;
00018 }
00019
00020 namespace srchiliteqt {
00021
00028 class SourceHighlightExceptionBox {
00029 public:
00036 static void showMessageBox(const srchilite::ParserException &e, QWidget *parent = 0);
00037
00043 static void showMessageBox(const std::exception &e, QWidget *parent = 0);
00044 };
00045
00046 }
00047
00048 #endif