lib/jruby-win32ole.rb in jruby-win32ole-0.8.0 vs lib/jruby-win32ole.rb in jruby-win32ole-0.8.1
- old
+ new
@@ -8,27 +8,13 @@
require 'racob.jar'
require 'win32ole/win32ole' # <- java native impl of WIN32OLE
require 'win32ole/win32ole_ruby' # <- ruby impl of WIN32OLE
-java_import java.util.Calendar
+java_import org.racob.com.Variant # Needed for static native initializer :(
-java_import org.racob.com.Variant
-java_import org.racob.com.Automation
-java_import org.racob.com.ComFailException
-java_import org.racob.com.ComThread
-java_import org.racob.com.Dispatch
-java_import org.racob.com.DispatchEvents
-java_import org.racob.com.EnumVariant
-java_import org.racob.com.FuncDesc
-java_import org.racob.com.TypeInfo
-java_import org.racob.com.TypeLib
-java_import org.racob.com.VarDesc
-java_import org.racob.com.VariantUtilities
-
java_import org.jruby.ext.win32ole.RubyWIN32OLE
java_import org.jruby.ext.win32ole.RubyInvocationProxy
-
require 'win32ole/win32ole_error'
require 'win32ole/win32ole_method'
require 'win32ole/win32ole_variant'
require 'win32ole/win32ole_variable'