00001
00002
00003
00004
00005
00006 #ifndef SOURCEHIGHLIGHTEXCEPTIONBOX_H_
00007 #define SOURCEHIGHLIGHTEXCEPTIONBOX_H_
00008
00009 #include <exception>
00010
00011 class QWidget;
00012
00013 namespace srchilite {
00014 class ParserException;
00015 }
00016
00017 namespace srchiliteqt {
00018
00025 class SourceHighlightExceptionBox {
00026 public:
00033 static void showMessageBox(const srchilite::ParserException &e, QWidget *parent = 0);
00034
00040 static void showMessageBox(const std::exception &e, QWidget *parent = 0);
00041 };
00042
00043 }
00044
00045 #endif