Add a static kType field to all objects

This commit is contained in:
Dr. Chat
2015-11-12 19:01:55 -06:00
parent b970b970f0
commit 7fc22f1987
9 changed files with 18 additions and 0 deletions

View File

@@ -77,6 +77,8 @@ static_assert_size(X_FILE_DIRECTORY_INFORMATION, 72);
class XFile : public XObject {
public:
static const Type kType = kTypeFile;
~XFile() override;
vfs::Device* device() const { return entry_->device(); }