macdependency/MachO/machocache.h

21 lines
405 B
C
Raw Permalink Normal View History

#ifndef MACHOCACHE_H
#define MACHOCACHE_H
#include "macho_global.h"
class MachO;
2009-09-29 15:01:48 +00:00
class EXPORT MachOCache
{
public:
MachOCache();
~MachOCache();
MachO* getFile(const std::string& filename, const MachO* parent);
unsigned int getNumEntries();
private:
typedef std::map<std::string, MachO*> CacheMap;
typedef CacheMap::iterator CacheMapIterator;
CacheMap cache;
};
#endif // MACHOCACHE_H