Pārlūkot izejas kodu

2010-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Removed unused includes.
Tatsuhiro Tsujikawa 15 gadi atpakaļ
vecāks
revīzija
1d77c67f1b

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+2010-11-14  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Removed unused includes.
+
 2010-11-14  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Added .cc file for classes/structs that only provided by header

+ 0 - 7
src/DHTSetup.cc

@@ -40,7 +40,6 @@
 #include "LogFactory.h"
 #include "Logger.h"
 #include "util.h"
-#include "File.h"
 #include "DHTNode.h"
 #include "DHTConnectionImpl.h"
 #include "DHTRoutingTable.h"
@@ -70,12 +69,6 @@
 #include "RecoverableException.h"
 #include "a2functional.h"
 #include "DownloadEngine.h"
-#include "wallclock.h"
-#include "RequestGroupMan.h"
-#include "FileAllocationEntry.h"
-#include "CheckIntegrityEntry.h"
-#include "ServerStatMan.h"
-#include "FileEntry.h"
 
 namespace aria2 {
 

+ 0 - 4
src/FileAllocationEntry.cc

@@ -38,10 +38,6 @@
 #include "RequestGroup.h"
 #include "PieceStorage.h"
 #include "DiskAdaptor.h"
-#include "DownloadContext.h"
-#include "RequestGroupMan.h"
-#include "CheckIntegrityEntry.h"
-#include "ServerStatMan.h"
 
 namespace aria2 {
 

+ 0 - 5
src/InitiateConnectionCommandFactory.cc

@@ -43,11 +43,6 @@
 #include "Option.h"
 #include "prefs.h"
 #include "SocketCore.h"
-#include "DownloadContext.h"
-#include "RequestGroupMan.h"
-#include "FileAllocationEntry.h"
-#include "CheckIntegrityEntry.h"
-#include "ServerStatMan.h"
 
 namespace aria2 {
 

+ 0 - 4
src/LpdReceiveMessageCommand.cc

@@ -43,10 +43,6 @@
 #include "RequestGroup.h"
 #include "BtRegistry.h"
 #include "Logger.h"
-#include "PieceStorage.h"
-#include "BtRuntime.h"
-#include "BtProgressInfoFile.h"
-#include "BtAnnounce.h"
 #include "LpdMessage.h"
 #include "bittorrent_helper.h"
 #include "util.h"

+ 0 - 4
src/MultiUrlRequestInfo.cc

@@ -54,11 +54,7 @@
 #include "File.h"
 #include "Netrc.h"
 #include "AuthConfigFactory.h"
-#include "DownloadContext.h"
 #include "SessionSerializer.h"
-#include "ServerStatMan.h"
-#include "FileAllocationEntry.h"
-#include "CheckIntegrityEntry.h"
 #include "TimeA2.h"
 #ifdef ENABLE_SSL
 # include "SocketCore.h"

+ 0 - 5
src/PeerAbstractCommand.cc

@@ -45,11 +45,6 @@
 #include "StringFormat.h"
 #include "wallclock.h"
 #include "util.h"
-#include "RequestGroupMan.h"
-#include "FileAllocationEntry.h"
-#include "CheckIntegrityEntry.h"
-#include "ServerStatMan.h"
-#include "FileEntry.h"
 
 namespace aria2 {
 

+ 0 - 5
src/PeerChokeCommand.cc

@@ -36,11 +36,6 @@
 #include "DownloadEngine.h"
 #include "BtRuntime.h"
 #include "PeerStorage.h"
-#include "RequestGroupMan.h"
-#include "FileAllocationEntry.h"
-#include "CheckIntegrityEntry.h"
-#include "ServerStatMan.h"
-#include "FileEntry.h"
 
 namespace aria2 {
 

+ 0 - 2
src/PeerInteractionCommand.cc

@@ -69,8 +69,6 @@
 #include "DHTMessageCallback.h"
 #include "PieceStorage.h"
 #include "RequestGroup.h"
-#include "BtAnnounce.h"
-#include "BtProgressInfoFile.h"
 #include "DefaultExtensionMessageFactory.h"
 #include "RequestGroupMan.h"
 #include "ExtensionMessageRegistry.h"

+ 0 - 1
src/PeerReceiveHandshakeCommand.cc

@@ -45,7 +45,6 @@
 #include "PeerStorage.h"
 #include "PieceStorage.h"
 #include "BtRuntime.h"
-#include "BtAnnounce.h"
 #include "BtConstants.h"
 #include "message.h"
 #include "Socket.h"

+ 0 - 5
src/RealtimeCommand.cc

@@ -36,11 +36,6 @@
 #include "DownloadEngine.h"
 #include "Exception.h"
 #include "RequestGroup.h"
-#include "DownloadContext.h"
-#include "RequestGroupMan.h"
-#include "FileAllocationEntry.h"
-#include "CheckIntegrityEntry.h"
-#include "ServerStatMan.h"
 
 namespace aria2 {
 

+ 0 - 2
src/RequestGroup.cc

@@ -76,9 +76,7 @@
 #include "a2functional.h"
 #include "SocketCore.h"
 #include "SimpleRandomizer.h"
-#include "ServerStatMan.h"
 #include "Segment.h"
-#include "FileAllocationEntry.h"
 #ifdef ENABLE_MESSAGE_DIGEST
 # include "CheckIntegrityCommand.h"
 # include "ChecksumCheckIntegrityEntry.h"

+ 0 - 1
src/SessionSerializer.cc

@@ -38,7 +38,6 @@
 #include <iterator>
 
 #include "RequestGroupMan.h"
-#include "ServerStatMan.h"
 #include "a2functional.h"
 #include "File.h"
 #include "A2STR.h"

+ 0 - 5
src/SleepCommand.cc

@@ -35,12 +35,7 @@
 #include "SleepCommand.h"
 #include "RequestGroup.h"
 #include "DownloadEngine.h"
-#include "DownloadContext.h"
 #include "wallclock.h"
-#include "RequestGroupMan.h"
-#include "FileAllocationEntry.h"
-#include "CheckIntegrityEntry.h"
-#include "ServerStatMan.h"
 
 namespace aria2 {
 

+ 0 - 3
src/StreamCheckIntegrityEntry.cc

@@ -36,9 +36,6 @@
 #include "RequestGroup.h"
 #include "DownloadEngine.h"
 #include "StreamFileAllocationEntry.h"
-#include "DownloadContext.h"
-#include "RequestGroupMan.h"
-#include "ServerStatMan.h"
 
 namespace aria2 {
 

+ 0 - 3
src/StreamFileAllocationEntry.cc

@@ -42,9 +42,6 @@
 #include "RequestGroup.h"
 #include "DownloadContext.h"
 #include "Command.h"
-#include "RequestGroupMan.h"
-#include "CheckIntegrityEntry.h"
-#include "ServerStatMan.h"
 #include "PeerStat.h"
 #include "FileEntry.h"
 

+ 0 - 5
src/XmlRpcMethod.cc

@@ -46,11 +46,6 @@
 #include "XmlRpcResponse.h"
 #include "prefs.h"
 #include "StringFormat.h"
-#include "RequestGroupMan.h"
-#include "FileAllocationEntry.h"
-#include "CheckIntegrityEntry.h"
-#include "ServerStatMan.h"
-#include "FileEntry.h"
 #include "DlAbortEx.h"
 
 namespace aria2 {

+ 0 - 5
src/XmlRpcMethodImpl.cc

@@ -54,7 +54,6 @@
 #include "DownloadContext.h"
 #include "DiskAdaptor.h"
 #include "FileEntry.h"
-#include "BtProgressInfoFile.h"
 #include "prefs.h"
 #include "message.h"
 #include "FeatureConfig.h"
@@ -63,10 +62,6 @@
 #include "XmlRpcResponse.h"
 #include "SegmentMan.h"
 #include "TimedHaltCommand.h"
-#include "ServerStatMan.h"
-#include "FileAllocationEntry.h"
-#include "CheckIntegrityEntry.h"
-#include "Segment.h"
 #ifdef ENABLE_BITTORRENT
 # include "bittorrent_helper.h"
 # include "BtRegistry.h"