replace ifndef usages with pragma once
authorWonki Kim <wonki_.kim@samsung.com>
Mon, 7 Sep 2020 06:44:48 +0000 (15:44 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 11 Sep 2020 05:32:04 +0000 (14:32 +0900)
Change-Id: I3c5d200b588bb0b7b52216279aaf688cae62f9af

43 files changed:
libaurum/inc/Accessibility/AccessibleNode.h
libaurum/inc/Accessibility/AccessibleWatcher.h
libaurum/inc/Comparer.h
libaurum/inc/IDevice.h
libaurum/inc/ISearchable.h
libaurum/inc/Impl/TizenDeviceImpl.h
libaurum/inc/PartialMatch.h
libaurum/inc/Sel.h
libaurum/inc/UiDevice.h
libaurum/inc/UiObject.h
libaurum/inc/UiSelector.h
libaurum/inc/Until.h
libaurum/inc/Waiter.h
libaurum/src/Accessibility/AccessibleWatcher.cc
org.tizen.aurum-bootstrap/inc/AurumServiceImpl.h
org.tizen.aurum-bootstrap/inc/Commands/ClearCommand.h
org.tizen.aurum-bootstrap/inc/Commands/ClickCommand.h
org.tizen.aurum-bootstrap/inc/Commands/CloseAppCommand.h
org.tizen.aurum-bootstrap/inc/Commands/Command.h
org.tizen.aurum-bootstrap/inc/Commands/Commands.h
org.tizen.aurum-bootstrap/inc/Commands/FindElementCommand.h
org.tizen.aurum-bootstrap/inc/Commands/FlickCommand.h
org.tizen.aurum-bootstrap/inc/Commands/GetAppInfoCommand.h
org.tizen.aurum-bootstrap/inc/Commands/GetAttributeCommand.h
org.tizen.aurum-bootstrap/inc/Commands/GetDeviceTimeCommand.h
org.tizen.aurum-bootstrap/inc/Commands/GetLocationCommand.h
org.tizen.aurum-bootstrap/inc/Commands/GetSizeCommand.h
org.tizen.aurum-bootstrap/inc/Commands/GetValueCommand.h
org.tizen.aurum-bootstrap/inc/Commands/InstallAppCommand.h
org.tizen.aurum-bootstrap/inc/Commands/KillServerCommand.h
org.tizen.aurum-bootstrap/inc/Commands/LaunchAppCommand.h
org.tizen.aurum-bootstrap/inc/Commands/LongClickCommand.h
org.tizen.aurum-bootstrap/inc/Commands/PostCommand.h
org.tizen.aurum-bootstrap/inc/Commands/PreCommand.h
org.tizen.aurum-bootstrap/inc/Commands/RemoveAppCommand.h
org.tizen.aurum-bootstrap/inc/Commands/SendKeyCommand.h
org.tizen.aurum-bootstrap/inc/Commands/SetValueCommand.h
org.tizen.aurum-bootstrap/inc/Commands/SyncCommand.h
org.tizen.aurum-bootstrap/inc/Commands/TakeScreenshotCommand.h
org.tizen.aurum-bootstrap/inc/Commands/TouchDownCommand.h
org.tizen.aurum-bootstrap/inc/Commands/TouchMoveCommand.h
org.tizen.aurum-bootstrap/inc/Commands/TouchUpCommand.h
org.tizen.aurum-bootstrap/inc/ObjectMapper.h

index 69b2a8990467cfa27de7af4ce04435349fc84d74..d85c2f292571cc1e0e98aaab866d2f372bbe556a 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef ACCESSIBLE_NODE_H
-#define ACCESSIBLE_NODE_H
+#pragma once
 
 #include <map>
 #include <memory>
@@ -335,6 +334,4 @@ protected:
      */
     int mFeatureProperty;
 
-};
-
-#endif
+};
\ No newline at end of file
index d3327131343446f2e292b4a7ed2b1871bf9d6734..6d06ad210bcbbe54769dab1f4f3e130b04c40dd6 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef ACCESSIBLE_H
-#define ACCESSIBLE_H
+#pragma once
 
 
 #include "AccessibleApplication.h"
@@ -58,6 +57,4 @@ public:
      * @since_tizen 5.5
      */
     virtual std::vector<std::shared_ptr<AccessibleApplication>> getActiveApplications(void) const;
-};
-
-#endif
+};
\ No newline at end of file
index 91df714afaca65da08dc57da919516f08b7b21cd..99b37eac5a9c6dbe16d4694062e26716c6e77a9f 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef COMPARER_H
-#define COMPARER_H
+#pragma once
 #include "config.h"
 
 #include "AccessibleNode.h"
@@ -88,6 +87,4 @@ private:
      * @brief TBD
      */
     bool              mEarlyReturn;
-};
-
-#endif
+};
\ No newline at end of file
index edee43b7e65100d63e8cc3308132ebcf46b8d86c..fd97087c4cf96bb19f6473a0fc5a68e27c526e24 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef IDEVICE_H
-#define IDEVICE_H
+#pragma once
 #include "config.h"
 
 #include <string>
@@ -139,5 +138,4 @@ public:
      * @since_tizen 5.5
      */
     virtual long long getSystemTime(TimeRequestType type) = 0;
-};
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 8695ee78c24c1fb9a2bbbb90c554dbbd1e765b17..97d7c1b47a0f9560f7235621aaf8f72fe0fef68f 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef ISEARCHABLE_H
-#define ISEARCHABLE_H
+#pragma once
 #include "config.h"
 
 #include "UiSelector.h"
@@ -40,6 +39,4 @@ public:
      */
     virtual std::vector<std::shared_ptr<UiObject>> findObjects(
         const std::shared_ptr<UiSelector> selector) const = 0;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index f275e910f8cf8c18315837570f97329037bca91f..6e4dca4241d8d2fdf0a55b26679fa7db4c89fdf9 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef DEVICE_GENERAL_H
-#define DEVICE_GENERAL_H
+#pragma once
 #include "config.h"
 
 #include "IDevice.h"
@@ -70,6 +69,4 @@ private:
     bool isTimerStarted;
 
     std::set<int> mTouchSeq;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index b3165b2785783e57b765a598fb4ecdea813368d0..a4085c84bd0ac61ab8c9ce61597e43c62d70322b 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef PARTIAL_MATCH_H
-#define PARTIAL_MATCH_H
+#pragma once
 
 #include <list>
 #include <memory>
@@ -96,6 +95,4 @@ private:
      * @brief TBD
      */
     std::list<std::shared_ptr<PartialMatch>> mPartialMatches;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index ba87374aaa58828dd0dc6e55f064bd8d7875d7e3..5f5e700b9e108e03bc3f60bf253e2337843b5e89 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef SEL_H
-#define SEL_H
+#pragma once
 #include "config.h"
 
 #include <memory>
@@ -35,6 +34,4 @@ public:
      * @since_tizen 5.5
      */
     static std::shared_ptr<UiSelector> depth(int depth);
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 64f75f98b5a8060a26800d3ff4f219d4a7be0d62..ce9fd1ff23f45ecfa8900401acf7f2b610816b38 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef UIDEVICE_H
-#define UIDEVICE_H
+#pragma once
 #include "config.h"
 
 #include "UiObject.h"
@@ -207,6 +206,4 @@ private:
      * @brief TBD
      */
     const Waiter *mWaiter;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index b9ff14a2942a91702e5e71b3c4a32222266ab031..538810ee56aec1154d147408e36247e7006b8b63 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef UI_OBJECT_H
-#define UI_OBJECT_H
+#pragma once
 #include "config.h"
 
 #include "AccessibleNode.h"
@@ -297,6 +296,4 @@ private:
      * @brief TBD
      */
     static const unsigned int LOGNCLICK_INTERVAL = 50;
-};
-
-#endif
+};
\ No newline at end of file
index 81d5719c1d2699b7e3dddafdb9989a4e244b6ca3..c65caf00b40e8a9c2818e2892ffa6291903ebef5 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef UI_SELECTOR_H
-#define UI_SELECTOR_H
+#pragma once
 #include "config.h"
 
 #include <string>
@@ -272,6 +271,4 @@ public:
      * @since_tizen 5.5
      */
     std::vector<std::shared_ptr<UiSelector>> mChild;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index a4baafeebe350235adebd7d5180db5f89e2d38b3..bc06896fb9101d215b20e40ed0593ef402501df3 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef UNTIL_H
-#define UNTIL_H
+#pragma once
 
 #include <functional>
 #include "ISearchable.h"
@@ -62,7 +61,4 @@ public:
      */
     static std::function<bool(const UiObject *)> checkable(
         const bool isCheckable);
-};
-#endif
-
-// Until::hasObject(Sel::text("text").get())
\ No newline at end of file
+};
\ No newline at end of file
index 5f7c22b284065db168764ef1e39bb37f204efe9f..135ccc31faf9fc848816aba1599c82c22f0c67d6 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef WAITER_H
-#define WAITER_H
+#pragma once
 
 #include "ISearchable.h"
 
@@ -69,6 +68,4 @@ private:
      * @since_tizen 5.5
      */
     const int          WAIT_TIMEOUT_MS;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 25fb94ed5a872fba9b01017f60ec2a2c5e559026..a68967149666d5c7db75c741b97d4c5aad52f29c 100644 (file)
@@ -1,4 +1,3 @@
-
 #include "AccessibleWatcher.h"
 
 #ifdef TIZEN
index 103441e713b25e8f0dcf016a9f30138b4faee8c7..b4550b941971c631d085e598e782143137059f4c 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef aurum_IMPL_H
-#define aurum_IMPL_H
+#pragma once
 
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
@@ -93,6 +92,4 @@ public:
     ::grpc::Status dumpObjectTree(::grpc::ServerContext *context,
                             const ::aurum::ReqDumpObjectTree *request,
                             ::aurum::RspDumpObjectTree *      response) override;
-};
-
-#endif
+};
\ No newline at end of file
index 9f02ec07550e8921984bdeffd51fea2240d62c2f..5a9391c0df174de0a343bcd7c525b758ec233c11 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef CLEAR_COMMAND_H
-#define CLEAR_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -19,6 +18,4 @@ public:
 
 protected:
     bool hasHintText(std::shared_ptr<UiObject> obj);
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 527ef787358b06193011ee48c496bd989334ed77..aafaf97eff45e3632fbe0a0db92d0f6bb164ee34 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef CLICK_COMMAND_H
-#define CLICK_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -34,6 +33,4 @@ class ClickAtspiCommand : public ClickCommand {
     using ClickCommand::ClickCommand;
 public:
     ::grpc::Status execute() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 1249ebe979aa155bac98e99c5c62851423cf7f48..81bc6c4c8b7819dea50376090c7c3803fe6cb38c 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef CLOSE_APP_COMMAND_H
-#define CLOSE_APP_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -18,6 +17,4 @@ public:
                     ::aurum::RspCloseApp*       response);
     ::grpc::Status execute() override;
     ::grpc::Status executePost() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index f902f567bde3759d6501390ca46b586ebbad9fbd..85607df967bc545c70e472280d32627bc6d526d3 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef COMMAND_H
-#define COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -14,6 +13,4 @@ public:
     virtual ::grpc::Status execute() = 0;
     virtual ::grpc::Status executePost();
     virtual ::grpc::Status executePre();
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index cb21e7f182b273917ed6ec7bae9ed2f20fca0894..30dc22eba1293db901b1259bca13b9c8ce6b5732 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef COMMANDS_H
-#define COMMANDS_H
+#pragma once
 
 #include "Commands/KillServerCommand.h"
 #include "Commands/SyncCommand.h"
@@ -33,4 +32,3 @@
 
 #include "Commands/TakeScreenshotCommand.h"
 #include "Commands/DumpObjectTreeCommand.h"
-#endif
index 3defda7a764717f703aaf9c6535858ae525659bc..cc522706dbf2d1426e91064499f235ae02f78c78 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef FIND_ELEMENT_COMMAND_H
-#define FIND_ELEMENT_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -23,5 +22,4 @@ public:
 protected:
     virtual std::shared_ptr<ISearchable> getSearchableTop(void);
     virtual std::vector<std::shared_ptr<UiSelector>> getSelectors(void);
-};
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 4f8cb04ef785c957a7f7c7a177bc2689d8013d55..1a6d5c5b05ee0369bce304a39a5064f53d0a90d4 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef FLICK_COMMAND_H
-#define FLICK_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -18,6 +17,4 @@ public:
     FlickCommand(const ::aurum::ReqFlick* request, ::aurum::RspFlick* response);
     ;
     ::grpc::Status execute() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index cdd237e712af49cf505b7efa3508d3032bbe5110..7bdd8a6d3169c9b03ed2a9d06261061ce68a4444 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef IS_APP_INSTALLED_COMMAND_H
-#define IS_APP_INSTALLED_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -19,5 +18,3 @@ public:
     ;
     ::grpc::Status execute() override;
 };
-
-#endif
\ No newline at end of file
index 51bdf75064dcdca1fc805f1b98b334d23cabd7a9..f1e3d7bdc8cd66e13152529f5e60186e65cb825c 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef GET_ATTRIBUTE_COMMAND_H
-#define GET_ATTRIBUTE_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -92,5 +91,4 @@ class GetActiveAttributeCommand : public GetAttributeCommand {
     using GetAttributeCommand::GetAttributeCommand;
 public:
     ::grpc::Status execute() override;
-};
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index aad911486074b0e4999a4cad184d467badbe7864..a3669614f86e3abc5437666893897c1af6951f07 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef GET_DEVICE_TIME_COMMAND_H
-#define GET_DEVICE_TIME_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -18,6 +17,4 @@ public:
                          ::aurum::RspGetDeviceTime*       response);
     ;
     ::grpc::Status execute() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index b25c5cf63b2f48b97608286e9d092c80097c10bf..1591233ef4620b6a9a5e59e339cb620807d384c0 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef GET_LOCATION_COMMAND_H
-#define GET_LOCATION_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -18,6 +17,4 @@ public:
                        ::aurum::RspGetLocation*       response);
     ;
     ::grpc::Status execute() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index bd41080e205f5cad43d40ad2abdac8e0824daf45..eae1cebdc2642d3f3a5b3bb1b13cd287111436be 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef GET_SIZE_COMMAND_H
-#define GET_SIZE_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -18,6 +17,4 @@ public:
                    ::aurum::RspGetSize*       response);
     ;
     ::grpc::Status execute() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 6f72bd3915fe1bfa7b3a66080770d31b7a5ae1ce..09617ec1be1a8ecf4266b20a8bcb296310487f37 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef GET_VALUE_COMMAND_H
-#define GET_VALUE_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -18,6 +17,4 @@ public:
                     ::aurum::RspGetValue*       response);
     ;
     ::grpc::Status execute() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 5b5d326878da5465e6bf7ddfada8ce4fa3b25960..7ef0c32011ad47ff326d70fa03b674c16fd9402a 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef INSTALL_APP_COMMAND_H
-#define INSTALL_APP_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -18,6 +17,4 @@ public:
                       ::aurum::RspInstallApp*                        response);
     ::grpc::Status execute() override;
     ::grpc::Status executePost() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 40574273b44d2403a74bd08b32a63e45d73799da..a8cc9e4fee3ffe753633b32c36f18c42c7061cb3 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef KILL_SERVER_COMMAND_H
-#define KILL_SERVER_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -18,6 +17,4 @@ public:
                       ::aurum::RspEmpty*       response);
     ;
     ::grpc::Status execute() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 822d158d58b7472311cd0397c9c498d6ba67f38a..9702917bd36d208f19014b637f6315246c5216d1 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef LAUNCH_APP_COMMAND_H
-#define LAUNCH_APP_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -18,6 +17,4 @@ public:
                      ::aurum::RspLaunchApp*       response);
     ::grpc::Status execute() override;
     ::grpc::Status executePost() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 1eb1dde1d6a183a9375c87ba06f4348a173a9959..12fa17f06969ab0495e1922983de8288bdaee12e 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef LONG_CLICK_COMMAND_H
-#define LONG_CLICK_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -19,6 +18,4 @@ public:
     ::grpc::Status execute() override;
 private:
     const static unsigned int LOGNCLICK_INTERVAL = 50;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 61105231f66f33432e8d28fb3b2607bdf1fcfcf2..54ff0e2e329dd7db65b25e13a15c8346c272e396 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef POST_COMMAND_H
-#define POST_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -16,6 +15,4 @@ public:
     PostCommand(Command *cmd);
     ::grpc::Status execute() override;
     ::grpc::Status executePre() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index a5c8f09868e0011031f936fa37fe8985651cfda5..e2142de2788d27d35cbccf990100aae24e810e53 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef PRE_COMMAND_H
-#define PRE_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -18,6 +17,4 @@ public:
     PreCommand(Command *cmd);
     ::grpc::Status execute() override;
     ::grpc::Status executePost() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 71e6dbb4c8ac3a76a779e2ee392445f37878e99e..f45ff5afcf8059f3ef30f4562b0f8afddf0f574f 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef REMOVE_APP_COMMAND_H
-#define REMOVE_APP_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -19,6 +18,4 @@ public:
     ;
     ::grpc::Status execute() override;
     ::grpc::Status executePost() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index a0442c6057c86dc1cad53991a7a4e7f459714268..1a7678a71951add2aef0271927591f86ec094e3f 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef SEND_KEY_COMMAND_H
-#define SEND_KEY_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -16,6 +15,4 @@ private:
 public:
     SendKeyCommand(const ::aurum::ReqKey* request, ::aurum::RspKey* response);
     ::grpc::Status execute() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index f75206321cbfaa9c5f869b00b4cf63e97e4a244d..2bc5dd5e36488272a160fe17efec52a26237abc7 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef SET_VALUE_COMMAND_H
-#define SET_VALUE_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -17,6 +16,4 @@ public:
     SetValueCommand(const ::aurum::ReqSetValue* request,
                     ::aurum::RspSetValue*       response);
     ::grpc::Status execute() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index c54c978316838694a2ddac2f6c609634fe4eb4d5..6c52304c345aad6657547fea704933f63fbd52b6 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef SYNC_COMMAND_H
-#define SYNC_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -16,6 +15,4 @@ private:
 public:
     SyncCommand(const ::aurum::ReqEmpty* request, ::aurum::RspEmpty* response);
     ::grpc::Status execute() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 035fe386f7d3f60a8b9bff39364183afb3f67f26..41e0a8e3a5d865ca67b3961cc1577cf1e06bb740 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef TAKE_SCREENSHOT_COMMAND_H
-#define TAKE_SCREENSHOT_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -17,6 +16,4 @@ public:
     TakeScreenshotCommand(const ::aurum::ReqTakeScreenshot*                  request,
                           ::grpc::ServerWriter< ::aurum::RspTakeScreenshot>* writer);
     ::grpc::Status execute() override;
-};
-
-#endif
+};
\ No newline at end of file
index af973bb234932dcf203a83a278bb0de109330fb8..acd0f1b633f306d6d7b934a5a4c954208b96aa1e 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef TOUCH_DOWN_COMMAND_H
-#define TOUCH_DOWN_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -17,6 +16,4 @@ public:
     TouchDownCommand(const ::aurum::ReqTouchDown* request,
                      ::aurum::RspTouchDown*       response);
     ::grpc::Status execute() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 08512a6aebbcb840ec0a1e7860625fe0db1e1a8c..2182e3b7ddea40855d477b82cd09f222c6ee3a8a 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef TOUCH_MOVE_COMMAND_H
-#define TOUCH_MOVE_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -17,6 +16,4 @@ public:
     TouchMoveCommand(const ::aurum::ReqTouchMove* request,
                      ::aurum::RspTouchMove*       response);
     ::grpc::Status execute() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 7d59cd7eafca9506a67a6d4c0f8da80a4a5abffa..ed746ac1bf4fdf2f23d708d598c0fc24a38fb932 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef TOUCH_UP_COMMAND_H
-#define TOUCH_UP_COMMAND_H
+#pragma once
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -17,6 +16,4 @@ public:
     TouchUpCommand(const ::aurum::ReqTouchUp* request,
                    ::aurum::RspTouchUp*       response);
     ::grpc::Status execute() override;
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file
index 3e9dc50aaa550aaff01c1bdcbf4e7a0436b87aa7..214d8e8e5ac3fd445981aadb562763bfe6db898d 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef OBJECT_MAPPER_H
-#define OBJECT_MAPPER_H
+#pragma once
 
 #include <map>
 #include <string>
@@ -27,6 +26,4 @@ public:
 
     bool removeElement(const std::string key);
     bool removeElement(std::shared_ptr<UiObject> object);
-};
-
-#endif
\ No newline at end of file
+};
\ No newline at end of file