Introduce a menu engine and refactor the shell menu to use it
commit9b884985075919cb0792a776645019576a2c8400
authorKirill <kirillathome@gmail.com>
Mon, 5 Jan 2009 13:06:26 +0000 (5 08:06 -0500)
committerChristian MICHON <christian.michon@gmail.com>
Wed, 7 Jan 2009 22:21:33 +0000 (7 23:21 +0100)
tree7130e9979718774e19fde38a2bd6a8e753444070
parentaefd847e58c1a2efe4d7eecb3fe3d5f4ff145870
Introduce a menu engine and refactor the shell menu to use it

The menu handling is done with a simplified, table-driven menu engine.
Cheetah menu is implemented on top of that engine. Both the engine and
the Cheetah menu are platform-independant, but require their clients to
implement platform-specific API.

Supported items still include only Git GUI (outside of repo currently
appears as Git Clone if folder is selected, Git Init if file is selected,
but in all cases they just execute git gui).

Signed-off-by: Christian MICHON <christian.michon@gmail.com>
Makefile
cheetahmenu.c [new file with mode: 0644]
cheetahmenu.h [new file with mode: 0644]
menu.c
menuengine.c [new file with mode: 0644]
menuengine.h