mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 22:26:22 +00:00
Directory Structure [step 1]: moving files
working on #672 NOTE: This commit can't be compiled!!
This commit is contained in:
45
deps/acelite/ace/Dynamic_Service_Dependency.cpp
vendored
Normal file
45
deps/acelite/ace/Dynamic_Service_Dependency.cpp
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
#include "ace/ACE.h"
|
||||
#include "ace/DLL_Manager.h"
|
||||
#include "ace/Dynamic_Service_Dependency.h"
|
||||
#include "ace/Service_Config.h"
|
||||
#include "ace/Log_Category.h"
|
||||
|
||||
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
ACE_Dynamic_Service_Dependency::ACE_Dynamic_Service_Dependency (const ACE_TCHAR *principal)
|
||||
{
|
||||
this->init (ACE_Service_Config::current (), principal);
|
||||
}
|
||||
|
||||
ACE_Dynamic_Service_Dependency::ACE_Dynamic_Service_Dependency (const ACE_Service_Gestalt *cfg,
|
||||
const ACE_TCHAR *principal)
|
||||
{
|
||||
this->init (cfg, principal);
|
||||
}
|
||||
|
||||
|
||||
ACE_Dynamic_Service_Dependency::~ACE_Dynamic_Service_Dependency (void)
|
||||
{
|
||||
if (ACE::debug ())
|
||||
ACELIB_DEBUG ((LM_DEBUG,
|
||||
ACE_TEXT ("(%P|%t) DSD, this=%@ - destroying\n"),
|
||||
this));
|
||||
}
|
||||
|
||||
void
|
||||
ACE_Dynamic_Service_Dependency::init (const ACE_Service_Gestalt *cfg,
|
||||
const ACE_TCHAR *principal)
|
||||
{
|
||||
const ACE_Service_Type* st =
|
||||
ACE_Dynamic_Service_Base::find_i (cfg, principal,false);
|
||||
if (ACE::debug ())
|
||||
{
|
||||
ACELIB_DEBUG ((LM_DEBUG,
|
||||
ACE_TEXT ("(%P|%t) DSD, this=%@ - creating dependency on "), this));
|
||||
st->dump ();
|
||||
}
|
||||
this->tracker_ = st->dll ();
|
||||
}
|
||||
|
||||
|
||||
ACE_END_VERSIONED_NAMESPACE_DECL
|
||||
Reference in New Issue
Block a user