Module: Uno::UnoBase

Overview

This is base module which is used to define UNO component, just include this module like the following:

class MyListener
   include Uno::UnoBase
   include ...other interfaces
end

The adapter needs to know its types (interfaces) are implemented by the component, therefore methods of this module provide it. If it should be class itself, implement XTypeProvider interface to the class.

Instance Method Summary collapse

Instance Method Details

#getImplementationIdObject



101
102
103
# File 'lib/rubyuno/uno.rb', line 101

def getImplementationId
  return Uno::UNO_TYPES.id self.class
end

#getTypesObject



97
98
99
# File 'lib/rubyuno/uno.rb', line 97

def getTypes
  return Uno::UNO_TYPES.types self.class
end