summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-20 23:31:01 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-20 23:31:01 +0300
commit39f265e503e11f2e48e7a54129f216b55e288ac3 (patch)
tree2fe197330ea77bed9f59b633c3dd1bffd63a9a17 /src/enums
parentb43d3d71666161d9276440727082cc1508741280 (diff)
downloadplus-39f265e503e11f2e48e7a54129f216b55e288ac3.tar.gz
plus-39f265e503e11f2e48e7a54129f216b55e288ac3.tar.bz2
plus-39f265e503e11f2e48e7a54129f216b55e288ac3.tar.xz
plus-39f265e503e11f2e48e7a54129f216b55e288ac3.zip
Not allow close warp dialog until select warp target.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/simpletypes/allowquit.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/enums/simpletypes/allowquit.h b/src/enums/simpletypes/allowquit.h
new file mode 100644
index 000000000..22663b1c4
--- /dev/null
+++ b/src/enums/simpletypes/allowquit.h
@@ -0,0 +1,33 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2015-2016 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef ENUMS_SIMPLETYPES_ALLOWQUIT_H
+#define ENUMS_SIMPLETYPES_ALLOWQUIT_H
+
+#include "enums/simpletypes/booldefines.h"
+
+PRAGMA6("GCC diagnostic push")
+PRAGMA6("GCC diagnostic ignored \"-Wunused-const-variable\"")
+
+defBoolEnum(AllowQuit);
+
+PRAGMA6("GCC diagnostic pop")
+
+#endif // ENUMS_SIMPLETYPES_ALLOWQUIT_H