diff options
author | David Robillard <d@drobilla.net> | 2020-10-31 13:00:45 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-31 13:00:45 +0100 |
commit | acdcfb58a41574310d652a09926345efd0908dfd (patch) | |
tree | 0a643d9c672bb47374a9644666f2624013dcc0f1 /bindings/cxx/include | |
parent | 5ee68d830ee376ff5cf2accd934907d0e27fd777 (diff) | |
download | pugl-acdcfb58a41574310d652a09926345efd0908dfd.tar.gz pugl-acdcfb58a41574310d652a09926345efd0908dfd.tar.bz2 pugl-acdcfb58a41574310d652a09926345efd0908dfd.zip |
Cleanup: Remove unnecessary namespace qualifications
Diffstat (limited to 'bindings/cxx/include')
-rw-r--r-- | bindings/cxx/include/pugl/pugl.hpp | 8 | ||||
-rw-r--r-- | bindings/cxx/include/pugl/pugl.ipp | 46 |
2 files changed, 27 insertions, 27 deletions
diff --git a/bindings/cxx/include/pugl/pugl.hpp b/bindings/cxx/include/pugl/pugl.hpp index bfe0706..965540d 100644 --- a/bindings/cxx/include/pugl/pugl.hpp +++ b/bindings/cxx/include/pugl/pugl.hpp @@ -205,7 +205,7 @@ static_assert(Status(PUGL_UNSUPPORTED_TYPE) == Status::unsupportedType, ""); /// @copydoc puglStrerror static inline const char* -strerror(const pugl::Status status) noexcept +strerror(const Status status) noexcept { return puglStrerror(static_cast<PuglStatus>(status)); } @@ -262,7 +262,7 @@ public: time_point now() const; private: - const pugl::World& _world; + const World& _world; }; /// @copydoc PuglWorld @@ -399,8 +399,8 @@ public: View(View&&) = delete; View&& operator=(View&&) = delete; - const pugl::World& world() const { return _world; } - pugl::World& world() { return _world; } + const World& world() const { return _world; } + World& world() { return _world; } /// @copydoc puglSetViewHint Status setHint(ViewHint hint, int value) diff --git a/bindings/cxx/include/pugl/pugl.ipp b/bindings/cxx/include/pugl/pugl.ipp index aa6e6f1..59fb806 100644 --- a/bindings/cxx/include/pugl/pugl.ipp +++ b/bindings/cxx/include/pugl/pugl.ipp @@ -28,139 +28,139 @@ namespace pugl { Status View::onCreate(const CreateEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onDestroy(const DestroyEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onConfigure(const ConfigureEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onMap(const MapEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onUnmap(const UnmapEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onUpdate(const UpdateEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onExpose(const ExposeEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onClose(const CloseEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onFocusIn(const FocusInEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onFocusOut(const FocusOutEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onKeyPress(const KeyPressEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onKeyRelease(const KeyReleaseEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onText(const TextEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onPointerIn(const PointerInEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onPointerOut(const PointerOutEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onButtonPress(const ButtonPressEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onButtonRelease(const ButtonReleaseEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onMotion(const MotionEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onScroll(const ScrollEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onClient(const ClientEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onTimer(const TimerEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onLoopEnter(const LoopEnterEvent&) { - return pugl::Status::success; + return Status::success; } Status View::onLoopLeave(const LoopLeaveEvent&) { - return pugl::Status::success; + return Status::success; } } // namespace pugl |