#ifndef _DEBUGGER_GLOBAL_H #define _DEBUGGER_GLOBAL_H #include #include #include #include #include #include #include #include #include namespace GleeBug { typedef std::pair Range; struct RangeCompare { inline bool operator()(const Range & a, const Range & b) const //a before b? { return a.second < b.first; } }; //forward declarations class Debugger; class ProcessInfo; class DllInfo; class ThreadInfo; //map typedefs typedef std::map ProcessMap; typedef std::map DllMap; typedef std::map ThreadMap; //callback function typedefs typedef std::function StepCallback; //vector typedefs typedef std::vector StepCallbackVector; //macros #define BIND(thisPtr, funcPtr) std::bind(&funcPtr, thisPtr) }; #endif //_DEBUGGER_GLOBAL_H