From 2315b04398d7e17d1b938c32470778fd615d788c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Neun=C3=BCller?= Date: Thu, 25 Jul 2013 14:42:14 +0200 Subject: [PATCH] Add TODO.txt. --- TODO.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 TODO.txt diff --git a/TODO.txt b/TODO.txt new file mode 100644 index 0000000..5d1bbe8 --- /dev/null +++ b/TODO.txt @@ -0,0 +1,19 @@ +TODO +==== + +Refactoring +----------- + +* Replace ServiceLocator with Dependency Injection or be at least so honest to + use ordinary globals instead (no need to derive from Component). +* Put (at least) core components in namespace jd to allow ADL: avoids ugly + forward declarations of operator<< before #include + and is good style anyway. +* Replace the FileSystem singleton with free functions in a namespace. +* StateManager / State needs to be completely rewritten: It's way to + complicated without providing any benefits and, worse, lowers flexibility. +* Maybe replace jd.connect with a Lua function <-> luabind::object() converter + so that jd.connect() is not necessary anymore and + fooComponent:connect_bar(f) can be used instead. +* Get rid of LuaComponent::bindLuaPart(): Maybe luabind::adopt() is now + capable of replacing it. \ No newline at end of file