1 // DCCManager.H -*- C++ -*-
2 // Copyright (c) 2002 Clinton Ebadi
4 // This program is free software; you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation; either version 2 of the License, or
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // You should have received a copy of the GNU General Public License
15 // along with this program; if not, write to the Free Software
16 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 #include "DCCPerson.H"
24 #include "DCCConnection.H"
25 #include "UserCommands.H"
28 typedef std::map<String, DCCPerson*, std::less<String> > DCC_MAP;
30 // Manages all active DCC connections and allows you to send a message
31 // to each one using the string representation of the user's address
36 void addConnection (DCCConnection*);
37 bool sendMessage (String, String);
40 void checkInput (int);
42 void checkInput (fd_set);
48 UserCommands::DCCList (ServerConnection *, Person *,