5 #ifndef __CORBA_H_EXTERNAL_GUARD__
6 #include <omniORB4/CORBA.h>
9 #ifndef USE_stub_in_nt_dll
10 # define USE_stub_in_nt_dll_NOT_DEFINED_Writer
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_Writer
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_Writer
24 #ifdef USE_stub_in_nt_dll
25 # ifndef USE_core_stub_in_nt_dll
26 # define USE_core_stub_in_nt_dll
28 # ifndef USE_dyn_stub_in_nt_dll
29 # define USE_dyn_stub_in_nt_dll
34 # error "A local CPP macro _core_attr has already been defined."
36 # ifdef USE_core_stub_in_nt_dll
37 # define _core_attr _OMNIORB_NTDLL_IMPORT
44 # error "A local CPP macro _dyn_attr has already been defined."
46 # ifdef USE_dyn_stub_in_nt_dll
47 # define _dyn_attr _OMNIORB_NTDLL_IMPORT
61 #ifndef __Writer_mmWriter__
62 #define __Writer_mmWriter__
79 static void marshalObjRef(
_ptr_type, cdrStream&);
80 static _ptr_type unmarshalObjRef(cdrStream&);
83 typedef _CORBA_ObjRef_Var<_objref_mWriter, mWriter_Helper> mWriter_var;
84 typedef _CORBA_ObjRef_OUT_arg<_objref_mWriter,mWriter_Helper > mWriter_out;
93 typedef mWriter_var _var_type;
96 static _ptr_type _narrow(::CORBA::Object_ptr);
97 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
101 static inline void _marshalObjRef(
_ptr_type, cdrStream&);
103 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
104 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
106 return (
_ptr_type) o->_ptrToObjRef(_PD_repoId);
111 static _core_attr
const char* _PD_repoId;
118 public virtual ::CORBA::Object,
119 public virtual omniObjRef
122 ::CORBA::Float oCurrentCursorPositionX();
123 ::CORBA::Float oCurrentCursorPositionY();
124 void gotoStart(::CORBA::Boolean sel);
125 void gotoEnd(::CORBA::Boolean sel);
126 void gotoStartOfLine(::CORBA::Boolean sel);
127 void gotoEndOfLine(::CORBA::Boolean sel);
137 virtual void* _ptrToObjRef(
const char*);
148 inline _pof_mWriter() : _OMNI_NS(proxyObjectFactory)(mWriter::_PD_repoId) {}
151 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
152 virtual _CORBA_Boolean is_a(
const char*)
const;
156 public virtual omniServant
161 virtual ::CORBA::Float oCurrentCursorPositionX() = 0;
162 virtual ::CORBA::Float oCurrentCursorPositionY() = 0;
163 virtual void gotoStart(::CORBA::Boolean sel) = 0;
164 virtual void gotoEnd(::CORBA::Boolean sel) = 0;
165 virtual void gotoStartOfLine(::CORBA::Boolean sel) = 0;
166 virtual void gotoEndOfLine(::CORBA::Boolean sel) = 0;
169 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
172 virtual void* _ptrToInterface(
const char*);
173 virtual const char* _mostDerivedRepoId();
178 _CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_mWriter;
184 _CORBA_MODULE POA_Writer
188 public virtual Writer::_impl_mWriter,
189 public virtual ::PortableServer::ServantBase
194 inline ::Writer::mWriter_ptr _this() {
195 return (::Writer::mWriter_ptr) _do_this(::Writer::mWriter::_PD_repoId);
203 _CORBA_MODULE OBV_Writer
215 void operator<<=(::CORBA::Any& _a, Writer::mWriter_ptr _s);
216 void operator<<=(::CORBA::Any& _a, Writer::mWriter_ptr* _s);
217 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, Writer::mWriter_ptr& _s);
222 Writer::mWriter::_marshalObjRef(::Writer::mWriter_ptr obj, cdrStream& s) {
223 omniObjRef::_marshal(obj->_PR_getobj(),s);
229 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_Writer
230 # undef USE_stub_in_nt_dll
231 # undef USE_stub_in_nt_dll_NOT_DEFINED_Writer
233 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_Writer
234 # undef USE_core_stub_in_nt_dll
235 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_Writer
237 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_Writer
238 # undef USE_dyn_stub_in_nt_dll
239 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_Writer
242 #endif // __Writer_hh__