summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-30 17:47:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-30 18:19:54 +0300
commitbd429077f8985c5ee45a53009d02e2f495b4ad90 (patch)
treeaeaaaba43b24de34af6f332ac200b976b7056371 /src/enums
parentb0388c5ad0a49f65becdee1120d4df476410dd01 (diff)
downloadplus-bd429077f8985c5ee45a53009d02e2f495b4ad90.tar.gz
plus-bd429077f8985c5ee45a53009d02e2f495b4ad90.tar.bz2
plus-bd429077f8985c5ee45a53009d02e2f495b4ad90.tar.xz
plus-bd429077f8985c5ee45a53009d02e2f495b4ad90.zip
Add strong typed bool enum ShowEmptyRows and use it in itemcontainer.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/simpletypes/showemptyrows.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/enums/simpletypes/showemptyrows.h b/src/enums/simpletypes/showemptyrows.h
new file mode 100644
index 000000000..4656682ef
--- /dev/null
+++ b/src/enums/simpletypes/showemptyrows.h
@@ -0,0 +1,28 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2015 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_SHOWEMPTYROWS_H
+#define ENUMS_SIMPLETYPES_SHOWEMPTYROWS_H
+
+#include "enums/simpletypes/booldefines.h"
+
+defBoolEnum(ShowEmptyRows);
+
+#endif // ENUMS_SIMPLETYPES_SHOWEMPTYROWS_H