From 6e3bf9979165b7569ad7a58ec4679f2531e50b90 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Jan 2015 20:16:06 +0300 Subject: Add AuctionSearchType enum. --- src/CMakeLists.txt | 1 + src/Makefile.am | 1 + src/enums/net/auctionsearchtype.h | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 src/enums/net/auctionsearchtype.h (limited to 'src') 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 . + */ + +#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 -- cgit v1.2.3-70-g09d2