ed2kfwd.h

Go to the documentation of this file.
00001 /**
00002  *  Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net>
00003  *
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  This program is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with this program; if not, write to the Free Software
00016  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00017  */
00018 
00019 /** @file ed2kfwd.h Forward declarations of ED2K module classes */
00020 
00021 #ifndef __ED2KFWD_H__
00022 #define __ED2KFWD_H__
00023 
00024 class ED2K;
00025 class ED2KConfig;
00026 class ServerList;
00027 class CreditsDb;
00028 class Credits;
00029 class Client;
00030 class ClientList;
00031 class Download;
00032 class DownloadList;
00033 
00034 template<typename T> class ED2KParser;
00035 namespace ED2KPacket {
00036         class LoginRequest;
00037         class ServerMessage;
00038         class ServerStatus;
00039         class IdChange;
00040         class GetServerList;
00041         class ServerIdent;
00042         class ServerList;
00043         class OfferFiles;
00044         class Search;
00045         class SearchResult;
00046         class ReqCallback;
00047         class CallbackReq;
00048         class ReqSources;
00049         class FoundSources;
00050         class GlobGetSources;
00051         class GlobFoundSources;
00052         class GlobStatReq;
00053         class GlobStatRes;
00054         class Hello;
00055         class HelloAnswer;
00056         class MuleInfo;
00057         class MuleInfoAnswer;
00058         class ReqFile;
00059         class FileName;
00060         class FileDesc;
00061         class SetReqFileId;
00062         class NoFile;
00063         class FileStatus;
00064         class ReqHashSet;
00065         class HashSet;
00066         class StartUploadReq;
00067         class AcceptUploadReq;
00068         class QueueRanking;
00069         class MuleQueueRank;
00070         class ReqChunks;
00071         class DataChunk;
00072         class PackedChunk;
00073         class CancelTransfer;
00074         class SourceExchReq;
00075         class AnswerSources;
00076         class Message;
00077         class ChangeId;
00078         class SecIdentState;
00079         class PublicKey;
00080         class Signature;
00081         class ReaskFilePing;
00082         class QueueFull;
00083         class ReaskAck;
00084         class FileNotFound;
00085         class PortTest;
00086 }
00087 namespace Detail {
00088         class QueueInfo;
00089         class UploadInfo;
00090         class SourceInfo;
00091         class DownloadInfo;
00092 
00093         //! Client class extension types
00094         //!@{
00095         typedef boost::shared_ptr<QueueInfo   > QueueInfoPtr;
00096         typedef boost::shared_ptr<UploadInfo  > UploadInfoPtr;
00097         typedef boost::shared_ptr<SourceInfo  > SourceInfoPtr;
00098         typedef boost::shared_ptr<DownloadInfo> DownloadInfoPtr;
00099         //!@}
00100 }
00101 
00102 #endif