#include "../config.h"
#endif
-#if defined(_WIN32) || defined(__WIN32__)
+#if defined(_WIN32)
#include <windows.h>
#elif defined(__APPLE__) && defined(__MACH__)
#include <Carbon/Carbon.h>
std::string text2;
+
+ ModalDialog(Type pType = INFO,
+ const std::string& pTitle = "",
+ const std::string& pText1 = "",
+ const std::string& pText2 = "") :
+ title(pTitle),
+ type(pType),
+ text1(pText1),
+ text2(pText2) {}
+
+
void run() const
{
switch (type)
break;
}
-#if defined(_WIN32) || defined(__WIN32__)
+#if defined(_WIN32)
int iconType;
switch (type)