summaryrefslogtreecommitdiff
path: root/src/input/mouseinput.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-12 20:26:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-12 20:26:59 +0300
commitbebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43 (patch)
tree4d631106f76ba8a052dc2ef8b23b8a968040db82 /src/input/mouseinput.h
parent67638eeec5267977940dce29c5a94ce4d093ed69 (diff)
downloadmanaverse-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.gz
manaverse-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.bz2
manaverse-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.xz
manaverse-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.zip
Add noexcept in some files.
Diffstat (limited to 'src/input/mouseinput.h')
-rw-r--r--src/input/mouseinput.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/input/mouseinput.h b/src/input/mouseinput.h
index a8a948cf3..e5121d93c 100644
--- a/src/input/mouseinput.h
+++ b/src/input/mouseinput.h
@@ -108,77 +108,77 @@ class MouseInput final
~MouseInput()
{ }
- void setType(MouseEventTypeT type)
+ void setType(MouseEventTypeT type) noexcept2
{
mType = type;
}
- MouseEventTypeT getType() const
+ MouseEventTypeT getType() const noexcept2
{
return mType;
}
- void setButton(MouseButtonT button)
+ void setButton(MouseButtonT button) noexcept2
{
mButton = button;
}
- MouseButtonT getButton() const
+ MouseButtonT getButton() const noexcept2
{
return mButton;
}
- int getTimeStamp() const
+ int getTimeStamp() const noexcept2
{
return mTimeStamp;
}
- void setTimeStamp(int timeStamp)
+ void setTimeStamp(int timeStamp) noexcept2
{
mTimeStamp = timeStamp;
}
- void setX(int x)
+ void setX(int x) noexcept2
{
mX = x;
}
- int getX() const
+ int getX() const noexcept2
{
return mX;
}
- void setY(int y)
+ void setY(int y) noexcept2
{
mY = y;
}
- int getY() const
+ int getY() const noexcept2
{
return mY;
}
- void setReal(const int x, const int y)
+ void setReal(const int x, const int y) noexcept2
{ mRealX = x; mRealY = y; }
- int getRealX() const A_WARN_UNUSED
+ int getRealX() const noexcept2 A_WARN_UNUSED
{ return mRealX; }
- int getRealY() const A_WARN_UNUSED
+ int getRealY() const noexcept2 A_WARN_UNUSED
{ return mRealY; }
#ifdef ANDROID
- int getTouchX() const A_WARN_UNUSED
+ int getTouchX() const noexcept2 A_WARN_UNUSED
{ return mRealX; }
- int getTouchY() const A_WARN_UNUSED
+ int getTouchY() const noexcept2 A_WARN_UNUSED
{ return mRealY; }
#else // ANDROID
- int getTouchX() const A_WARN_UNUSED
+ int getTouchX() const noexcept2 A_WARN_UNUSED
{ return mX; }
- int getTouchY() const A_WARN_UNUSED
+ int getTouchY() const noexcept2 A_WARN_UNUSED
{ return mY; }
#endif // ANDROID