Introduce the concept of plugin interface.
commit0e3ef5c33ed0fa79d3fd3b61288d76079d780fc5
authorPaolo Capriotti <p.capriotti@gmail.com>
Fri, 26 Jun 2009 07:55:58 +0000 (26 09:55 +0200)
committerPaolo Capriotti <p.capriotti@gmail.com>
Fri, 26 Jun 2009 07:55:58 +0000 (26 09:55 +0200)
tree7254c0ed0cec4c500a98f689e4b3c6f57472fc94
parentb68593dbbf6265672ad0e19c7288124fcb2b3ef9
Introduce the concept of plugin interface.

A plugin interface is a loose set of requirements a plugin must comply to.
Plugins declare the interface they implement in their initialization line.
15 files changed:
lib/board/table.rb
lib/factory.rb
lib/games/chess/main.rb
lib/mainwindow.rb
lib/plugins/celtic/celtic.rb
lib/plugins/clocks/digital.rb
lib/plugins/fantasy/fantasy.rb
lib/plugins/games/chess.rb [new file with mode: 0644]
lib/plugins/games/shogi.rb [new file with mode: 0644]
lib/plugins/layouts/cool/cool.rb
lib/plugins/loader.rb
lib/plugins/movelist/simple_movelist.rb
lib/plugins/plugin.rb
lib/plugins/shogi/shogi.rb
lib/plugins/squares/default.rb