[spring] 13/28: Imported Upstream version 101.0+dfsg

Markus Koschany apo-guest at moszumanska.debian.org
Sat Mar 5 21:48:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository spring.

commit 1756e6fece0efb25827b1c198b6f9937968c7de3
Author: Markus Koschany <apo at debian.org>
Date:   Sat Mar 5 14:43:58 2016 +0100

    Imported Upstream version 101.0+dfsg
---
 tools/pr-downloader/src/Downloader/DownloadEnum.h | 32 +++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/tools/pr-downloader/src/Downloader/DownloadEnum.h b/tools/pr-downloader/src/Downloader/DownloadEnum.h
new file mode 100644
index 0000000..6ed177c
--- /dev/null
+++ b/tools/pr-downloader/src/Downloader/DownloadEnum.h
@@ -0,0 +1,32 @@
+/* This file is part of pr-downloader (GPL v2 or later), see the LICENSE file */
+
+#ifndef DOWNLOADENUM_H
+#define DOWNLOADENUM_H
+
+#include <string>
+
+namespace DownloadEnum
+{
+	enum Category {
+			CAT_NONE=0,
+			CAT_MAP,
+			CAT_GAME,
+			CAT_SPRINGLOBBY,
+			CAT_ENGINE, //is translated to the category which fits best, see below
+			CAT_ENGINE_LINUX,
+			CAT_ENGINE_LINUX64,
+			CAT_ENGINE_WINDOWS,
+			CAT_ENGINE_WINDOWS64,
+			CAT_ENGINE_MACOSX,
+			CAT_HTTP,
+			CAT_COUNT
+	};
+	/**
+	 *	returns the string name of a category
+	 */
+	extern const std::string getCat(DownloadEnum::Category cat);
+	extern DownloadEnum::Category getCatFromStr(const std::string& str);
+
+}
+
+#endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/spring.git



More information about the Pkg-games-commits mailing list