diff options
Diffstat (limited to 'TAO/tao/qt_resource.cpp')
-rw-r--r-- | TAO/tao/qt_resource.cpp | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/TAO/tao/qt_resource.cpp b/TAO/tao/qt_resource.cpp deleted file mode 100644 index bf99121ac54..00000000000 --- a/TAO/tao/qt_resource.cpp +++ /dev/null @@ -1,41 +0,0 @@ -//$Id$ -#include "tao/qt_resource.h" - -#if defined (ACE_HAS_QT) - -#if !defined (__ACE_INLINE__) -# include "qt_resource.i" -#endif /* ! __ACE_INLINE__ */ - -QApplication *TAO_QtResource_Factory::qapp_ = 0 ; - -ACE_Reactor_Impl * -TAO_QtResource_Factory::allocate_reactor_impl (void) const -{ - if (this->qapp_ == 0) - return 0; - - ACE_Reactor_Impl *impl = 0; - - ACE_NEW_RETURN(impl, - ACE_QtReactor (qapp_), - 0); - return impl; -} - -void -TAO_QtResource_Factory::set_context (QApplication *qapp) -{ - TAO_QtResource_Factory::qapp_ = qapp; -} - -ACE_STATIC_SVC_DEFINE (TAO_QtResource_Factory, - ASYS_TEXT ("QtResource_Factory"), - ACE_SVC_OBJ_T, - &ACE_SVC_NAME (TAO_QtResource_Factory), - ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ, - 0) - -ACE_FACTORY_DEFINE (TAO, TAO_QtResource_Factory) - -#endif /* ACE_HAS_QT */ |