aurum: Change #pragma once to include guards 19/265319/4
authorWoochanlee <wc0917.lee@samsung.com>
Fri, 15 Oct 2021 01:25:26 +0000 (10:25 +0900)
committerWoochanlee <wc0917.lee@samsung.com>
Mon, 18 Oct 2021 07:31:50 +0000 (16:31 +0900)
pragma once works well but it may not work on older compiler.
I changed it for stability and versatility.

Change-Id: I6d44fb970a47345516106cc4dcf698d98de1be94

69 files changed:
libaurum/inc/A11yEvent.h
libaurum/inc/Accessibility/Accessible.h
libaurum/inc/Accessibility/AccessibleApplication.h
libaurum/inc/Accessibility/AccessibleNode.h
libaurum/inc/Accessibility/AccessibleWatcher.h
libaurum/inc/Accessibility/AccessibleWindow.h
libaurum/inc/Accessibility/IEventConsumer.h
libaurum/inc/Accessibility/IEventSource.h
libaurum/inc/Aurum.h
libaurum/inc/Comparer.h
libaurum/inc/Impl/Accessibility/AtspiAccessibleApplication.h
libaurum/inc/Impl/Accessibility/AtspiAccessibleNode.h
libaurum/inc/Impl/Accessibility/AtspiAccessibleWatcher.h
libaurum/inc/Impl/Accessibility/AtspiAccessibleWindow.h
libaurum/inc/Impl/Accessibility/AtspiWrapper.h
libaurum/inc/Impl/Accessibility/MockAccessibleApplication.h
libaurum/inc/Impl/Accessibility/MockAccessibleNode.h
libaurum/inc/Impl/Accessibility/MockAccessibleWatcher.h
libaurum/inc/Impl/Accessibility/MockAccessibleWindow.h
libaurum/inc/Impl/MockDeviceImpl.h
libaurum/inc/Impl/TizenDeviceImpl.h
libaurum/inc/Interface/IDevice.h
libaurum/inc/Interface/ISearchable.h
libaurum/inc/Misc/Point2D.h
libaurum/inc/Misc/Rect.h
libaurum/inc/Misc/Size2D.h
libaurum/inc/Misc/bitmask.h
libaurum/inc/PartialMatch.h
libaurum/inc/Runnable/Runnable.h
libaurum/inc/Runnable/Runnables.h
libaurum/inc/Runnable/SendKeyRunnable.h
libaurum/inc/Sel.h
libaurum/inc/UiDevice.h
libaurum/inc/UiObject.h
libaurum/inc/UiScrollable.h
libaurum/inc/UiSelector.h
libaurum/inc/Until.h
libaurum/inc/Waiter.h
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/DumpObjectTreeCommand.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/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
org.tizen.aurum-bootstrap/inc/Runnable/LaunchAppRunnable.h
org.tizen.aurum-bootstrap/inc/bootstrap.h

index 02c0d5ebc70498de2b416a9af2ef6feb5bbc9c21..3ed5d07966f3b34ea33d0b050207936b6e083e8a 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _A11Y_EVENT_H_
+#define _A11Y_EVENT_H_
 
 #include "bitmask.h"
 #include <string>
@@ -48,19 +49,20 @@ enableEnumClassBitfield(A11yEvent);
 
 class A11yEventInfo {
 public:
-       A11yEventInfo();
-       A11yEventInfo(A11yEvent event, std::string name = "", std::string pkg = "");
-       A11yEventInfo(std::string event, std::string name = "", std::string pkg = "");
-       ~A11yEventInfo();
+    A11yEventInfo();
+    A11yEventInfo(A11yEvent event, std::string name = "", std::string pkg = "");
+    A11yEventInfo(std::string event, std::string name = "", std::string pkg = "");
+    ~A11yEventInfo();
 public:
-       A11yEvent getEvent();
+    A11yEvent getEvent();
     A11yEvent getEvent(std::string event);
-       std::string getName();
-       std::string getPkg();
+    std::string getName();
+    std::string getPkg();
 
 protected:
-       const A11yEvent mEvent;
-       const std::string mName;
-       const std::string mPkg;
+    const A11yEvent mEvent;
+    const std::string mName;
+    const std::string mPkg;
 };
 
+#endif
index f17b85f69adea5191209a4a1ff821b311928812d..2d2c456fcefff62df81805de2bb336667798ffa8 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _ACCESSIBLE_H_
+#define _ACCESSIBLE_H_
 
 #include "AccessibleNode.h"
 #include "AccessibleWatcher.h"
@@ -23,3 +24,5 @@
 #include "AccessibleWindow.h"
 #include "IEventConsumer.h"
 #include "IEventSource.h"
+
+#endif
index 802112069d7a39894a265dfe9ac79e55d30808bc..9701b3048dc9e0a0e4141d8caa4e02229da4c13e 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _ACCESSIBLE_APPLICATION_H_
+#define _ACCESSIBLE_APPLICATION_H_
 
 #include "AccessibleWindow.h"
 #include "AccessibleNode.h"
@@ -40,3 +41,4 @@ private:
     std::shared_ptr<AccessibleNode> mNode;
 };
 
+#endif
index 8bf51f87ef4cc2bb80537b30862dddb229808af3..cf801295a2b733de75407db94b80c556fe5b2828 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _ACCESSIBLE_NODE_H_
+#define _ACCESSIBLE_NODE_H_
 
 #include <map>
 #include <memory>
@@ -450,3 +451,5 @@ private:
      */
     mutable std::mutex mLock;
 };
+
+#endif
\ No newline at end of file
index 1a24025af082cae3e005236147db31340013331c..6c775562dc31f239457c9ce55cb50617f632ed21 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _ACCESSIBLE_WATCHER_H_
+#define _ACCESSIBLE_WATCHER_H_
 
 #include "AccessibleApplication.h"
 #include "AccessibleWindow.h"
@@ -123,3 +124,5 @@ private:
      */
     std::mutex mLock;
 };
+
+#endif
\ No newline at end of file
index 92fb5494875bd65ca081e65d8f644312342178cd..751a774b508caa8be72e06e0cbfe99cc554a3be7 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _ACCESSIBLE_WINDOW_H_
+#define _ACCESSIBLE_WINDOW_H_
 
 #include "AccessibleNode.h"
 
@@ -79,4 +80,6 @@ private:
      * @brief TBD
      */
     std::shared_ptr<AccessibleNode> mNode;
-};
\ No newline at end of file
+};
+
+#endif
index 0af4ba43103555d096a890ace9a94623e130e2bc..fe4b7d860ccafb081104a9a8ea8512600a82b30b 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _IEVENT_CONSUMER_H_
+#define _IEVENT_CONSUMER_H_
 
 enum class EventType {
     none = 0,
@@ -33,3 +34,5 @@ public:
     virtual ~IEventConsumer() {};
     virtual void notify(int type, int type2, void *src) = 0;
 };
+
+#endif
index 367a2763354ecf7d524277251f3f5eb12c8aceec..cdb2196652bb178ce36bea6aea7266515aeb08aa 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _IEVENT_SOURCE_H_
+#define _IEVENT_SOURCE_H_
 
 #include "IEventConsumer.h"
 #include <memory>
@@ -28,3 +29,5 @@ public:
     virtual void detach(std::shared_ptr<IEventConsumer> source) = 0;
     virtual void notifyAll(int type, int type2, void *src) = 0;
 };
+
+#endif
index 4a4e1165e873d23296fbcb3bca0cda31763ca90e..52bb8b271167a2e16b87fb71485377a5a7287ea0 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _AURUM_H_
+#define _AURUM_H_
 
 #include <dlog.h>
 
@@ -59,3 +60,5 @@
 #include "Comparer.h"
 #include "A11yEvent.h"
 #include "Runnables.h"
+
+#endif
index 3792af664d3540cf6b0cc1dbd44a088172a47860..fe93d4d24ed5a23e2def378f7b2be62d1dc6f278 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _COMPARER_H_
+#define _COMPARER_H_
 
 #include "config.h"
 
@@ -95,4 +96,6 @@ private:
      * @brief TBD
      */
     bool              mEarlyReturn;
-};
\ No newline at end of file
+};
+
+#endif
index 49d59adf66b36061ccb28b74a39bb6cc7f7dd8fa..626abb9053426fff0bf4db399a310daec979acd9 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _ATSPI_ACCESSIBLE_APPLICATION_H_
+#define _ATSPI_ACCESSIBLE_APPLICATION_H_
 
 #include "AccessibleApplication.h"
 
@@ -48,4 +49,6 @@ public:
      * @since_tizen 6.0
      */
     std::string getPackageName(void) override;
-};
\ No newline at end of file
+};
+
+#endif
\ No newline at end of file
index 23ee79756e4a3266cd3b574ef00284664e30dc00..2f3da1dc9bebd604a8b548c613a7e93295efb77a 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _ATSPI_ACCESSIBLE_NODE_H_
+#define _ATSPI_ACCESSIBLE_NODE_H_
 
 #include "AccessibleNode.h"
 #include <atspi/atspi.h>
@@ -153,3 +154,5 @@ private:
      */
     AtspiAccessible *mNode;
 };
+
+#endif
index e9f04423146e0d6b83e14e830e711dfec425ee97..e53dc38c3156b3a27567023b5b272fbf1f3ad30a 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _ATSPI_ACCESSIBLE_WATCHER_H_
+#define _ATSPI_ACCESSIBLE_WATCHER_H_
 
 #include "AccessibleNode.h"
 #include "AccessibleWatcher.h"
@@ -193,3 +194,5 @@ private:
 
     static std::mutex mMutex;
 };
+
+#endif
index 4802a8d624058ca2a61ce1423f0ecf780bbde8bf..a303bc037d55f994e1d3a6ed52c310c8561370dc 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _ATSPI_ACCESSIBLE_WINDOW_H_
+#define _ATSPI_ACCESSIBLE_WINDOW_H_
 
 #include "AccessibleWindow.h"
 
@@ -33,4 +34,6 @@ public:
      */
     ~AtspiAccessibleWindow();
 
-};
\ No newline at end of file
+};
+
+#endif
index 2b5739fe6b765c7d47b32e321577825650c680a7..9ff87f6c08747c55f24859241263b03b30378fc1 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _ATSPI_WRAPPER_H_
+#define _ATSPI_WRAPPER_H_
 
 #include <atspi/atspi.h>
 #include <mutex>
@@ -50,3 +51,5 @@ private:
     static std::recursive_mutex mMutex;
     //static std::unique_lock<std::mutex> mLock;
 };
+
+#endif
index 92e42e09c3bc7e69670a5bb30a571ea5b333f757..c2e03e8304e7d42b441c03a46b738ff905fd36c8 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _MOCK_ACCESSIBLE_APPLICATION_H_
+#define _MOCK_ACCESSIBLE_APPLICATION_H_
 
 #include "AccessibleApplication.h"
 #include "MockAccessibleWindow.h"
@@ -80,4 +81,6 @@ private:
      * @brief TBD
      */
     std::vector<std::shared_ptr<AccessibleWindow>> mWindowList;
-};
\ No newline at end of file
+};
+
+#endif
index 9823d339b08c32c020cbbecd4ac1fd64b011a43a..67cde40ecd8ea67b0e2b050af9ec9c8735cbbc91 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _MOCK_ACCESSIBLE_NODE_H_
+#define _MOCK_ACCESSIBLE_NODE_H_
 
 #include "AccessibleNode.h"
 
@@ -200,3 +201,5 @@ private:
      */
     std::mutex                            mLock;
 };
+
+#endif
index cef48bf181d003b157be165e973ffa234a389092..18dd60d1c847b108eef2fa6d3574b9d346612e19 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _MOCK_ACCESSIBLE_WATCHER_H_
+#define _MOCK_ACCESSIBLE_WATCHER_H_
 
 #include "AccessibleNode.h"
 #include "AccessibleWatcher.h"
@@ -89,3 +90,5 @@ private:
 
     std::map<AtspiAccessible *, std::shared_ptr<AccessibleApplication>> mActiveAppMap;
 };
+
+#endif
index dc0695b178f8c3e34341c1e0b9b5c035e84f2c2b..a97808923ae40f3bcc0ecbf6e86fc6e29075721b 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _MOCK_ACCESSIBLE_WINDOW_H_
+#define _MOCK_ACCESSIBLE_WINDOW_H_
 
 #include "AccessibleWindow.h"
 #include "MockAccessibleNode.h"
@@ -48,4 +49,6 @@ private:
      * @brief TBD
      */
     std::shared_ptr<MockAccessibleNode> mMockNode;
-};
\ No newline at end of file
+};
+
+#endif
\ No newline at end of file
index 1e10b6ab39376c35e0efb443df50976c4eb58857..93705c1a81035fb5f0251cf270f63f8d8aab41ff 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _MOCK_DEVICE_IMPL_H_
+#define _MOCK_DEVICE_IMPL_H_
 
 #include "config.h"
 #include "IDevice.h"
@@ -291,4 +292,6 @@ public:
      * @brief TBD
      */
     Size2D<int> mScreenSize;
-};
\ No newline at end of file
+};
+
+#endif
index cac7a131658f1127d22a1fd9b895200b913ade11..0bcbff93fe038cc57c9121f70c1522df13b22da4 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _TIZEN_DEVICE_IMPL_H_
+#define _TIZEN_DEVICE_IMPL_H_
 
 #include "config.h"
 #include "IDevice.h"
@@ -195,4 +196,6 @@ private:
      * @brief TBD
      */
     Size2D<int> mScreenSize;
-};
\ No newline at end of file
+};
+
+#endif
\ No newline at end of file
index 159ad5aadcec264b83a4acc19c019bbeba3ad698..cef931c3cdb9325af8c8f28b56709f462037cfe8 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _IDEVICE_H_
+#define _IDEVICE_H_
 
 #include "config.h"
 #include "Rect.h"
@@ -274,4 +275,6 @@ public:
      * @since_tizen 6.5
      */
     virtual const Size2D<int> getScreenSize() = 0;
-};
\ No newline at end of file
+};
+
+#endif
index b5437f832c5668e10a06f14efe5f2619c37999dd..04df60f1e96feb6a6f241504575972595af12986 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _ISEARCHABLE_H_
+#define _ISEARCHABLE_H_
 
 #include "config.h"
 
@@ -57,4 +58,6 @@ public:
      */
     virtual std::vector<std::shared_ptr<UiObject>> findObjects(
         const std::shared_ptr<UiSelector> selector) const = 0;
-};
\ No newline at end of file
+};
+
+#endif
index 3d40ac9c7796681f4b7204284877f83b5e0844db..ee4f18a6d823c4003d1d7a0a59663ab54060ccc2 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _POINT2D_H_
+#define _POINT2D_H_
 
 /**
  * @brief Point2d Class
@@ -78,3 +79,5 @@ public:
      */
     T y;
 };
+
+#endif
index de6fb0f83c22ef2768e68e2db392d5429659311f..590206b7521ecf542ea002984a6e98b66bb18abf 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _RECT_H_
+#define _RECT_H_
 
 #include "Point2D.h"
 
@@ -110,3 +111,5 @@ public:
      */
     Point2D<T> mBottomRight;
 };
+
+#endif
index c48a751eb73542960ebe85fcae7176053a1b4284..c8e145911937b8a46611aeda25af46a27084c82d 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _SIZE2D_H_
+#define _SIZE2D_H_
 
 /**
  * @brief Size2D Class.
@@ -78,3 +79,5 @@ public:
     T width;
     T height;
 };
+
+#endif
index cbbc2374556bd9bf5660640e759d2ac90209e676..bcbca847744b55e3765878856ea063fc74d81027 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _BITMASK_H_
+#define _BITMASK_H_
 
 #include <type_traits>
 
@@ -88,3 +89,4 @@ operator^=(E& lhs,E rhs){
     return lhs;
 }
 
+#endif
index 56de3fc8de0995a697ca90dd22817d7a8837ab15..28f430ee33c99d9c1b6fb55eef3381838b722136 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _PARTIAL_MATCH_H_
+#define _PARTIAL_MATCH_H_
 
 #include <list>
 #include <memory>
@@ -118,4 +119,6 @@ private:
      * @brief TBD
      */
     std::list<std::shared_ptr<PartialMatch>> mPartialMatches;
-};
\ No newline at end of file
+};
+
+#endif
index 7e2c14675f4f7d2e31ac6102435578e9fa2e5d5d..5ecd0deb50b14270e2e1b7916c3d4b1677511b51 100644 (file)
  *
  */
 
-#pragma once
+#ifndef _RUNNABLE_H_
+#define _RUNNABLE_H_
 
 class Runnable
 {
 public:
-       virtual ~Runnable() { }
-       virtual void run() const = 0;
+    virtual ~Runnable() { }
+    virtual void run() const = 0;
 };
 
+#endif
index 1282d5342f914cd6f343a439fd529c2bd130b7f4..29f93263e2b3d245362c905d6baa321fc4aa5191 100644 (file)
@@ -15,6 +15,9 @@
  *
  */
 
-#pragma once
+#ifndef _RUNNABLES_H_
+#define _RUNNABLES_H_
 
 #include "SendKeyRunnable.h"
+
+#endif
index 43081ac40cc2080138cbd40d054707911a45d91b..4fcd77c50c70ed2bbb2e22ebb4e7a7f017e9bfa0 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _SEND_KEY_RUNNABLE_H_
+#define _SEND_KEY_RUNNABLE_H_
 
 #include <string>
 
 
 class SendKeyRunnable : public Runnable {
 protected:
-       std::string mKeycode;
+    std::string mKeycode;
 
 public:
     SendKeyRunnable(std::string keycode);
     void run() const override;
 };
+
+#endif
index f375f775f8826ed4c4ea321ab0417146cc659ea5..0338b380b5e0906896787bb057b07fcf7705d518 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _SEL_H_
+#define _SEL_H_
 
 #include "config.h"
 
@@ -23,6 +24,7 @@
 #include <string>
 
 #include "UiSelector.h"
+
 /**
  * @brief Sel class
  * @since_tizen 5.5
@@ -52,4 +54,6 @@ public:
      * @since_tizen 5.5
      */
     static std::shared_ptr<UiSelector> depth(int depth);
-};
\ No newline at end of file
+};
+
+#endif
index 2dfc31c778b500e660927c58b3a9153468c84920..9b914759eaf263cdf082c90438ce85fa621b7e1e 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _UI_DEVICE_H_
+#define _UI_DEVICE_H_
 
 #include "config.h"
 
@@ -401,3 +402,5 @@ private:
     IDevice *mDeviceImpl;
     const Waiter *mWaiter;
 };
+
+#endif
index 770b0902a3e7c688708ad5bd4a22474da8e36c48..5699b7dccff65f200f99d048182ae930d1d52576 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _UI_OBJECT_H_
+#define _UI_OBJECT_H_
 
 #include "config.h"
 
@@ -397,3 +398,5 @@ private:
      */
     static const unsigned int LOGNCLICK_INTERVAL = 500;
 };
+
+#endif
index 3bca05c98069f8d7a2de417aa2569f196f854921..090e74676315c905b22268dd4c0bfe9dc16beda0 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _UI_SCROLLABLE_H_
+#define _UI_SCROLLABLE_H_
 
 #include "UiObject.h"
 #include <memory>
@@ -93,4 +94,6 @@ private:
      * @brief TBD
      */
     int mScrollStep;
-};
\ No newline at end of file
+};
+
+#endif
index 90304adf4f90cf933fe26387d19eb2436dd4c3f1..227feb8b24785f37fd05142400159478a14c548b 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _UI_SELECTOR_H_
+#define _UI_SELECTOR_H_
 
 #include "config.h"
 
@@ -380,4 +381,6 @@ public:
      * @since_tizen 5.5
      */
     std::shared_ptr<UiSelector> mParent;
-};
\ No newline at end of file
+};
+
+#endif
index bc06896fb9101d215b20e40ed0593ef402501df3..eddef7b3340719d2f1c664bf8a776c4849591fce 100644 (file)
@@ -1,4 +1,22 @@
-#pragma once
+/*
+ * Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *               http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+
+#ifndef _UTIL_H_
+#define _UTIL_H_
 
 #include <functional>
 #include "ISearchable.h"
@@ -61,4 +79,6 @@ public:
      */
     static std::function<bool(const UiObject *)> checkable(
         const bool isCheckable);
-};
\ No newline at end of file
+};
+
+#endif
index 0377d2f4b1c59121331cc22b6ec02aed2b6c7b62..82a9e4abb9baa72bdcd2827731dcb2a39a4b5b84 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _WAITER_H_
+#define _WAITER_H_
 
 #include "ISearchable.h"
 
@@ -85,4 +86,6 @@ private:
      * @since_tizen 5.5
      */
     const int          WAIT_TIMEOUT_MS;
-};
\ No newline at end of file
+};
+
+#endif
index fadb148555698ccb331fd731dc9876f25c956a6a..e7d348a0b7f6108f3df448c9435450640b5e7f4b 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _AURUM_SERVICE_IMPL_H_
+#define _AURUM_SERVICE_IMPL_H_
 
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
@@ -107,3 +108,5 @@ public:
                             const ::aurum::ReqDumpObjectTree *request,
                             ::aurum::RspDumpObjectTree *response) override;
 };
+
+#endif
index 43ff82bb55fb77fd1d6e9ead49c5da0d43c6c3e9..cef1deb24018742cd9bd4e92dd55cbe9264899fb 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 15e4f5a900d8f794c17a0e07c582378b284fd31d..8f7a4652210db0c12ba34011d0711e0e6ad379ad 100644 (file)
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
 #include "ObjectMapper.h"
 #include <aurum.grpc.pb.h>
 #include "config.h"
+
 class ClickCommand : public Command {
 protected:
     const ::aurum::ReqClick *mRequest;
index fffee04c93e4073ad22da2fbf3db00f975b9dfe9..522236473b75afe2e74b7ff9d4a5660a411e8748 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 8aa2c97419c3fa3f3eb44bfab498431f3968b00b..634edbe064c7b318bcb7e8cc7efea451fe909e13 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _COMMAND_H_
+#define _COMMAND_H_
 
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
@@ -31,3 +32,5 @@ public:
     virtual ::grpc::Status executePost();
     virtual ::grpc::Status executePre();
 };
+
+#endif
index 1b465f6730fe42b9f7ef1503c74082c2dc150db9..13118950febde05553c524786f17fa4101582a84 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include "Commands/KillServerCommand.h"
 #include "Commands/FindElementCommand.h"
 
index 7856f4c572fda2bbaab240d5cb3eaf9a5b279a26..da5ec04e189b9b245475ecdb55144c31fe8a0584 100644 (file)
@@ -15,7 +15,6 @@
  *
  */
 
-#pragma once
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 1e762473c1ce1b622514a6a2812564b59c67e216..1e2f3f03f1752d5eae72480d8737ffcde0de3f49 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 9537e15d10eb41247a5dd67869d858ce1882d70c..e4ea2765b1e2ce60117a4c5b63103d9d398b5327 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 539ba5a6f0233696cb4bf489145d0302b8667982..b62cb20d807238e7e8a2088284b15f1ba9d44d7b 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index d9db9ed50946eeb546caca1e7db600d1704287db..94ef0a9d0c0357465e54340769d04202acce0570 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index ffa85ab07240bd9304a1e8d9fc4524eba7d3c8a1..9112f14e231b03775328222be91a30212f01bce0 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index c9e02636ce9b015c02fef2aa92a1f72dd817de75..ef2177721b7d778067fb0e7e3e1d858527a0809e 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 82a86c7f2ca363f72bdb9bd2bee21b70bb017846..78fb8ca85d5f548449b94c264c04b67d72595960 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 3f6874d8e39297af322944bb9d55a0c1c3820cfb..50cb6b729a508230989136fc478220e74dfd2035 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 14fed9e3988cdba730815db90b8fc625a5db78c8..a241697ecee86932f5783f8cdd3c0f6a06cd12a5 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 2e807d111ee21080af20c04a6ac83b2f89da98d4..04032d4914380234f4d805fadab62d340d82ab43 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 915df934ed8d58864d87eea36620c80c4ac841a0..c8f62f8df80b80b9a5f5fcc0a6e836298a56959f 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index dc335c89fc419607e25638d2df5a3aea381fee55..2e1ccbf42c2203dacaf89aef05e8ea4015c8e701 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 534cd3a161a1b2a6b91da497510eba0212a099e9..2683a7b101be3e72e20848b46c60c07dc7e93187 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 6d99a3522ee0758ecdcb5ce93ed8ec13f2f2e6be..13eccee41a2237d595ebc91b079778402ab41d23 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 6ec99096bacc1865a34661c3f4daba6caef036b4..648f25a0c5d7014d02fd8e2549ed26d8d1656c2f 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 19e465d1af2a9c582b950bebe5dfb7c940daeaba..b7a9c8698158dfafe2f45b1fe75fa8d4a0622f2d 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 2ed3f3c4f96f82873b560cdb5cd9e4e168c62f5e..4ab2a2eebfe16004b399454cb907bd9fab8c782c 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index ab7fb3d95148810f40880a833973d0b3728f03da..03553502873b50c7b5f61b26c132a6855ab84446 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 24dac7ea93380dc52cb5663da9ddaf6f7f4faf3a..54bbebdb01a48bbc7e44f59a7b3661a9f5a12f9d 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index efe6eee5b47c5c372a6c15d8f23bedf471f276ad..c319ecdfb5276cea0437b51772a69bd6a3ed3707 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 3e255f4d97e5d710a0fd54e81db845a73027be37..8d2bf08ff77f997192ea049e58e5ab81eeb73d18 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <gio/gio.h>
 #include <grpcpp/grpcpp.h>
 #include "Commands/Command.h"
index 7342e772424101769c64a57829df04240a96c06e..83262665e36bf7e1c0e5c9870ebab1fb5e535682 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _OBJECT_MAPPER_H_
+#define _OBJECT_MAPPER_H_
 
 #include <map>
 #include <string>
@@ -40,3 +41,5 @@ public:
     bool removeElement(const std::string elementId);
     void cleanUp();
 };
+
+#endif
index b92447440295e71b4c1b8e08c9e1e6c3450dfc97..b951681b4ef7769b4b8c07e438a76be1f53b7619 100644 (file)
@@ -15,8 +15,6 @@
  *
  */
 
-#pragma once
-
 #include <string>
 
 #include "Runnable.h"
index 46665e58bd3aafe2061c04bd3d43ce53ff5f5fed..c5b9bc55c87dc101275ddcf38dc5f864b77ce591 100644 (file)
@@ -15,7 +15,8 @@
  *
  */
 
-#pragma once
+#ifndef _BOOT_STRAP_H_
+#define _BOOT_STRAP_H_
 
 #include <dlog.h>
 
@@ -42,3 +43,5 @@
                    __FILE__, __func__, __LINE__, ##arg); \
     } while (0); })
 #endif
+
+#endif