blob: 3ad8900a76b7b8d68a360e7e0919d810a4fb25f1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef DEF_RESSOURCECALLER_CLASS_H
#define DEF_RESSOURCECALLER_CLASS_H
#include <Syscall/Syscall.wtf.h>
class RessourceCaller {
private:
u32int m_id;
u32int m_type;
protected:
RessourceCaller(u32int id, u32int type);
static u32int getObjId(u32int type);
u32int doCall(u8int call, u32int a = 0, u32int b = 0, u32int c = 0, u32int d = 0, u32int e = 0);
public:
u32int resId() { return m_id; }
u32int resType() { return m_type; }
bool valid() { return m_type != 0; }
};
#endif
|