From fa607ed0e7ed4b08b1d33d96f4d2c9cdc9a1e978 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Tue, 15 Mar 2016 11:47:53 +0100 Subject: [PATCH] Initial version --- .gitignore | 6 ++ UpdCheck/UpdCheck.props | 14 ++++ UpdCheck/UpdCheck.rc | Bin 0 -> 3280 bytes UpdCheck/UpdCheck.vcxproj | 106 ++++++++++++++++++++++++++++ UpdCheck/UpdCheck.vcxproj.filters | 44 ++++++++++++ UpdCheck/locale/.gitignore | 1 + UpdCheck/locale/sl_SI.po | 30 ++++++++ UpdCheck/main.cpp | 40 +++++++++++ UpdCheck/stdafx.cpp | 20 ++++++ UpdCheck/stdafx.h | 26 +++++++ UpdMkDesc/UpdMkDesc.props | 18 +++++ UpdMkDesc/UpdMkDesc.rc | Bin 0 -> 3318 bytes UpdMkDesc/UpdMkDesc.vcxproj | 106 ++++++++++++++++++++++++++++ UpdMkDesc/UpdMkDesc.vcxproj.filters | 44 ++++++++++++ UpdMkDesc/locale/.gitignore | 1 + UpdMkDesc/locale/sl_SI.po | 30 ++++++++ UpdMkDesc/main.cpp | 62 ++++++++++++++++ UpdMkDesc/stdafx.cpp | 20 ++++++ UpdMkDesc/stdafx.h | 27 +++++++ Updater.sln | 67 ++++++++++++++++++ include/version.h | 43 +++++++++++ 21 files changed, 705 insertions(+) create mode 100644 .gitignore create mode 100644 UpdCheck/UpdCheck.props create mode 100644 UpdCheck/UpdCheck.rc create mode 100644 UpdCheck/UpdCheck.vcxproj create mode 100644 UpdCheck/UpdCheck.vcxproj.filters create mode 100644 UpdCheck/locale/.gitignore create mode 100644 UpdCheck/locale/sl_SI.po create mode 100644 UpdCheck/main.cpp create mode 100644 UpdCheck/stdafx.cpp create mode 100644 UpdCheck/stdafx.h create mode 100644 UpdMkDesc/UpdMkDesc.props create mode 100644 UpdMkDesc/UpdMkDesc.rc create mode 100644 UpdMkDesc/UpdMkDesc.vcxproj create mode 100644 UpdMkDesc/UpdMkDesc.vcxproj.filters create mode 100644 UpdMkDesc/locale/.gitignore create mode 100644 UpdMkDesc/locale/sl_SI.po create mode 100644 UpdMkDesc/main.cpp create mode 100644 UpdMkDesc/stdafx.cpp create mode 100644 UpdMkDesc/stdafx.h create mode 100644 Updater.sln create mode 100644 include/version.h diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e661545 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +/*.opensdf +/*.sdf +/*.suo +/ipch +*.user +temp diff --git a/UpdCheck/UpdCheck.props b/UpdCheck/UpdCheck.props new file mode 100644 index 0000000..6e51ada --- /dev/null +++ b/UpdCheck/UpdCheck.props @@ -0,0 +1,14 @@ + + + + + + ..\..\output\$(Platform).$(Configuration)\ + + + + ..\..\lib\wxExtend\include;..\..\lib\stdex\include;%(AdditionalIncludeDirectories) + + + + \ No newline at end of file diff --git a/UpdCheck/UpdCheck.rc b/UpdCheck/UpdCheck.rc new file mode 100644 index 0000000000000000000000000000000000000000..4a02bba91be34520aefcf98b1ff2545ce902e651 GIT binary patch literal 3280 zcmdUxTW=CU6vxlAiQi$RFKwboYke>=CcP|3i$Hb(H8CNyTuQ9a0M(lKh5VB0@60lt zo$k_#=|jzAcXnpZ^?xq2zkhAWSSE5R=W;218Au=nDKb7W{1e^z3dKz3oJ`>=${Ey; z<&k-^l3q(shH?eR03M}&vy$?g(U!<}lq&oAgB{koKtj+Mf#DcG&%kg~+U$&Ff#-eJ zF<(8in#&gJ1d%D2&%j>MNuxM~;)#jI(4e9+Hf2xB@NcHc&&gI8VYfKJ3$74++@tGvs62RBaazH$f4QHHt(zb_*IuO{)^la`U4)$xwA zBapwFPPN`mr`gl_3%Y$Ys>O#Un%0XZ{x{fblXvdQKOaaF8iIX3asc$XPk zT_G9YrZ%*`G}i7+@z9(IO>C80>nBU4@jak|LZs!LM_}DqW`RRKOBs_bA(E=l){Ipy zM%sUe%i0e-yYuqUdF^}Tyj89Zs^XmPH1M(@i(DWj`g{qSEY}1})Sf)u4RBJeI(Nz1 z7Vr1?R0o{~U$MN9om|eAd^89sciHgmv2NzlCY{Q0q%GVB#fs6Gwom(719UY53RtnA zJL?@dLf04^25?O9X}Y}iY*pk-bEj#kCD{e1S3J9N!aKP?Ev=nzmuRUpV`^lk=3D{0 zr}9NExMwEv9V~mS2JCCsEwlA*H)>!x_f&9e79U{IhFQLpHhOnjv literal 0 HcmV?d00001 diff --git a/UpdCheck/UpdCheck.vcxproj b/UpdCheck/UpdCheck.vcxproj new file mode 100644 index 0000000..f5e5ac8 --- /dev/null +++ b/UpdCheck/UpdCheck.vcxproj @@ -0,0 +1,106 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {0B2B7A10-3FA0-46CD-AD89-6D02DA2C5FC3} + Win32Proj + UpdCheck + + + + Application + true + Unicode + + + Application + true + Unicode + + + Application + false + true + Unicode + + + Application + false + true + Unicode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Create + Create + Create + Create + + + + + + + + + + + + + + + + + {a3a36689-ac35-4026-93da-a3ba0c0e767c} + + + + + + \ No newline at end of file diff --git a/UpdCheck/UpdCheck.vcxproj.filters b/UpdCheck/UpdCheck.vcxproj.filters new file mode 100644 index 0000000..759f9d9 --- /dev/null +++ b/UpdCheck/UpdCheck.vcxproj.filters @@ -0,0 +1,44 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + {e43059ae-37ac-4b28-84fb-18d1b3972b30} + po;pot + + + + + Source Files + + + Source Files + + + + + Header Files + + + + + Resource Files + + + + + Resource Files\Localization + + + \ No newline at end of file diff --git a/UpdCheck/locale/.gitignore b/UpdCheck/locale/.gitignore new file mode 100644 index 0000000..85ebba8 --- /dev/null +++ b/UpdCheck/locale/.gitignore @@ -0,0 +1 @@ +/*.mo diff --git a/UpdCheck/locale/sl_SI.po b/UpdCheck/locale/sl_SI.po new file mode 100644 index 0000000..35f0c9f --- /dev/null +++ b/UpdCheck/locale/sl_SI.po @@ -0,0 +1,30 @@ +msgid "" +msgstr "" +"Project-Id-Version: UpdCheck\n" +"POT-Creation-Date: 2016-03-15 10:56+0100\n" +"PO-Revision-Date: 2016-03-15 10:57+0100\n" +"Last-Translator: Simon Rozman \n" +"Language-Team: Amebis, d. o. o., Kamnik \n" +"Language: sl_SI\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.7\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: _\n" +"X-Poedit-SearchPath-0: .\n" + +#: main.cpp:40 +msgid "Show this help message" +msgstr "Pokaži to sporočilo pomoči" + +#: main.cpp:41 +msgid "input file" +msgstr "vhodna datoteka" + +#: main.cpp:42 +msgid "output file" +msgstr "izhodna datoteka" diff --git a/UpdCheck/main.cpp b/UpdCheck/main.cpp new file mode 100644 index 0000000..7b52a4b --- /dev/null +++ b/UpdCheck/main.cpp @@ -0,0 +1,40 @@ +/* + Copyright 2016 Amebis + + This file is part of Updater. + + Updater 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. + + Updater 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 Updater. If not, see . +*/ + +#include "stdafx.h" + + +/// +/// Main function +/// +int CALLBACK WinMain(_In_ HINSTANCE hInstance, _In_ HINSTANCE hPrevInstance, _In_ LPSTR lpCmdLine, _In_ int nCmdShow) +{ + wxApp::CheckBuildOptions(WX_BUILD_OPTIONS_SIGNATURE, "program"); + + // Inizialize wxWidgets. + wxInitializer initializer; + if (!initializer) { + _ftprintf(stderr, wxT("Failed to initialize the wxWidgets library, aborting.\n")); + return -1; + } + + + + return 0; +} diff --git a/UpdCheck/stdafx.cpp b/UpdCheck/stdafx.cpp new file mode 100644 index 0000000..6ade609 --- /dev/null +++ b/UpdCheck/stdafx.cpp @@ -0,0 +1,20 @@ +/* + Copyright 2016 Amebis + + This file is part of Updater. + + Updater 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. + + Updater 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 Updater. If not, see . +*/ + +#include "stdafx.h" diff --git a/UpdCheck/stdafx.h b/UpdCheck/stdafx.h new file mode 100644 index 0000000..4fe41c1 --- /dev/null +++ b/UpdCheck/stdafx.h @@ -0,0 +1,26 @@ +/* + Copyright 2016 Amebis + + This file is part of Updater. + + Updater 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. + + Updater 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 Updater. If not, see . +*/ + +#pragma once + +#include + +#include + +#include diff --git a/UpdMkDesc/UpdMkDesc.props b/UpdMkDesc/UpdMkDesc.props new file mode 100644 index 0000000..afd707f --- /dev/null +++ b/UpdMkDesc/UpdMkDesc.props @@ -0,0 +1,18 @@ + + + + + + ..\..\output\$(Platform).$(Configuration)\ + + + + ..\..\lib\wxExtend\include;..\..\lib\stdex\include;%(AdditionalIncludeDirectories) + _CONSOLE;%(PreprocessorDefinitions) + + + Console + + + + \ No newline at end of file diff --git a/UpdMkDesc/UpdMkDesc.rc b/UpdMkDesc/UpdMkDesc.rc new file mode 100644 index 0000000000000000000000000000000000000000..5f4db7a73500f8b6e95155bdc1004e42b878eb7c GIT binary patch literal 3318 zcmdUxTTc@~6vxlAiQi$YFOVn}#0L{&!ev`4rEPZGs)~UP<}QYD?vNN|pWW-VSG-kq9)#U^v0gV=!Ek4l5H`;Q4@g z!e8Ic=CaN_MPvr%XJD`BWKkSJ@yJGFWKmHWYqBF1c`rSQ(UwRP4YBO;-;;f*GgR&m zhFQtkMn)`EI3j7lzizeGS#7Y|;ag?LAS+!->8i|YXnZ42*h`?>T}jbnH@WoX{zuM7 zup4ByTX#|E;#E(&pcC^~1N{c`8t)4K=E{y+S8lT$6{zd*hcXO!wTR!2w5{yCjzjj| zg8a>Ns`X|%&7SUG(Cwm8E#9}$bY8UZzsXvM%xnMWzPN}~Y&KVkt74tVfsLoeyTZ`w zipcm5wW0N;vG#k4hvr0NW2@X+KY1#R?;aHtA+2aX2J7xJ3q109%7ko*kW_=VZmse$ z(*8SI*1iesF3Lmib?A}zR=FNi6(@A3VUPuR_%agGE5OE0%AEd8?2%?Npv4YvC>^R;|XYecIQWpsN{B!iojm zSRx+dT-gky?Nv*oGhs-jq$-_1%b%QiT@hdAjj{5?M&*=vsQ+W`28+vxXuQH5BR@f5i>%m`7tm?kp4#tK`+Se+ zQ4tZ*jj5sATG?D$r8%y)x|r!Kn>%Tg4#C_-WCQ;$cy5D#3vDx^eNHwka`~Cfgxke6 zlzX?))q7HS0_Io3uF(a%vr8oZrC)@Z)JB?C^qlx;on-4rJ6hUJw0bvf=9Ggh_15~o Ts~y^9u-?}0>Lz=?Z+?FOALOky literal 0 HcmV?d00001 diff --git a/UpdMkDesc/UpdMkDesc.vcxproj b/UpdMkDesc/UpdMkDesc.vcxproj new file mode 100644 index 0000000..09ec111 --- /dev/null +++ b/UpdMkDesc/UpdMkDesc.vcxproj @@ -0,0 +1,106 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {516AFFF6-F1E7-4806-B2E2-5CD9911ED2FB} + UpdMkDesc + + + + Application + true + Unicode + Dynamic + + + Application + true + Unicode + Dynamic + + + Application + false + true + Unicode + Dynamic + + + Application + false + true + Unicode + Dynamic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Create + Create + Create + Create + + + + + + + + {a3a36689-ac35-4026-93da-a3ba0c0e767c} + + + + + + + + + + + + \ No newline at end of file diff --git a/UpdMkDesc/UpdMkDesc.vcxproj.filters b/UpdMkDesc/UpdMkDesc.vcxproj.filters new file mode 100644 index 0000000..0514c72 --- /dev/null +++ b/UpdMkDesc/UpdMkDesc.vcxproj.filters @@ -0,0 +1,44 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + {e43059ae-37ac-4b28-84fb-18d1b3972b30} + po;pot + + + + + Source Files + + + Source Files + + + + + Header Files + + + + + Resource Files + + + + + Resource Files\Localization + + + \ No newline at end of file diff --git a/UpdMkDesc/locale/.gitignore b/UpdMkDesc/locale/.gitignore new file mode 100644 index 0000000..85ebba8 --- /dev/null +++ b/UpdMkDesc/locale/.gitignore @@ -0,0 +1 @@ +/*.mo diff --git a/UpdMkDesc/locale/sl_SI.po b/UpdMkDesc/locale/sl_SI.po new file mode 100644 index 0000000..5e35145 --- /dev/null +++ b/UpdMkDesc/locale/sl_SI.po @@ -0,0 +1,30 @@ +msgid "" +msgstr "" +"Project-Id-Version: UpdMkDesc\n" +"POT-Creation-Date: 2016-03-15 10:56+0100\n" +"PO-Revision-Date: 2016-03-15 10:57+0100\n" +"Last-Translator: Simon Rozman \n" +"Language-Team: Amebis, d. o. o., Kamnik \n" +"Language: sl_SI\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.7\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: _\n" +"X-Poedit-SearchPath-0: .\n" + +#: main.cpp:40 +msgid "Show this help message" +msgstr "Pokaži to sporočilo pomoči" + +#: main.cpp:41 +msgid "input file" +msgstr "vhodna datoteka" + +#: main.cpp:42 +msgid "output file" +msgstr "izhodna datoteka" diff --git a/UpdMkDesc/main.cpp b/UpdMkDesc/main.cpp new file mode 100644 index 0000000..a63bca9 --- /dev/null +++ b/UpdMkDesc/main.cpp @@ -0,0 +1,62 @@ +/* + Copyright 2016 Amebis + + This file is part of Updater. + + Updater 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. + + Updater 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 Updater. If not, see . +*/ + +#include "stdafx.h" + + +/// +/// Main function +/// +int _tmain(int argc, _TCHAR *argv[]) +{ + wxApp::CheckBuildOptions(WX_BUILD_OPTIONS_SIGNATURE, "program"); + + // Inizialize wxWidgets. + wxInitializer initializer; + if (!initializer) { + _ftprintf(stderr, wxT("Failed to initialize the wxWidgets library, aborting.\n")); + return -1; + } + + // Parse command line. + static const wxCmdLineEntryDesc cmdLineDesc[] = + { + { wxCMD_LINE_SWITCH, "h" , "help" , _("Show this help message" ), wxCMD_LINE_VAL_NONE , wxCMD_LINE_OPTION_HELP }, + { wxCMD_LINE_SWITCH, "vh" , "ver-hex", _("Hexadecimal version of the product"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_OPTION_MANDATORY }, + { wxCMD_LINE_PARAM , NULL, NULL , _("output file" ), wxCMD_LINE_VAL_STRING, wxCMD_LINE_OPTION_MANDATORY }, + + { wxCMD_LINE_NONE } + }; + wxCmdLineParser parser(cmdLineDesc, argc, argv); + switch (parser.Parse()) { + case -1: + // Help was given, terminating. + return 0; + + case 0: + // everything is ok; proceed + break; + + default: + wxLogMessage(wxT("Syntax error detected, aborting.")); + return -1; + } + + return 0; +} diff --git a/UpdMkDesc/stdafx.cpp b/UpdMkDesc/stdafx.cpp new file mode 100644 index 0000000..6ade609 --- /dev/null +++ b/UpdMkDesc/stdafx.cpp @@ -0,0 +1,20 @@ +/* + Copyright 2016 Amebis + + This file is part of Updater. + + Updater 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. + + Updater 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 Updater. If not, see . +*/ + +#include "stdafx.h" diff --git a/UpdMkDesc/stdafx.h b/UpdMkDesc/stdafx.h new file mode 100644 index 0000000..65d22a1 --- /dev/null +++ b/UpdMkDesc/stdafx.h @@ -0,0 +1,27 @@ +/* + Copyright 2016 Amebis + + This file is part of Updater. + + Updater 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. + + Updater 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 Updater. If not, see . +*/ + +#pragma once + +#include +#include + +#include + +#include diff --git a/Updater.sln b/Updater.sln new file mode 100644 index 0000000..216fcef --- /dev/null +++ b/Updater.sln @@ -0,0 +1,67 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Libraries", "Libraries", "{A7D28E0C-BB96-444D-AAB0-F22A6483FE5F}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{ECE3F336-FFD2-41EE-AD8F-17BD7472BDCB}" + ProjectSection(SolutionItems) = preProject + include\version.h = include\version.h + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UpdMkDesc", "UpdMkDesc\UpdMkDesc.vcxproj", "{516AFFF6-F1E7-4806-B2E2-5CD9911ED2FB}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UpdCheck", "UpdCheck\UpdCheck.vcxproj", "{0B2B7A10-3FA0-46CD-AD89-6D02DA2C5FC3}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wxExtend", "..\lib\wxExtend\build\wxExtend.vcxproj", "{A3A36689-AC35-4026-93DA-A3BA0C0E767C}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "stdex", "..\lib\stdex\build\stdex.vcxproj", "{518777CC-0A59-4415-A12A-82751ED75343}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {516AFFF6-F1E7-4806-B2E2-5CD9911ED2FB}.Debug|Win32.ActiveCfg = Debug|Win32 + {516AFFF6-F1E7-4806-B2E2-5CD9911ED2FB}.Debug|Win32.Build.0 = Debug|Win32 + {516AFFF6-F1E7-4806-B2E2-5CD9911ED2FB}.Debug|x64.ActiveCfg = Debug|x64 + {516AFFF6-F1E7-4806-B2E2-5CD9911ED2FB}.Debug|x64.Build.0 = Debug|x64 + {516AFFF6-F1E7-4806-B2E2-5CD9911ED2FB}.Release|Win32.ActiveCfg = Release|Win32 + {516AFFF6-F1E7-4806-B2E2-5CD9911ED2FB}.Release|Win32.Build.0 = Release|Win32 + {516AFFF6-F1E7-4806-B2E2-5CD9911ED2FB}.Release|x64.ActiveCfg = Release|x64 + {516AFFF6-F1E7-4806-B2E2-5CD9911ED2FB}.Release|x64.Build.0 = Release|x64 + {0B2B7A10-3FA0-46CD-AD89-6D02DA2C5FC3}.Debug|Win32.ActiveCfg = Debug|Win32 + {0B2B7A10-3FA0-46CD-AD89-6D02DA2C5FC3}.Debug|Win32.Build.0 = Debug|Win32 + {0B2B7A10-3FA0-46CD-AD89-6D02DA2C5FC3}.Debug|x64.ActiveCfg = Debug|x64 + {0B2B7A10-3FA0-46CD-AD89-6D02DA2C5FC3}.Debug|x64.Build.0 = Debug|x64 + {0B2B7A10-3FA0-46CD-AD89-6D02DA2C5FC3}.Release|Win32.ActiveCfg = Release|Win32 + {0B2B7A10-3FA0-46CD-AD89-6D02DA2C5FC3}.Release|Win32.Build.0 = Release|Win32 + {0B2B7A10-3FA0-46CD-AD89-6D02DA2C5FC3}.Release|x64.ActiveCfg = Release|x64 + {0B2B7A10-3FA0-46CD-AD89-6D02DA2C5FC3}.Release|x64.Build.0 = Release|x64 + {A3A36689-AC35-4026-93DA-A3BA0C0E767C}.Debug|Win32.ActiveCfg = Debug|Win32 + {A3A36689-AC35-4026-93DA-A3BA0C0E767C}.Debug|Win32.Build.0 = Debug|Win32 + {A3A36689-AC35-4026-93DA-A3BA0C0E767C}.Debug|x64.ActiveCfg = Debug|x64 + {A3A36689-AC35-4026-93DA-A3BA0C0E767C}.Debug|x64.Build.0 = Debug|x64 + {A3A36689-AC35-4026-93DA-A3BA0C0E767C}.Release|Win32.ActiveCfg = Release|Win32 + {A3A36689-AC35-4026-93DA-A3BA0C0E767C}.Release|Win32.Build.0 = Release|Win32 + {A3A36689-AC35-4026-93DA-A3BA0C0E767C}.Release|x64.ActiveCfg = Release|x64 + {A3A36689-AC35-4026-93DA-A3BA0C0E767C}.Release|x64.Build.0 = Release|x64 + {518777CC-0A59-4415-A12A-82751ED75343}.Debug|Win32.ActiveCfg = Debug|Win32 + {518777CC-0A59-4415-A12A-82751ED75343}.Debug|Win32.Build.0 = Debug|Win32 + {518777CC-0A59-4415-A12A-82751ED75343}.Debug|x64.ActiveCfg = Debug|x64 + {518777CC-0A59-4415-A12A-82751ED75343}.Debug|x64.Build.0 = Debug|x64 + {518777CC-0A59-4415-A12A-82751ED75343}.Release|Win32.ActiveCfg = Release|Win32 + {518777CC-0A59-4415-A12A-82751ED75343}.Release|Win32.Build.0 = Release|Win32 + {518777CC-0A59-4415-A12A-82751ED75343}.Release|x64.ActiveCfg = Release|x64 + {518777CC-0A59-4415-A12A-82751ED75343}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {A3A36689-AC35-4026-93DA-A3BA0C0E767C} = {A7D28E0C-BB96-444D-AAB0-F22A6483FE5F} + {518777CC-0A59-4415-A12A-82751ED75343} = {A7D28E0C-BB96-444D-AAB0-F22A6483FE5F} + EndGlobalSection +EndGlobal diff --git a/include/version.h b/include/version.h new file mode 100644 index 0000000..1439fa9 --- /dev/null +++ b/include/version.h @@ -0,0 +1,43 @@ +/* + Copyright 2016 Amebis + + This file is part of Updater. + + Updater 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. + + Updater 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 Updater. If not, see . +*/ + +#pragma once + +// +// Product version as a single DWORD +// Note: Used for version comparison within C/C++ code. +// +#define UPDATER_VERSION 0x01000000 + +// +// Product version by components +// Note: Resource Compiler has limited preprocessing capability, +// thus we need to specify major, minor and other version components +// separately. +// +#define UPDATER_VERSION_MAJ 1 +#define UPDATER_VERSION_MIN 0 +#define UPDATER_VERSION_REV 0 +#define UPDATER_VERSION_BUILD 0 + +// +// Human readable product version and build year for UI +// +#define UPDATER_VERSION_STR "2.0-alpha" +#define UPDATER_BUILD_YEAR_STR "2016"