# Python stubs generated by omniidl from .././../idl/SalomeApp_Engine.idl

import omniORB, _omnipy
from omniORB import CORBA, PortableServer
_0_CORBA = CORBA

_omnipy.checkVersion(3,0, __file__)

# #include "SALOME_Exception.idl"
import SALOME_Exception_idl
_0_SALOME = omniORB.openModule("SALOME")
_0_SALOME__POA = omniORB.openModule("SALOME__POA")
# #include "SALOME_GenericObj.idl"
import SALOME_GenericObj_idl
_0_SALOME = omniORB.openModule("SALOME")
_0_SALOME__POA = omniORB.openModule("SALOME__POA")
# #include "SALOMEDS.idl"
import SALOMEDS_idl
_0_SALOMEDS = omniORB.openModule("SALOMEDS")
_0_SALOMEDS__POA = omniORB.openModule("SALOMEDS__POA")
# #include "SALOME_PyNode.idl"
import SALOME_PyNode_idl
_0_Engines = omniORB.openModule("Engines")
_0_Engines__POA = omniORB.openModule("Engines__POA")
# #include "SALOME_Component.idl"
import SALOME_Component_idl
_0_Engines = omniORB.openModule("Engines")
_0_Engines__POA = omniORB.openModule("Engines__POA")

#
# Start of module "SalomeApp"
#
__name__ = "SalomeApp"
_0_SalomeApp = omniORB.openModule("SalomeApp", r".././../idl/SalomeApp_Engine.idl")
_0_SalomeApp__POA = omniORB.openModule("SalomeApp__POA", r".././../idl/SalomeApp_Engine.idl")


# interface Engine
_0_SalomeApp._d_Engine = (omniORB.tcInternal.tv_objref, "IDL:SalomeApp/Engine:1.0", "Engine")
omniORB.typeMapping["IDL:SalomeApp/Engine:1.0"] = _0_SalomeApp._d_Engine
_0_SalomeApp.Engine = omniORB.newEmptyClass()
class Engine (_0_Engines.Component, _0_SALOMEDS.Driver):
    _NP_RepositoryId = _0_SalomeApp._d_Engine[1]

    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")

    _nil = CORBA.Object._nil


_0_SalomeApp.Engine = Engine
_0_SalomeApp._tc_Engine = omniORB.tcInternal.createTypeCode(_0_SalomeApp._d_Engine)
omniORB.registerType(Engine._NP_RepositoryId, _0_SalomeApp._d_Engine, _0_SalomeApp._tc_Engine)

# Engine object reference
class _objref_Engine (_0_Engines._objref_Component, _0_SALOMEDS._objref_Driver):
    _NP_RepositoryId = Engine._NP_RepositoryId

    def __init__(self):
        _0_Engines._objref_Component.__init__(self)
        _0_SALOMEDS._objref_Driver.__init__(self)

    __methods__ = [] + _0_Engines._objref_Component.__methods__ + _0_SALOMEDS._objref_Driver.__methods__

omniORB.registerObjref(Engine._NP_RepositoryId, _objref_Engine)
_0_SalomeApp._objref_Engine = _objref_Engine
del Engine, _objref_Engine

# Engine skeleton
__name__ = "SalomeApp__POA"
class Engine (_0_Engines__POA.Component, _0_SALOMEDS__POA.Driver):
    _NP_RepositoryId = _0_SalomeApp.Engine._NP_RepositoryId


    _omni_op_d = {}
    _omni_op_d.update(_0_Engines__POA.Component._omni_op_d)
    _omni_op_d.update(_0_SALOMEDS__POA.Driver._omni_op_d)

Engine._omni_skeleton = Engine
_0_SalomeApp__POA.Engine = Engine
omniORB.registerSkeleton(Engine._NP_RepositoryId, Engine)
del Engine
__name__ = "SalomeApp"

#
# End of module "SalomeApp"
#
__name__ = "SalomeApp_Engine_idl"

_exported_modules = ( "SalomeApp", )

# The end.
