From: Mathnerd314 Date: Wed, 24 Sep 2008 01:54:25 +0000 (+0000) Subject: Addon include fixes. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d3be1cc7c63d3f8487a26050526802bb76b14e1c;p=supertux.git Addon include fixes. Addon has no need to know anything about AddonManager, so removed those includes. SVN-Revision: 5782 --- diff --git a/src/addon/addon.cpp b/src/addon/addon.cpp index 377116140..ff3ea215c 100644 --- a/src/addon/addon.cpp +++ b/src/addon/addon.cpp @@ -27,7 +27,6 @@ #include "lisp/writer.hpp" #include "lisp/parser.hpp" #include "addon/addon.hpp" -#include "addon/addon_manager.hpp" #include "log.hpp" #include "addon/md5.hpp" diff --git a/src/addon/addon.hpp b/src/addon/addon.hpp index a07be26de..1b5f4f38e 100644 --- a/src/addon/addon.hpp +++ b/src/addon/addon.hpp @@ -29,8 +29,6 @@ class Writer; class Lisp; } -#include "addon/addon_manager.hpp" - /** * Represents an (available or installed) Add-on, e.g. a level set */ diff --git a/src/addon/addon_manager.hpp b/src/addon/addon_manager.hpp index 26c80f4ef..0b4889a62 100644 --- a/src/addon/addon_manager.hpp +++ b/src/addon/addon_manager.hpp @@ -23,7 +23,12 @@ #include #include -#include "addon/addon.hpp" +namespace lisp { +class Lisp; +class Writer; +} + +class Addon; /** * Checks for, installs and removes Add-ons