2 // This file is part of the aMule Project.
4 // Copyright (c) 2006-2008 aMule Team ( admin@amule.org / http://www.amule.org )
6 // Any parts of this program derived from the xMule, lMule or eMule project,
7 // or contributed by third-party developers are copyrighted by their
10 // This program is free software; you can redistribute it and/or modify
11 // it under the terms of the GNU General Public License as published by
12 // the Free Software Foundation; either version 2 of the License, or
13 // (at your option) any later version.
15 // This program is distributed in the hope that it will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 // GNU General Public License for more details.
20 // You should have received a copy of the GNU General Public License
21 // along with this program; if not, write to the Free Software
22 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
28 //! This enum lists the views currently supported by the CClientListCtrl class.
31 //! The "neutral" state, where nothing is displayed.
34 //! Clients which are received files are displayed.
37 //! Clients which are queued for files are displayed.
40 //! All clients are displayed.
45 // lfroen : custom events for core internal messages
46 // 'cause - there's no wxCommand etc in wxBase
49 HTTP_DOWNLOAD_FINISHED
= 1,
57 //! These IDs are used when a download is initiated via the HTTPThread.
58 enum HTTP_Download_File
60 //! The download is a ipfilter.dat file (possibly compressed).
62 //! The download is a server.met file (possibly compressed).
64 // Auto-updating server.met has a different callback.
66 //! The download is the version check file.
68 //! The download is a notes.dat file (possibly compressed).
70 //! The download is a GeoIP database file (possibly compressed).
74 //! Source types for source showing list.
77 //! A source which is currently queued for another file.
79 //! A source which has not yet been contacted.
81 //! A source which is currently queued for this file.
85 // KnownFile constants
89 #define PS_WAITINGFORHASH 2
92 #define PS_INSUFFICIENT 5
95 #define PS_COMPLETING 8
97 #define PS_ALLOCATING 10
100 #define PR_VERYLOW 4 // I Had to change this because
101 // it didn't save negative number
102 // correctly.. Had to modify the
103 // sort function for this change..
105 #define PR_NORMAL 1 // Don't change this - needed for
106 // edonkey clients and server!
107 #define PR_HIGH 2 //*
108 #define PR_VERYHIGH 3
110 #define PR_POWERSHARE 6 //added for powershare (deltaHF)
114 // File_checked_for_headers