summaryrefslogtreecommitdiffstats
path: root/src/core/hle/hle_syscall.h
blob: 80b20c3589b6de5c901fb85bb33b81f4c9b6a9c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.  

#pragma once

#include "common/common_types.h"

////////////////////////////////////////////////////////////////////////////////////////////////////

//template <class T>
//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<u32> {
//    const char* GetTypeName() { 
//        return "Handle";
//    }
//};

void Register_Syscall();