Move ADTFactory from core to logic (bug 5953, r=fyren).

--HG--
rename : core/ADTFactory.cpp => core/logic/ADTFactory.cpp
rename : core/ADTFactory.h => core/logic/ADTFactory.h
This commit is contained in:
Nicholas Hastings 2013-10-09 08:43:08 -04:00
parent 5bde264c43
commit 9027d15211
4 changed files with 4 additions and 5 deletions

View File

@ -61,7 +61,6 @@ for i in SM.sdkInfo:
'logic_bridge.cpp',
'smn_entities.cpp',
'sm_stringutil.cpp',
'ADTFactory.cpp',
'ForwardSys.cpp',
'MenuVoting.cpp',
'smn_events.cpp',

View File

@ -30,8 +30,7 @@
*/
#include "ADTFactory.h"
#include "sm_globals.h"
#include "logic_bridge.h"
#include "ShareSys.h"
ADTFactory g_AdtFactory;
@ -47,7 +46,7 @@ unsigned int ADTFactory::GetInterfaceVersion()
void ADTFactory::OnSourceModAllInitialized()
{
sharesys->AddInterface(NULL, this);
g_ShareSys.AddInterface(NULL, this);
}
IBasicTrie *ADTFactory::CreateBasicTrie()

View File

@ -33,7 +33,7 @@
#define _INCLUDE_SOURCEMOD_ADTFACTORY_H_
#include <IADTFactory.h>
#include "sm_globals.h"
#include "common_logic.h"
#include <sm_stringhashmap.h>
using namespace SourceMod;

View File

@ -25,6 +25,7 @@ files = [
'smn_adt_array.cpp',
'smn_sorting.cpp',
'smn_maplists.cpp',
'ADTFactory.cpp',
'smn_adt_stack.cpp',
'thread/ThreadWorker.cpp',
'thread/BaseWorker.cpp',