Add newline at end of files to reduce gcc warnings

This commit is contained in:
Matt Williams
2007-08-29 22:54:52 +00:00
parent eaf17afc10
commit 579aefab58
16 changed files with 450 additions and 7 deletions

View File

@ -0,0 +1,31 @@
#ifndef __MATERIALMAPMANAGER_H__
#define __MATERIALMAPMANAGER_H__
#include <OgreResourceManager.h>
#include "MaterialMap.h"
#include "TypeDef.h"
namespace Ogre
{
class VOXEL_SCENE_MANAGER_API MaterialMapManager : public Ogre::ResourceManager, public Ogre::Singleton<MaterialMapManager>
{
protected:
// must implement this from ResourceManager's interface
Ogre::Resource *createImpl(const Ogre::String &name, Ogre::ResourceHandle handle,
const Ogre::String &group, bool isManual, Ogre::ManualResourceLoader *loader,
const Ogre::NameValuePairList *createParams);
public:
MaterialMapManager ();
virtual ~MaterialMapManager ();
virtual MaterialMapPtr load (const Ogre::String &name, const Ogre::String &group);
static MaterialMapManager &getSingleton ();
static MaterialMapManager *getSingletonPtr ();
};
}
#endif