~ubuntu-branches/ubuntu/precise/amule-adunanza/precise

« back to all changes in this revision

Viewing changes to src/include/common/ClientVersion.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-02-18 21:16:23 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100218211623-gptwe60zx1knfkmu
Tags: 2010.1+2.2.6-0ubuntu1
* New upstream release (LP: #524697)
  - Drop manpages_spelling_fixes.diff fixed by upstream
  - Drop cryptopp-reference.diff fixed by upstream
  - Bump Standards-Version no changes required
  - Update install files (amule -> amuleadunanza)
  - debian/rules: amule.xpm -> amuleadunanza.xpm
  - Add README.Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//
2
2
// This file is part of the aMule Project.
3
3
//
4
 
// Copyright (c) 2003-2008 aMule Team ( admin@amule.org / http://www.amule.org )
 
4
// Copyright (c) 2003-2009 aMule Team ( admin@amule.org / http://www.amule.org )
5
5
// Copyright (c) 2002 Merkur ( devs@emule-project.net / http://www.emule-project.net )
6
6
//
7
7
// Any parts of this program derived from the xMule, lMule or eMule project,
44
44
// RELEASERS: REMOVE THE DEFINE ON THE RELEASES, PLEASE
45
45
// AND FIX THE MOD_VERSION_LONG
46
46
 
47
 
// ADUNANZA BEGIN
48
 
// #define __SVN__
49
 
// ADUNANZA END
 
47
/* #undef __SVN__ */
50
48
 
51
49
#ifndef VERSION
52
 
        #define VERSION "2.2.2"
 
50
        #define VERSION "2.2.6"
53
51
#endif
54
52
 
55
53
// ADUNANZA BEGIN
62
60
 
63
61
#else // if 0
64
62
 
 
63
// IMPORTANTE:
 
64
// I client Windows pensano che la MOD_STRING INIZI con
 
65
//
 
66
//      "AdunanzA N.NbN"
 
67
//
 
68
// Dopo puo' anche esserci scritto qualcosa, l'importante e' l'inizio della stringa.
 
69
// Noi che siamo un po' piu' furbi invece CERCHIAMO nella mod string la scritta
 
70
// "AdunanzA N.NbN" e poi facciamo il parsing della sotto-stringa (v. BaseClient.cpp)
 
71
//
 
72
// Al fine del corretto riconoscimento da parte dei client Windows faccio quindi in modo 
 
73
// che la MOD_STRING inizi proprio con "AdunanzA N.NbN", sempre.
 
74
//
 
75
// Notare invece che in aMule ufficiale la MOD_VERSION_LONG viene comunque usata,
 
76
// ma popolata con "aMule N.N.N" in caso di versioni stabili e "aMule SVN" in caso di versioni
 
77
// SVN.
 
78
 
65
79
#ifdef __SVN__
66
 
        #define MOD_VERSION_LONG                (ADU_MOD wxT(" - ") wxT("aMule SVN"))
 
80
        #define MOD_VERSION_LONG                (ADU_MOD wxT(" - aMule SVN"))
67
81
#else
68
 
        #define MOD_VERSION_LONG                (ADU_MOD wxT(" - aMule ") wxT(VERSION))
 
82
        // #define      MOD_VERSION_LONG                (wxT("aMule ") wxT(VERSION) wxT(" - ") ADU_MOD)
 
83
        #define MOD_VERSION_LONG                ADU_MOD
69
84
#endif
70
85
 
71
86
#endif
73
88
 
74
89
#define VERSION_MJR             2
75
90
#define VERSION_MIN             2
76
 
#define VERSION_UPDATE          2
 
91
#define VERSION_UPDATE          6
77
92
 
78
93
#ifndef PACKAGE
79
94
#define PACKAGE "amule"