00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ___HxCorbaWebImageFactory_skel_h__
00016 #define ___HxCorbaWebImageFactory_skel_h__
00017
00018 #include <HxCorbaWebImageFactory.h>
00019
00020 #include <HxCorbaImageRep_skel.h>
00021
00022 #ifndef OB_INTEGER_VERSION
00023 # error No ORBacus version defined! Is <OB/CORBA.h> included?
00024 #endif
00025
00026 #ifndef OB_NO_VERSION_CHECK
00027 # if (OB_INTEGER_VERSION != 4010000L)
00028 # error ORBacus version mismatch!
00029 # endif
00030 #endif
00031
00032
00033
00034
00035 namespace POA_HxCorba
00036 {
00037
00038
00039
00040
00041 class WebImageFactory : virtual public PortableServer::ServantBase
00042 {
00043 WebImageFactory(const WebImageFactory&);
00044 void operator=(const WebImageFactory&);
00045
00046 protected:
00047
00048
00049
00050
00051 void _OB_op_makeImageFromURL(OB::Upcall_ptr);
00052
00053 public:
00054
00055 WebImageFactory() { }
00056
00057 virtual CORBA::Boolean _is_a(const char*)
00058 throw(CORBA::SystemException);
00059
00060 virtual CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
00061 PortableServer::POA_ptr);
00062
00063 HxCorba::WebImageFactory_ptr _this();
00064
00065 virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
00066 const PortableServer::ObjectId&);
00067 virtual void _OB_dispatch(OB::Upcall_ptr);
00068
00069
00070
00071
00072 virtual HxCorba::ImageData_ptr makeImageFromURL(const char* url)
00073 throw(CORBA::SystemException) = 0;
00074 };
00075
00076 }
00077
00078
00079
00080
00081 namespace OBDirectStubImpl_HxCorba
00082 {
00083
00084
00085
00086
00087 class WebImageFactory : virtual public OBStubImpl_HxCorba::WebImageFactory,
00088 virtual public OB::DirectStubImpl
00089 {
00090 WebImageFactory(const WebImageFactory&);
00091 void operator=(const WebImageFactory&);
00092
00093 protected:
00094
00095 #ifdef HAVE_VCPLUSPLUS_BUGS
00096
00097 WebImageFactory() { }
00098
00099 #endif
00100
00101 WebImageFactory(PortableServer::POA_ptr,
00102 const PortableServer::ObjectId&,
00103 PortableServer::ServantBase*);
00104
00105 friend class POA_HxCorba::WebImageFactory;
00106
00107 public:
00108
00109
00110
00111
00112 virtual HxCorba::ImageData_ptr makeImageFromURL(const char* url);
00113 };
00114
00115 }
00116
00117 #endif