Platform_Input.h
Go to the documentation of this file.00001 00011 #ifndef __Platform_Input_H__ 00012 #define __Platform_Input_H__ 00013 00014 // Includes 00015 #include "Platform.h" 00016 00017 // Forward declares 00018 class Platform_Input_KeyboardDevice; 00019 class Platform_Input_MouseDevice; 00020 00021 // Platform_Input 00022 class Platform_Input 00023 { 00024 public: 00028 virtual ~Platform_Input() { }; 00029 00030 00037 virtual const Platform_Input_KeyboardDevice* GetKeyboardDevice() = 0; 00038 00039 00046 virtual const Platform_Input_MouseDevice* GetMouseDevice() = 0; 00047 00055 virtual int CreateMouseCursor( 00056 int width, 00057 int height, 00058 int hotspotX, 00059 int hotspotY, 00060 unsigned short* colorData, 00061 unsigned char* alphaData 00062 ) = 0; 00063 00064 00070 virtual void SetMouseCursor( 00071 int handle 00072 ) = 0; 00073 00074 00079 virtual void SetDefaultMouseCursor() = 0; 00080 }; 00081 00082 #endif /* __Platform_Input_H__ */
Reproduction/republishing of any material on this site without permission is strictly prohibited.
