// Copyright 2014 Citra Emulator Project // Licensed under GPLv2 // Refer to the license.txt file included. #pragma once #include "common/common_types.h" //////////////////////////////////////////////////////////////////////////////////////////////////// //template //class KernelObject { //public: // virtual ~KernelObject() {} // // T GetNative() const { // return m_native; // } // // void SetNative(const T& native) { // m_native = native; // } // // virtual const char *GetTypeName() {return "[BAD KERNEL OBJECT TYPE]";} // virtual const char *GetName() {return "[UNKNOWN KERNEL OBJECT]";} // //private: // T m_native; //}; //class Handle : public KernelObject { // const char* GetTypeName() { // return "Handle"; // } //}; void Register_SysCall();