Commit 9d7fad9b authored by louiz’'s avatar louiz’

Do all includes with <> instead of "". We just need to pass the -Isrc/ option...

Do all includes with <> instead of "". We just need to pass the -Isrc/ option to the compiler, or equivalent.
parent f7413b8a
#include "config.hpp"
#include <config/config.hpp>
Config* Config::instance = 0;
......
#include "database.hpp"
#include "../logging/logging.hpp"
#include "../config/config.hpp"
#include <database/database.hpp>
#include <logging/logging.hpp>
#include <config/config.hpp>
Database* Database::instance = 0;
......
......@@ -17,7 +17,7 @@
#include <vector>
#include <map>
#include "db_object.hpp"
#include <database/db_object.hpp>
#ifndef __DATABASE_HPP__
# define __DATABASE_HPP__
......
#include "db_object.hpp"
#include "database.hpp"
#include "../logging/logging.hpp"
#include <database/db_object.hpp>
#include <database/database.hpp>
#include <logging/logging.hpp>
DbObject::DbObject() {}
......
#include "user.hpp"
#include "database.hpp"
#include "../logging/logging.hpp"
#include <database/user.hpp>
#include <database/database.hpp>
#include <logging/logging.hpp>
User::User() {}
......
......@@ -9,7 +9,7 @@
#include <vector>
#include "db_object.hpp"
#include <database/db_object.hpp>
#ifndef __USER_HPP__
# define __USER_HPP__
......
#include "game.hpp"
#include "../logging/logging.hpp"
#include <game/game.hpp>
#include <logging/logging.hpp>
#include <unistd.h>
......
// The main class for the game itself
// Network
#include "client.hpp"
#include <network/client.hpp>
#ifndef __GAME_HPP__
# define __GAME_HPP__
......
#include "logging.hpp"
#include <logging/logging.hpp>
Logger* Logger::instance = 0;
......
#include "../config/config.hpp"
#include <config/config.hpp>
#include <iostream>
......
#include "client.hpp"
#include <network/client.hpp>
Client::Client()
{
......
#include "command_handler.hpp"
#include <network/command_handler.hpp>
#include <boost/asio.hpp>
#include <boost/function.hpp>
......
#include "command_handler.hpp"
#include <network/command_handler.hpp>
CommandHandler::CommandHandler()
{
......
......@@ -3,7 +3,7 @@
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include "../logging/logging.hpp"
#include <logging/logging.hpp>
#ifndef __COMMAND_HANDLER_HPP__
# define __COMMAND_HANDLER_HPP__
......
#include <istream>
#include "server.hpp"
#include "remote_client.hpp"
#include <network/server.hpp>
#include <network/remote_client.hpp>
// main de test
int main(void)
......
#include "remote_client.hpp"
#include <network/remote_client.hpp>
int RemoteClient::clients_number = 0;
......
#include "command_handler.hpp"
#include <network/command_handler.hpp>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
......
#include <istream>
#include "server.hpp"
#include "remote_client.hpp"
#include <network/server.hpp>
#include <network/remote_client.hpp>
Server::Server(short port):
port(port)
......
......@@ -4,7 +4,7 @@
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include "remote_client.hpp"
#include <network/remote_client.hpp>
#ifndef __SERVER_HPP__
# define __SERVER_HPP__
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment