FF7ModelListFileManager.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. -----------------------------------------------------------------------------
  3. Copyright (c) 07.10.2013 Tobias Peters <tobias.peters@kreativeffekt.at>
  4. This file is part of Q-Gears
  5. Q-Gears is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, version 2.0 (GPLv2) of the License.
  8. Q-Gears is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. -----------------------------------------------------------------------------
  13. */
  14. #ifndef __FF7ModelListFileManager_H__
  15. #define __FF7ModelListFileManager_H__
  16. #include <OgreResourceManager.h>
  17. #include "QGearsPrerequisites.h"
  18. #include "FF7ModelListFile.h"
  19. namespace QGears
  20. {
  21. namespace FF7
  22. {
  23. class _QGearsExport ModelListFileManager : public Ogre::ResourceManager, public Ogre::Singleton<ModelListFileManager>
  24. {
  25. public:
  26. ModelListFileManager();
  27. virtual ~ModelListFileManager();
  28. static ModelListFileManager &getSingleton();
  29. static ModelListFileManager *getSingletonPtr();
  30. protected:
  31. Ogre::Resource *createImpl( const Ogre::String &name, Ogre::ResourceHandle handle
  32. , const Ogre::String &group, bool isManual, Ogre::ManualResourceLoader *loader
  33. , const Ogre::NameValuePairList *createParams );
  34. private:
  35. };
  36. }
  37. }
  38. #endif // __FF7ModelListFileManager_H__