2 require 'ext/extensions'
4 warn "ERROR: could not load extension library, some features may be missing"
8 $ext = $qApp.findChild(Qt::Object, "kaya extensions") if $qApp
10 # install fake implementations of the extension functions
13 def exp_blur(img, radius)
18 $ext.metaclass_eval do
19 define_method(:fake) { fake }
22 # conveniently install extension functions in the appropriate places
26 $ext.exp_blur(self, radius)