blob: a7bb4c2ec84aad359f93bd54f5cfce37deb93689 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include <Syscall/RessourceCaller.class.h>
#include <VirtualTerminal.iface.h>
#include <WChar.class.h>
class VirtualTerminal : public RessourceCaller {
public:
static VirtualTerminal get() {
u32int id = RessourceCaller::getObjId(VT_IFACE_OBJTYPE);
return VirtualTerminal(id);
}
VirtualTerminal(u32int id) : RessourceCaller(id, VT_IFACE_OBJTYPE) {}
void writeHex(u32int number) {
doCall(VT_IFACE_WRITEHEX, number);
}
void put(WChar c) {
doCall(VT_IFACE_PUT, c);
}
};
|