/******************************************************************** SleepLib Machine Loader Class Implementation Copyright (c)2011 Mark Watkins License: GPL *********************************************************************/ #include "machine_loader.h" list m_loaders; void RegisterLoader(MachineLoader *loader) { m_loaders.push_back(loader); } void DestroyLoaders() { for (list::iterator i=m_loaders.begin(); i!=m_loaders.end(); i++) { delete (*i); } m_loaders.clear(); } MachineLoader::MachineLoader() { } MachineLoader::~MachineLoader() { } list GetLoaders() { return m_loaders; }