/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. * * Released under the BSD license - see LICENSE in the root for more details. * ****************************************************************************** */ #ifndef XENIA_KERNEL_XBOXKRNL_XMODULE_H_ #define XENIA_KERNEL_XBOXKRNL_XMODULE_H_ #include #include namespace xe { namespace kernel { class XModule : public XObject { public: XModule(KernelState* kernel_state, const char* path); virtual ~XModule(); const char* path() const { return path_; } const char* name() const { return name_; } virtual void* GetProcAddressByOrdinal(uint16_t ordinal) = 0; protected: char name_[256]; char path_[XE_MAX_PATH]; }; } // namespace kernel } // namespace xe #endif // XENIA_KERNEL_XBOXKRNL_XMODULE_H_