aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/pdb/module.hpp
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-01-15 03:30:56 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-01-15 03:35:11 +0300
commiteeac54304af4a06ab9e4e3ce944944a609c68a8a (patch)
tree1dc85b8464e41c47d7463c5d7fc281628f9995b1 /include/pdb/module.hpp
parentadd test/ to test, for starters, enum_symbols (diff)
downloadwinapi-debug-eeac54304af4a06ab9e4e3ce944944a609c68a8a.tar.gz
winapi-debug-eeac54304af4a06ab9e4e3ce944944a609c68a8a.zip
refactoring
Diffstat (limited to 'include/pdb/module.hpp')
-rw-r--r--include/pdb/module.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/pdb/module.hpp b/include/pdb/module.hpp
index db6722e..bff8bd6 100644
--- a/include/pdb/module.hpp
+++ b/include/pdb/module.hpp
@@ -16,22 +16,22 @@ namespace pdb {
class ModuleInfo {
public:
- typedef IMAGEHLP_MODULE64 Raw;
+ typedef IMAGEHLP_MODULE64 Impl;
ModuleInfo();
- explicit ModuleInfo(const Raw& raw);
+ explicit ModuleInfo(const Impl& impl);
- explicit operator Raw&() { return raw; }
- explicit operator const Raw&() const { return raw; }
+ explicit operator Impl&() { return impl; }
+ explicit operator const Impl&() const { return impl; }
- Address get_offline_base() const { return raw.BaseOfImage; }
+ Address get_offline_base() const { return impl.BaseOfImage; }
- std::string get_name() const { return raw.ModuleName; }
+ std::string get_name() const { return impl.ModuleName; }
private:
- static Raw create_raw();
+ static Impl create_impl();
- Raw raw;
+ Impl impl;
};
class Module : public ModuleInfo {