summaryrefslogtreecommitdiff
path: root/Variable.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2013-01-04 14:50:19 +0100
committerThomas Preud'homme <robotux@celest.fr>2013-01-04 14:50:19 +0100
commit8f9f382e1c97cab2e72e97495650c73ac4b97314 (patch)
tree78510a0d81368c09b56f444fb19bb132c8bc3009 /Variable.h
Imported Upstream version 0.3.0.5
Diffstat (limited to 'Variable.h')
-rw-r--r--Variable.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/Variable.h b/Variable.h
new file mode 100644
index 0000000..87e0c48
--- /dev/null
+++ b/Variable.h
@@ -0,0 +1,39 @@
+/** \file Variable.h
+\brief Define the environment variable
+\author alpha_one_x86
+\version 0.3
+\date 2010
+\licence GPL3, see the file COPYING */
+
+#ifndef VARIABLE_H
+#define VARIABLE_H
+
+/// \brief Un-comment this next line to put ultracopier in debug mode
+#define ULTRACOPIER_DEBUG
+/// \brief Max number of ligne show on the GUI
+#define ULTRACOPIER_DEBUG_MAX_GUI_LINE 5000
+/// \brief the version
+#define ULTRACOPIER_VERSION "0.3.0.5"
+/// \brief the windows version
+#define ULTRACOPIER_WINDOWS_VERSION 0,3,0,5
+// define if the version is portable or not
+//#define ULTRACOPIER_VERSION_PORTABLE
+//#define ULTRACOPIER_VERSION_PORTABLEAPPS
+/// \brief define time to update the speed detection update ont the interface (in ms)
+#define ULTRACOPIER_TIME_INTERFACE_UPDATE 500
+
+/** \brief How many value store to calculate the average value
+ * 5*ULTRACOPIER_TIME_INTERFACE_UPDATE = 5*500 to get 2.5s
+ * */
+#define ULTRACOPIER_MAXVALUESPEEDSTORED 5
+
+/// \brief the socket name, to have unique instance of ultracopier, and pass arguments between the instance
+#define ULTRACOPIER_SOCKETNAME "ultracopier-0.3"
+
+/// \brief to have internet support, to communicate with the web site for update and plugins
+#define ULTRACOPIER_INTERNET_SUPPORT
+
+/// \brief to disable plugin support to do all in one version with static Qt for the protable version
+#define ULTRACOPIER_PLUGIN_SUPPORT
+
+#endif // VARIABLE_H