Add a static kType field to all objects
This commit is contained in:
@@ -24,6 +24,8 @@ struct X_KEVENT {
|
||||
|
||||
class XEvent : public XObject {
|
||||
public:
|
||||
static const Type kType = kTypeEvent;
|
||||
|
||||
explicit XEvent(KernelState* kernel_state);
|
||||
~XEvent() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user