1//
2// This file is part of the aMule Project.
3//
4// Copyright (c) 2003-2011 aMule Team ( admin@amule.org / http://www.amule.org )
5// Copyright (c) 2002-2011 Merkur ( devs@emule-project.net / http://www.emule-project.net )
6//
7// Any parts of this program derived from the xMule, lMule or eMule project,
8// or contributed by third-party developers are copyrighted by their
9// respective authors.
10//
11// This program is free software; you can redistribute it and/or modify
12// it under the terms of the GNU General Public License as published by
13// the Free Software Foundation; either version 2 of the License, or
14// (at your option) any later version.
15//
16// This program is distributed in the hope that it will be useful,
17// but WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19// GNU General Public License for more details.
20//
21// You should have received a copy of the GNU General Public License
22// along with this program; if not, write to the Free Software
23// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA
24//
25
26#ifndef CLIENTVERSION_H
27#define CLIENTVERSION_H
28
29#ifdef HAVE_CONFIG_H
30	#include "config.h"	// Needed for VERSION
31#endif
32
33
34// eMule version used on old MuleInfo packet (unimportant).
35#define	CURRENT_VERSION_SHORT			0x47
36
37// This is only used to server login. It has no real "version" meaning anymore.
38#define	EDONKEYVERSION				0x3c
39
40// aMule version
41
42// No more Mod Version unless we're cvs
43
44// RELEASERS: REMOVE THE DEFINE ON THE RELEASES, PLEASE
45// AND FIX THE MOD_VERSION_LONG
46
47/* #undef __SVN__ */
48
49#ifndef VERSION
50	#define VERSION "2.3.1"
51#endif
52
53#ifdef __SVN__
54	#define	MOD_VERSION_LONG		wxT("aMule SVN")
55#else
56	#define	MOD_VERSION_LONG		(wxT("aMule ") wxT(VERSION))
57#endif
58
59#define	VERSION_MJR		2
60#define	VERSION_MIN		3
61#define	VERSION_UPDATE		1
62
63#ifndef PACKAGE
64#define PACKAGE "amule"
65#endif
66
67#endif // CLIENTVERSION_H
68