[Improve include dependencies clinton@unknownlamer.org**20081115230429 Working on the bot was a bit intolerable as almost everything unnecessarily depended on just about everything else. This has been rectified reducing rebuild time quite a bit. ] { hunk ./source/Bot.C 20 -#include -#include -#include hunk ./source/Bot.C 23 + +#include +#include +#include + hunk ./source/Bot.C 34 +#ifdef USESCRIPTS +#include +#endif + hunk ./source/Bot.C 41 -#include "StringTokenizer.H" +#include "ChannelList.H" +#include "DCCManager.H" +#include "DCCPerson.H" +#include "Parser.H" +#include "Person.H" +#include "Server.H" hunk ./source/Bot.C 48 -#include "Utils.H" +#include "ServerList.H" +#include "ShitList.H" +#include "StringTokenizer.H" +#include "TodoList.H" +#include "User.H" hunk ./source/Bot.C 54 -#include "DCCManager.H" +#include "UserList.H" +#include "Utils.H" + hunk ./source/Bot.C 58 +#ifdef USESCRIPTS +#include "BotInterp.H" +#include "Interp.H" +#endif hunk ./source/Bot.H 33 -#include "Person.H" -#include "ServerList.H" -#include "ChannelList.H" -#include "UserList.H" -#include "ShitList.H" -#include "TodoList.H" -#include "Parser.H" - -#ifdef USESCRIPTS -#include "BotInterp.H" -#include -#endif hunk ./source/Bot.H 38 +class ChannelList; +class Commands; hunk ./source/Bot.H 41 -class Parser; -class DCCParser; hunk ./source/Bot.H 42 +class DCCParser; +class Parser; +class Person; hunk ./source/Bot.H 46 -class Commands; +class ServerList; +class ShitList; +class TodoList; +class UserList; hunk ./source/Bot.H 52 +class userFunction; +class wantedChannel; + +#ifdef USESCRIPTS +class BotInterp; +#endif + hunk ./source/BotInterp.C 26 -#include "Utils.H" -#include "Bot.H" hunk ./source/BotInterp.C 28 +#include "Bot.H" +#include "Interp.H" +#include "Utils.H" + + hunk ./source/BotInterp.H 29 -#include hunk ./source/BotInterp.H 34 +#include + hunk ./source/Channel.C 24 +#include "Channel.H" + hunk ./source/Channel.C 28 +#include "BanEntry.H" +#include "Bot.H" hunk ./source/Channel.C 31 -#include "Utils.H" -#include "Channel.H" +#include "Person.H" +#include "ServerConnection.H" +#include "ShitEntry.H" +#include "ShitList.H" hunk ./source/Channel.C 36 +#include "User.H" +#include "Utils.H" + hunk ./source/Channel.H 27 -#include "User.H" -#include "Person.H" -#include "ServerConnection.H" -#include "BanEntry.H" +#include "String.H" hunk ./source/Channel.H 29 +class BanEntry; hunk ./source/Channel.H 31 -class Parser; hunk ./source/Channel.H 32 +class Parser; +class Person; +class ServerConnection; +class User; hunk ./source/Channel.H 37 +class UserList; + hunk ./source/ChannelList.C 24 +#include "ServerConnection.H" + hunk ./source/ChannelList.H 25 -#include "String.H" -#include "ServerConnection.H" hunk ./source/ChannelList.H 26 +#include "String.H" hunk ./source/ChannelList.H 29 +class ServerConnection; hunk ./source/Commands.C 20 +#include "Commands.H" + +#include "BanEntry.H" +#include "Bot.H" +#include "ChannelList.H" hunk ./source/Commands.C 27 -#include "Commands.H" -#include "Utils.H" +#include "Server.H" +#include "ServerConnection.H" +#include "ServerList.H" +#include "ServerQueueItem.H" +#include "ShitEntry.H" +#include "ShitList.H" hunk ./source/Commands.C 34 +#include "TodoList.H" +#include "User.H" +#include "UserList.H" +#include "Utils.H" + +#ifdef USESCRIPTS +#include "BotInterp.H" +#endif hunk ./source/Commands.H 26 -#include "Message.H" -#include "Bot.H" -#include "ServerConnection.H" + +class Bot; +class Message; hunk ./source/Connection.H 21 -#include "String.H" hunk ./source/Connection.H 22 +#include "String.H" hunk ./source/DCCChatConnection.C 19 +#include "DCCChatConnection.H" + hunk ./source/DCCChatConnection.C 24 -#include "Socket.H" hunk ./source/DCCChatConnection.C 25 -#include "DCCChatConnection.H" +#include "DCCPerson.H" hunk ./source/DCCChatConnection.C 27 -#include "BotInterp.H" +#include "Socket.H" +#include "User.H" hunk ./source/DCCChatConnection.C 31 +#ifdef USESCRIPTS +#include "BotInterp.H" +#endif + + hunk ./source/DCCChatConnection.H 23 -#include "Connection.H" -#include "Bot.H" -#include "DCCPerson.H" hunk ./source/DCCChatConnection.H 24 +#include "String.H" hunk ./source/DCCChatConnection.H 26 +class Bot; hunk ./source/DCCConnection.C 19 +#include "DCCConnection.H" + hunk ./source/DCCConnection.C 22 -#include hunk ./source/DCCConnection.C 23 -#include "Socket.H" -#include "DCCParser.H" -#include "DCCConnection.H" -#include "Person.H" -#include "BotInterp.H" -#include "Utils.H" +#include "String.H" hunk ./source/DCCConnection.H 25 -#include "Connection.H" hunk ./source/DCCConnection.H 26 -#include "DCCPerson.H" - -class DCCPerson; -class UserCommands; +#include "Connection.H" hunk ./source/DCCManager.C 20 + +#include "DCCConnection.H" +#include "DCCPerson.H" +#include "UserCommands.H" hunk ./source/DCCManager.C 26 +#ifdef USESCRIPTS +#include "BotInterp.H" +#endif + hunk ./source/DCCManager.H 21 -#include hunk ./source/DCCManager.H 22 +#include hunk ./source/DCCManager.H 27 -#include "DCCPerson.H" -#include "DCCConnection.H" -#include "UserCommands.H" hunk ./source/DCCManager.H 28 +#include "UserCommands.H" + +class DCCConnection; +class DCCPerson; +class Person; +class ServerConnection; hunk ./source/DCCParser.C 25 + +#include "DCCConnection.H" hunk ./source/DCCParser.C 29 -#include "BotInterp.H" hunk ./source/DCCParser.C 31 +#ifdef USESCRIPTS +#include "BotInterp.H" +#endif + hunk ./source/DCCParser.H 22 -#include "DCCConnection.H" + +class DCCConnection; hunk ./source/DCCPerson.C 20 + +#include "DCCConnection.H" hunk ./source/DCCPerson.H 21 -#include "String.H" hunk ./source/DCCPerson.H 22 -#include "DCCConnection.H" +#include "String.H" hunk ./source/DCCPerson.H 25 +class DCCConnection; + hunk ./source/Interp.C 20 +#include "Interp.H" + +#ifdef USESCRIPTS + hunk ./source/Interp.C 28 -#ifdef USESCRIPTS +#include hunk ./source/Interp.C 30 -#include "Macros.H" -#include "Commands.H" -#include "Interp.H" +#include "Bot.H" hunk ./source/Interp.C 32 +#include "Commands.H" +#include "Macros.H" +#include "ScriptCommands.H" hunk ./source/Interp.C 36 - -#include +#include "User.H" hunk ./source/Interp.H 29 +#include + hunk ./source/Interp.H 35 -#include "Bot.H" -#include "ScriptCommands.H" -#include +#include "String.H" + +class Bot; hunk ./source/Main.C 24 +#include +#include + hunk ./source/Main.C 30 -#include + hunk ./source/Main.C 32 +#include hunk ./source/Main.C 37 -#include -#include - hunk ./source/Main.C 42 +#include "Parser.H" +#include "UserList.H" hunk ./source/Parser.C 24 +#include "Parser.H" + hunk ./source/Parser.C 27 + hunk ./source/Parser.C 31 -#include "StringTokenizer.H" -#include "Parser.H" -#include "UserCommands.H" +#ifdef USESCRIPTS +#include +#include "BotInterp.H" +#include "Interp.H" +#endif + +#include "Bot.H" +#include "Channel.H" +#include "ChannelList.H" hunk ./source/Parser.C 42 -#include "Utils.H" +#include "Message.H" +#include "Person.H" +#include "Server.H" +#include "ServerConnection.H" +#include "ServerList.H" +#include "ShitEntry.H" hunk ./source/Parser.C 49 +#include "StringTokenizer.H" +#include "UserCommands.H" +#include "User.H" +#include "UserList.H" +#include "Utils.H" + hunk ./source/Parser.H 22 +#include +#include + hunk ./source/Parser.H 29 -#include "String.H" -#include "Person.H" -#include "ServerConnection.H" - hunk ./source/Parser.H 30 -#include "Interp.H" hunk ./source/Parser.H 33 -#include -#include +#include "String.H" + +class Person; +class ServerConnection; hunk ./source/Person.C 20 +#include "Person.H" + hunk ./source/Person.C 23 +#include "ServerConnection.H" hunk ./source/Person.C 25 -#include "Person.H" hunk ./source/ScriptCommands.C 26 -#include "Utils.H" -#include "Server.H" -#include "ServerList.H" -#include "ServerQueue.H" hunk ./source/ScriptCommands.C 27 -#include "Interp.H" -#include "DCCPerson.H" -#include "DCCManager.H" -#include "Parser.H" + +#include + +#include "Bot.H" +#include "BotInterp.H" hunk ./source/ScriptCommands.C 33 +#include "DCCManager.H" +#include "DCCPerson.H" +#include "Interp.H" hunk ./source/ScriptCommands.C 37 -#include +#include "Parser.H" +#include "Server.H" +#include "ServerConnection.H" +#include "ServerList.H" +#include "ServerQueue.H" +#include "User.H" +#include "Utils.H" hunk ./source/ScriptCommands.H 30 -#include "Commands.H" hunk ./source/ServerConnection.C 19 +#include "ServerConnection.H" + hunk ./source/ServerConnection.C 23 -#include "ServerConnection.H" -#include "Parser.H" hunk ./source/ServerConnection.C 24 +#include "Channel.H" +#include "Commands.H" +#include "Parser.H" +#include "Server.H" + hunk ./source/ServerConnection.H 28 -#include "Server.H" hunk ./source/ServerConnection.H 32 -class Parser; hunk ./source/ServerConnection.H 34 +class Parser; +class Server; hunk ./source/ServerConnection.H 37 + hunk ./source/ServerConnection.H 39 -class Interp; hunk ./source/ServerConnection.H 40 +class Interp; hunk ./source/ServerList.C 20 + +#include "Server.H" hunk ./source/ServerList.H 28 -#include "Server.H" +class Server; +class UserCommands; hunk ./source/ServerList.H 34 -class UserCommands; hunk ./source/ServerQueue.C 24 +#include "ServerQueue.H" + hunk ./source/ServerQueue.C 28 -#include "Interp.H" -#include "BotInterp.H" -#include "ServerQueue.H" +#include "Bot.H" +#include "ServerQueueItem.H" hunk ./source/ServerQueue.C 32 +#ifdef USESCRIPTS +#include "BotInterp.H" +#include "Interp.H" +#endif + hunk ./source/ServerQueue.H 26 -#include "String.H" hunk ./source/ServerQueue.H 27 -#include "ServerQueueItem.H" +#include "String.H" + +class ServerQueueItem; +class Socket; hunk ./source/ServerQueueItem.C 20 -#include "StringTokenizer.H" -#include "ServerQueue.H" hunk ./source/ServerQueueItem.C 22 +#include "ServerQueue.H" +#include "StringTokenizer.H" + hunk ./source/ServerQueueItem.H 21 + +#include "String.H" hunk ./source/ShitList.C 24 -#include +#include "ShitList.H" + hunk ./source/ShitList.C 28 -#include "ShitList.H" +#include + +#include "ShitEntry.H" hunk ./source/ShitList.H 24 + hunk ./source/ShitList.H 28 -#include "ShitEntry.H" hunk ./source/ShitList.H 29 +class ShitEntry; hunk ./source/Socket.C 21 -#include "Bot.H" + hunk ./source/Socket.C 34 +#include "Bot.H" + hunk ./source/Socket.H 20 - hunk ./source/String.C 20 -#include "Utils.H" + +#include +#include hunk ./source/String.C 27 -#include -#include + +#include "Utils.H" hunk ./source/StringTokenizer.C 20 + hunk ./source/StringTokenizer.C 22 + hunk ./source/TodoList.H 22 +#include hunk ./source/TodoList.H 24 + hunk ./source/TodoList.H 26 -#include hunk ./source/User.C 19 -#include "Utils.H" hunk ./source/User.C 21 +#include "UserListItem.H" +#include "Utils.H" + hunk ./source/User.H 22 -#include "UserListItem.H" hunk ./source/User.H 24 -class Parser; hunk ./source/User.H 26 +class Parser; hunk ./source/User.H 28 +class UserListItem; hunk ./source/UserCommands.C 24 +#include "UserCommands.H" + hunk ./source/UserCommands.C 29 + hunk ./source/UserCommands.C 33 + hunk ./source/UserCommands.C 52 +#include "BanEntry.H" +#include "Channel.H" +#include "ChannelList.H" hunk ./source/UserCommands.C 56 -#include "UserCommands.H" hunk ./source/UserCommands.C 58 -#include "Parser.H" +#include "DCCPerson.H" hunk ./source/UserCommands.C 60 +#include "Message.H" +#include "Parser.H" +#include "Person.H" +#include "ShitList.H" +#include "Server.H" +#include "ServerConnection.H" +#include "ServerList.H" +#include "ShitEntry.H" hunk ./source/UserCommands.C 69 +#include "TodoList.H" +#include "User.H" +#include "UserList.H" hunk ./source/UserCommands.C 73 -#include "ServerList.H" -#include "Server.H" + +#ifdef USESCRIPTS +#include "Interp.H" +#endif hunk ./source/UserCommands.H 23 -#include "Person.H" -#include "ServerConnection.H" hunk ./source/UserCommands.H 24 -#ifdef USESCRIPTS -#include "Interp.H" -#endif +class Person; +class ServerConnection; hunk ./source/UserListItem.H 29 -class User; -class UserList; hunk ./source/UserListItem.H 30 +class User; hunk ./source/UserListItem.H 32 +class UserList; hunk ./source/Utils.C 23 -#include -#include +#include "Utils.H" + hunk ./source/Utils.C 28 +#include +#include + hunk ./source/Utils.C 32 -#include "Utils.H" +#include "ChannelList.H" hunk ./source/Utils.C 34 +#include "User.H" +#include "UserList.H" hunk ./source/Utils.H 27 -#include hunk ./source/Utils.H 31 +#include + }