mirror of
https://github.com/QuasarApp/macdependency.git
synced 2025-05-01 22:59:32 +00:00
- Applied all recommended XCode (8) settings. - Removed boost and replaced that code by standard functions. - Implemented name mangling via abi::__cxa_demangle instead of running an external process to use c++filt. - Enabled C++11. Min deployment target is now OSX 10.7. - Some code clean up (e.g. formatting, std namespace).
21 lines
405 B
C++
21 lines
405 B
C++
#ifndef MACHOCACHE_H
|
|
#define MACHOCACHE_H
|
|
|
|
#include "macho_global.h"
|
|
|
|
class MachO;
|
|
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
|