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

« back to all changes in this revision

Viewing changes to src/libs/ec/cpp/ECSpecialTags.cpp

  • 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 Kry ( elkry@sourceforge.net / http://www.amule.org )
5
 
// Copyright (c) 2003-2008 aMule Team ( admin@amule.org / http://www.amule.org )
 
4
// Copyright (c) 2003-2009 Kry ( elkry@sourceforge.net / http://www.amule.org )
 
5
// Copyright (c) 2003-2009 aMule Team ( admin@amule.org / http://www.amule.org )
6
6
//
7
7
// Any parts of this program derived from the xMule, lMule or eMule project,
8
8
// or contributed by third-party developers are copyrighted by their
62
62
// Search request
63
63
//
64
64
CEC_Search_Tag::CEC_Search_Tag(const wxString &name, EC_SEARCH_TYPE search_type, const wxString &file_type,
65
 
                        const wxString &extension, uint32 avail, uint32 min_size, uint32 max_size) : CECTag(EC_TAG_SEARCH_TYPE, (uint32)search_type)
 
65
                        const wxString &extension, uint32 avail, uint64 min_size, uint64 max_size) : CECTag(EC_TAG_SEARCH_TYPE, (uint32)search_type)
66
66
{
67
67
        AddTag(CECTag(EC_TAG_SEARCH_NAME, name));
68
68
        AddTag(CECTag(EC_TAG_SEARCH_FILE_TYPE, file_type));
112
112
                        format = format % tag->GetInt();
113
113
                        break;
114
114
                case EC_VALUE_ISTRING:
 
115
// ADUNANZA BEGIN
 
116
// Backport: fix per wx 2.9
 
117
#if 0
115
118
                        format = format % (wxString::Format(wxT("%") wxLongLongFmtSpec wxT("u"), tag->GetInt()) + extra);
 
119
#else
 
120
                        format = format % (wxString::Format(wxT("%") WXLONGLONGFMTSPEC wxT("u"), tag->GetInt()) + extra);
 
121
#endif
 
122
// ADUNANZA END
116
123
                        break;
117
124
                case EC_VALUE_BYTES:
118
125
                        format = format % (CastItoXBytes(tag->GetInt()) + extra);