/usr/include/MYGUI/MyGUI_OpenGLDataManager.h is in libmygui-dev 3.2.2-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | /*!
@file
@author George Evmenov
@date 07/2009
*/
#ifndef MYGUI_OPENGL_DATA_MANAGER_H_
#define MYGUI_OPENGL_DATA_MANAGER_H_
#include "MyGUI_Prerequest.h"
#include "MyGUI_DataManager.h"
namespace MyGUI
{
class OpenGLDataManager :
public DataManager
{
public:
OpenGLDataManager();
void initialise();
void shutdown();
static OpenGLDataManager& getInstance()
{
return *getInstancePtr();
}
static OpenGLDataManager* getInstancePtr()
{
return static_cast<OpenGLDataManager*>(DataManager::getInstancePtr());
}
/** @see DataManager::getData(const std::string& _name) */
virtual IDataStream* getData(const std::string& _name);
/** @see DataManager::freeData */
virtual void freeData(IDataStream* _data);
/** @see DataManager::isDataExist(const std::string& _name) */
virtual bool isDataExist(const std::string& _name);
/** @see DataManager::getDataListNames(const std::string& _pattern) */
virtual const VectorString& getDataListNames(const std::string& _pattern);
/** @see DataManager::getDataPath(const std::string& _name) */
virtual const std::string& getDataPath(const std::string& _name);
/*internal:*/
void addResourceLocation(const std::string& _name, bool _recursive);
private:
struct ArhivInfo
{
std::wstring name;
bool recursive;
};
typedef std::vector<ArhivInfo> VectorArhivInfo;
VectorArhivInfo mPaths;
bool mIsInitialise;
};
} // namespace MyGUI
#endif // MYGUI_OPENGL_DATA_MANAGER_H_
|