mirror of
https://github.com/QuasarApp/macdependency.git
synced 2025-04-28 13:24:32 +00:00
21 lines
397 B
C++
21 lines
397 B
C++
#ifndef MACHOCACHE_H
|
|
#define MACHOCACHE_H
|
|
|
|
#include "macho_global.h"
|
|
#include <map>
|
|
|
|
class MachO;
|
|
class MachOCache
|
|
{
|
|
public:
|
|
MachOCache();
|
|
~MachOCache();
|
|
MachO* getFile(const string& filename, const MachO* parent);
|
|
unsigned int getNumEntries();
|
|
private:
|
|
typedef map<string, MachO*> CacheMap;
|
|
typedef CacheMap::iterator CacheMapIterator;
|
|
CacheMap cache;
|
|
};
|
|
|
|
#endif // MACHOCACHE_H
|