diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-06 20:16:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-06 20:16:06 +0300 |
commit | 6e3bf9979165b7569ad7a58ec4679f2531e50b90 (patch) | |
tree | 567cb6881b1f95c60c8d882ca0aa4963006d4e6e | |
parent | 7014a04cb0989b0e182f8a1346d33b005e200ad5 (diff) | |
download | plus-6e3bf9979165b7569ad7a58ec4679f2531e50b90.tar.gz plus-6e3bf9979165b7569ad7a58ec4679f2531e50b90.tar.bz2 plus-6e3bf9979165b7569ad7a58ec4679f2531e50b90.tar.xz plus-6e3bf9979165b7569ad7a58ec4679f2531e50b90.zip |
Add AuctionSearchType enum.
-rw-r--r-- | src/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/enums/net/auctionsearchtype.h | 38 |
3 files changed, 40 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2654f94bc..90f82fe88 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -538,6 +538,7 @@ SET(SRCS net/elementalhandler.h net/download.cpp net/download.h + enums/net/auctionsearchtype.h enums/net/downloadstatus.h enums/net/packettypes.h net/gamehandler.h diff --git a/src/Makefile.am b/src/Makefile.am index a0ec51227..0139599e4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -668,6 +668,7 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \ net/friendshandler.h \ net/download.cpp \ net/download.h \ + enums/net/auctionsearchtype.h \ enums/net/downloadstatus.h \ enums/net/packettypes.h \ net/gamehandler.h \ diff --git a/src/enums/net/auctionsearchtype.h b/src/enums/net/auctionsearchtype.h new file mode 100644 index 000000000..e908e2d42 --- /dev/null +++ b/src/enums/net/auctionsearchtype.h @@ -0,0 +1,38 @@ +/* + * The ManaPlus Client + * Copyright (C) 2010 The Mana Developers + * Copyright (C) 2011-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_NET_AUCTIONSEARCHTYPE_H +#define ENUMS_NET_AUCTIONSEARCHTYPE_H + +namespace AuctionSearchType +{ + enum Type + { + Armor = 0, + Weapon = 1, + Card = 2, + Misc = 3, + Name = 4, + AuctionId = 5, + }; +} // namespace AuctionSearchType + +#endif // ENUMS_NET_AUCTIONSEARCHTYPE_H |