summaryrefslogtreecommitdiff
path: root/TAO/tao/QtResource/QtResource_Loader.cpp
blob: c63dd54e4dc0d5d454a30d996a23505f87ec0a2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//$Id$
#include "tao/QtResource/QtResource_Loader.h"
#include "tao/ORB_Core.h"
#include "tao/QtResource/QtResource_Factory.h"

ACE_RCSID( TAO_QtResource,
           QtResource_Loader,
           "$Id$");

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

namespace TAO
{
  QtResource_Loader::QtResource_Loader (QApplication *qapp)
  {
    QtResource_Factory *tmp = 0;

    ACE_NEW (tmp,
             QtResource_Factory (qapp));

    TAO_ORB_Core::set_gui_resource_factory (tmp);
  }

  QtResource_Loader::~QtResource_Loader (void)
  {
  }
}

TAO_END_VERSIONED_NAMESPACE_DECL