Add licence and installation instructions.
[kaya.git] / lib / plugins / celtic / celtic.rb
blob871d24fcc50a66edd588c01215dde2f0bdfcbb51
1 # Copyright (c) 2009 Paolo Capriotti <p.capriotti@gmail.com>
2
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
8 require 'qtutils'
9 require 'plugins/svg_theme'
11 class CelticTheme < SvgTheme
12   include Plugin
13   plugin :name => 'Celtic Pieces',
14          :interface => :pieces,
15          :keywords => %w(chess)
17   def initialize(opts = {})
18     super(opts)
19   end
21   def filename
22     File.join(File.dirname(__FILE__), 'celtic.svg')
23   end
24 end