aixxe 66f7ff9b8e Add externs to interface and class headers.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:09:50 +00:00

12 lines
232 B
C++

#pragma once
enum ButtonCode_t;
class IInputSystem {
public:
bool IsButtonDown(ButtonCode_t button) {
return GetVirtualFunction<bool(*)(void*, ButtonCode_t)>(this, 11)(this, button);
}
};
extern IInputSystem* inputsystem;