summaryrefslogtreecommitdiff
path: root/Source/Library/Userland/Binding/Process.class.h
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-10-20 18:10:29 +0200
committerAlexis211 <alexis211@gmail.com>2009-10-20 18:10:29 +0200
commit866580161b826443bed3862b8315cefd505de37c (patch)
tree23c3f87fe43d82c47af01c908d8a056785f9217f /Source/Library/Userland/Binding/Process.class.h
parent0cca2d68451849b5ea96a3620566fd0b42dde3c0 (diff)
downloadMelon-866580161b826443bed3862b8315cefd505de37c.tar.gz
Melon-866580161b826443bed3862b8315cefd505de37c.zip
We now have call tables for ressources.
instead of adding calls to ressource in the constructor.
Diffstat (limited to 'Source/Library/Userland/Binding/Process.class.h')
-rw-r--r--Source/Library/Userland/Binding/Process.class.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Library/Userland/Binding/Process.class.h b/Source/Library/Userland/Binding/Process.class.h
index 88af9d6..e532ad3 100644
--- a/Source/Library/Userland/Binding/Process.class.h
+++ b/Source/Library/Userland/Binding/Process.class.h
@@ -5,18 +5,18 @@
class Process : public RessourceCaller {
public:
static Process get() {
- u32int id = RessourceCaller::getObjId(PR_IFACE_OBJTYPE);
+ u32int id = RessourceCaller::getObjId(PRIF_OBJTYPE);
return Process(id);
}
- Process(u32int id) : RessourceCaller(id, PR_IFACE_OBJTYPE) {}
+ Process(u32int id) : RessourceCaller(id, PRIF_OBJTYPE) {}
void exit() {
- doCall(PR_IFACE_EXIT);
+ doCall(PRIF_EXIT);
}
void allocPage(u32int pos) {
- doCall(PR_IFACE_ALLOCPAGE, pos);
+ doCall(PRIF_ALLOCPAGE, pos);
}
void freePage(u32int pos) {
- doCall(PR_IFACE_FREEPAGE, pos);
+ doCall(PRIF_FREEPAGE, pos);
}
};