Fix compiling Android and iOS

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6258 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2021-08-27 19:26:01 +00:00
parent 1efc93d766
commit 6025242ee9
2 changed files with 31 additions and 31 deletions

@ -54,7 +54,7 @@ namespace io
virtual void addDirectoryToFileList(const io::path &filename); virtual void addDirectoryToFileList(const io::path &filename);
//! return the name (id) of the file Archive //! return the name (id) of the file Archive
virtual const io::path& getArchiveName() const _IRR_OVERRIDE_ {return Path;} virtual const io::path& getArchiveName() const IRR_OVERRIDE {return Path;}
protected: protected:
//! Android's asset manager //! Android's asset manager

@ -24,42 +24,42 @@ namespace irr
CIrrDeviceiOS(const SIrrlichtCreationParameters& params); CIrrDeviceiOS(const SIrrlichtCreationParameters& params);
virtual ~CIrrDeviceiOS(); virtual ~CIrrDeviceiOS();
virtual bool run() _IRR_OVERRIDE_; virtual bool run() IRR_OVERRIDE;
virtual void yield() _IRR_OVERRIDE_; virtual void yield() IRR_OVERRIDE;
virtual void sleep(u32 timeMs, bool pauseTimer) _IRR_OVERRIDE_; virtual void sleep(u32 timeMs, bool pauseTimer) IRR_OVERRIDE;
virtual void setWindowCaption(const wchar_t* text) _IRR_OVERRIDE_; virtual void setWindowCaption(const wchar_t* text) IRR_OVERRIDE;
virtual bool isWindowActive() const _IRR_OVERRIDE_; virtual bool isWindowActive() const IRR_OVERRIDE;
virtual bool isWindowFocused() const _IRR_OVERRIDE_; virtual bool isWindowFocused() const IRR_OVERRIDE;
virtual bool isWindowMinimized() const _IRR_OVERRIDE_; virtual bool isWindowMinimized() const IRR_OVERRIDE;
virtual bool present(video::IImage* surface, void * windowId = 0, core::rect<s32>* src = 0) _IRR_OVERRIDE_; virtual bool present(video::IImage* surface, void * windowId = 0, core::rect<s32>* src = 0) IRR_OVERRIDE;
virtual void closeDevice() _IRR_OVERRIDE_; virtual void closeDevice() IRR_OVERRIDE;
virtual void setResizable(bool resize = false) _IRR_OVERRIDE_; virtual void setResizable(bool resize = false) IRR_OVERRIDE;
virtual void minimizeWindow() _IRR_OVERRIDE_; virtual void minimizeWindow() IRR_OVERRIDE;
virtual void maximizeWindow() _IRR_OVERRIDE_; virtual void maximizeWindow() IRR_OVERRIDE;
virtual void restoreWindow() _IRR_OVERRIDE_; virtual void restoreWindow() IRR_OVERRIDE;
virtual core::position2di getWindowPosition() _IRR_OVERRIDE_; virtual core::position2di getWindowPosition() IRR_OVERRIDE;
virtual bool activateAccelerometer(float updateInterval = 0.016666f) _IRR_OVERRIDE_; virtual bool activateAccelerometer(float updateInterval = 0.016666f) IRR_OVERRIDE;
virtual bool deactivateAccelerometer() _IRR_OVERRIDE_; virtual bool deactivateAccelerometer() IRR_OVERRIDE;
virtual bool isAccelerometerActive() _IRR_OVERRIDE_; virtual bool isAccelerometerActive() IRR_OVERRIDE;
virtual bool isAccelerometerAvailable() _IRR_OVERRIDE_; virtual bool isAccelerometerAvailable() IRR_OVERRIDE;
virtual bool activateGyroscope(float updateInterval = 0.016666f) _IRR_OVERRIDE_; virtual bool activateGyroscope(float updateInterval = 0.016666f) IRR_OVERRIDE;
virtual bool deactivateGyroscope() _IRR_OVERRIDE_; virtual bool deactivateGyroscope() IRR_OVERRIDE;
virtual bool isGyroscopeActive() _IRR_OVERRIDE_; virtual bool isGyroscopeActive() IRR_OVERRIDE;
virtual bool isGyroscopeAvailable() _IRR_OVERRIDE_; virtual bool isGyroscopeAvailable() IRR_OVERRIDE;
virtual bool activateDeviceMotion(float updateInterval = 0.016666f) _IRR_OVERRIDE_; virtual bool activateDeviceMotion(float updateInterval = 0.016666f) IRR_OVERRIDE;
virtual bool deactivateDeviceMotion() _IRR_OVERRIDE_; virtual bool deactivateDeviceMotion() IRR_OVERRIDE;
virtual bool isDeviceMotionActive() _IRR_OVERRIDE_; virtual bool isDeviceMotionActive() IRR_OVERRIDE;
virtual bool isDeviceMotionAvailable() _IRR_OVERRIDE_; virtual bool isDeviceMotionAvailable() IRR_OVERRIDE;
virtual E_DEVICE_TYPE getType() const _IRR_OVERRIDE_; virtual E_DEVICE_TYPE getType() const IRR_OVERRIDE;
private: private:
void createWindow(); void createWindow();