Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnderground78 <underground78@users.sourceforge.net>2013-01-20 14:59:07 +0400
committerUnderground78 <underground78@users.sourceforge.net>2013-02-13 02:45:03 +0400
commit1f8c16c08822a3c438bd6ce69fe7ae90be1cd3d7 (patch)
tree4a8d90f7fe2774340881cda5fcf2bef6a56ea5a3 /include
parent59b5bfcb699649527a8b5e5727d0380a06f33e0e (diff)
Add mpc-hc_config.h
Define some constants for URLs here.
Diffstat (limited to 'include')
-rw-r--r--include/mpc-hc_config.h41
-rw-r--r--include/version.h2
2 files changed, 42 insertions, 1 deletions
diff --git a/include/mpc-hc_config.h b/include/mpc-hc_config.h
new file mode 100644
index 000000000..cec9a15a3
--- /dev/null
+++ b/include/mpc-hc_config.h
@@ -0,0 +1,41 @@
+#ifndef ISPP_INVOKED
+/*
+ * (C) 2013 see Authors.txt
+ *
+ * This file is part of MPC-HC.
+ *
+ * MPC-HC 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 3 of the License, or
+ * (at your option) any later version.
+ *
+ * MPC-HC 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/>.
+ *
+ */
+#endif
+
+#ifndef MPC_HC_CONFIG_H
+#define MPC_HC_CONFIG_H
+
+#ifndef _T
+#if !defined(ISPP_INVOKED) && (defined(UNICODE) || defined(_UNICODE))
+#define _T(text) L##text
+#else
+#define _T(text) text
+#endif
+#endif
+
+#define WEBSITE_URL _T("http://www.mpc-hc.org/")
+#define DOWNLOAD_URL _T("http://www.mpc-hc.org/downloads/")
+#define UPDATE_URL _T("http://www.mpc-hc.org/version.txt")
+#define TRAC_URL _T("https://trac.mpc-hc.org/")
+#define BUGS_URL _T("https://trac.mpc-hc.org/wiki/Bugs_-_Reporting")
+#define TOOLBARS_URL _T("https://trac.mpc-hc.org/wiki/Toolbar_images")
+
+#endif // MPC_HC_CONFIG_H
diff --git a/include/version.h b/include/version.h
index 06a64306e..054be32b3 100644
--- a/include/version.h
+++ b/include/version.h
@@ -56,7 +56,7 @@
#define MPC_COMP_NAME_STR _T("MPC-HC Team")
#define MPC_COPYRIGHT_STR _T("Copyright © 2002-2013 all contributors, see Authors.txt")
-#define MPC_VERSION_COMMENTS _T("http://www.mpc-hc.org/")
+#define MPC_VERSION_COMMENTS WEBSITE_URL
#ifndef ISPP_INVOKED