Imports.h

Go to the documentation of this file.
00001 /*
00002 
00003 Copyright (C) 2006-2007 by Peter Dimov.
00004 
00005 This file is part of Calitko (http://www.calitko.org).
00006 
00007 Calitko is free software; you can redistribute it and/or modify
00008 it under the terms of the GNU General Public License as published by
00009 the Free Software Foundation; either version 2 of the License, or
00010 (at your option) any later version.
00011 
00012 Calitko is distributed in the hope that it will be useful,
00013 but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 GNU General Public License for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with Calitko; if not, write to the Free Software
00019 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00020 
00021 */
00022 
00023 #ifndef PROTOCOLS__BIT_TORRENT__TRANSFERS__IMPORTS_H
00024 #define PROTOCOLS__BIT_TORRENT__TRANSFERS__IMPORTS_H
00025 
00026 // \todo many of these could actually be substituted with forward declaratons
00027 // because most are needed as const &, so Imports.cpp could include the headers.
00028 #include "../Packets/PacketProtocol.h"
00029 #include "../Packets/BitField.h"
00030 #include "../Packets/Choke.h"
00031 #include "../Packets/Have.h"
00032 #include "../Packets/HaveAll.h"
00033 #include "../Packets/HaveNone.h"
00034 #include "../Packets/Unchoke.h"
00035 #include "../Packets/Interested.h"
00036 #include "../Packets/NotInterested.h"
00037 #include "../Packets/Piece.h"
00038 #include "../Torrents/Torrent.h"
00039 #include "../Trackers/PeerInfo.h"
00040 #include "Protocols/Generics/GenericSession.h"
00041 #include "Protocols/Generics/FifoQueue.h"
00042 #include "Protocols/Generics/PacketSerializer.h"
00043 #include "Protocols/Generics/Session.h"
00044 #include "Protocols/Generics/SessionStatus.h"
00045 #include "Protocols/Generics/Transport.h"
00046 #include "Protocols/Generics/TransportStatus.h"
00047 #include "Protocols/Transports/NodeAddress.h"
00048 #include "Utils/Callable.h"
00049 #include "Utils/Uri.h"
00050 #include "Utils/ObjectDispatcher.h"
00051 
00052 namespace Protocols {
00053 namespace BitTorrent {
00054 namespace Transfers {
00055 
00056     using namespace Packets;
00057     using Torrents::Torrent;
00058     using Trackers::PeerInfo;
00059 
00060     using Protocols::Generics::Data;
00061     using Protocols::Generics::GenericSession;
00062     using Protocols::Generics::FifoQueue;
00063     using Protocols::Generics::PacketSerializer;
00064     using Protocols::Generics::Session;
00065     using Protocols::Generics::SessionStatus;
00066     using Protocols::Generics::Transport;
00067     using Protocols::Generics::TransportStatus;
00068     using Protocols::Transports::NodeAddress;
00069     using Utils::Callable;
00070     using Utils::Uri;
00071     using Utils::ObjectDispatcher;
00072 
00073 } // namespace Transfers
00074 } // namespace BitTorrent
00075 } // namespace Protocols
00076 
00077 #endif // PROTOCOLS__BIT_TORRENT__TRANSFERS__IMPORTS_H