Go to the documentation of this file.00001
00002
00003
00004
00005
00008
00009 #ifndef lgrPopupBox_H_
00010 #define lgrPopupBox_H_
00011
00012 #include "lgrUtil.h"
00013 #include "virtualConstructor.h"
00014
00015 class DtString;
00016
00017 namespace MAKLogger
00018 {
00019
00024 class DT_DLL_LGRUTIL DtPopupBox
00025 {
00026 public:
00027 DT_VIRTUAL_CTR(DtPopupBox,())
00028
00029 virtual ~DtPopupBox();
00030
00032 enum DtPopupButton
00033 {
00034 DtPB_YesOk,
00035 DtPB_NoCancel,
00036 DtPB_Retry
00037 };
00038
00039 enum DtPopupButtonSet
00040 {
00041 DtPBS_YesNo,
00042 DtPBS_YesNoCancel,
00043 DtPBS_Ok,
00044 DtPBS_OkCancel,
00045 DtPBS_RetryCancel
00046 };
00047
00049 virtual DtPopupButton showPopup(const DtString& caption,
00050 const DtString& message,DtPopupButtonSet buttons);
00051
00052 static void enablePopups(bool yesNo);
00053
00054 protected:
00055
00056 static bool showPopups;
00057 };
00058
00059 }
00060
00061 #endif
00062