4
0
mirror of https://github.com/QuasarApp/macdependency.git synced 2025-05-01 22:59:32 +00:00
Mike Lischke 972fcb3094 Overhaul of the application to avoid it crashing on macOS Sierra.
- 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).
2016-11-19 16:23:39 +01:00

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