sensor_base: modify get_timestamp() to protected functions 02/64502/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 28 Mar 2016 13:40:33 +0000 (22:40 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Fri, 1 Apr 2016 10:38:29 +0000 (19:38 +0900)
Change-Id: Ideaf97be8e3b9440b4cb4446b6fb0db843e38fc5
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/server/sensor_base.h

index 95ea6c5..b69ca8e 100644 (file)
@@ -77,6 +77,9 @@ public:
 protected:
        void set_permission(int permission);
 
+       static unsigned long long get_timestamp(void);
+       static unsigned long long get_timestamp(timeval *t);
+
 private:
        sensor_id_t m_id;
        int m_permission;
@@ -93,9 +96,6 @@ private:
 
        virtual bool on_start(void);
        virtual bool on_stop(void);
-
-       static unsigned long long get_timestamp(void);
-       static unsigned long long get_timestamp(timeval *t);
 };
 
 #endif /* _SENSOR_BASE_H_ */