Skip to content

Commit

Permalink
Add TODO.txt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oberon00 committed Jul 25, 2013
1 parent 0cf6a53 commit 2315b04
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions TODO.txt
Original file line number Diff line number Diff line change
@@ -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 <luabind/operator.hpp>
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.

0 comments on commit 2315b04

Please sign in to comment.