Fix qualified name 47/228447/1
authorhyunho <hhstark.kang@samsung.com>
Mon, 23 Mar 2020 06:55:39 +0000 (15:55 +0900)
committerhyunho <hhstark.kang@samsung.com>
Mon, 23 Mar 2020 06:55:39 +0000 (15:55 +0900)
internal is a C++ reserved word

Change-Id: Ie404de6da23ce610ff3a6a02aa85e15e12b80b45
Signed-off-by: hyunho <hhstark.kang@samsung.com>
ambient-viewer/src/top-app-surface.cc
ambient-viewer/src/util.cc [moved from ambient-viewer/src/internal.cc with 95% similarity]
ambient-viewer/src/util.hh [moved from ambient-viewer/src/internal.hh with 77% similarity]
ambient-viewer/src/watch-surface.cc

index 312d524..194eb36 100644 (file)
@@ -17,7 +17,7 @@
 #include <dlog.h>
 
 #include "top-app-surface.hh"
-#include "internal.hh"
+#include "util.hh"
 
 #ifdef LOG_TAG
 #undef LOG_TAG
@@ -89,7 +89,7 @@ float TopAppSurface::GetOpr() const {
     return 0;
   }
 
-  opr = ambient_viewer::internal::GetOpr(source_data, width, height);
+  opr = ambient_viewer::util::GetOpr(source_data, width, height);
 
   tbm_surface_unmap(surface);
 
similarity index 95%
rename from ambient-viewer/src/internal.cc
rename to ambient-viewer/src/util.cc
index c3fd82d..742ed52 100644 (file)
 
 #include <system_info.h>
 
-#include "internal.hh"
+#include "util.hh"
 
 #define KEY_SCREEN_SHAPE_CIRCLE "http://tizen.org/feature/screen.shape.circle"
 
-namespace ambient_viewer::internal {
+namespace ambient_viewer::util {
 
 float GetOpr(void* source_data, int width, int height) {
   int *source;
@@ -74,4 +74,4 @@ float GetOpr(void* source_data, int width, int height) {
   return opr;
 }
 
-}  // namespace ambient_viewer::internal
+}  // namespace ambient_viewer::util
similarity index 77%
rename from ambient-viewer/src/internal.hh
rename to ambient-viewer/src/util.hh
index 0457719..d2f9ddb 100644 (file)
  * limitations under the License.
  */
 
-#ifndef __AMBIENT_VIEWER_INTERNAL_H__
-#define __AMBIENT_VIEWER_INTERNAL_H__
+#ifndef __AMBIENT_VIEWER_UTIL_H__
+#define __AMBIENT_VIEWER_UTIL_H__
 
-namespace ambient_viewer::internal {
+namespace ambient_viewer::util {
 
   float GetOpr(void* source_data, int width, int height);
 
-}  // namespace ambient_viewer::internal
+}  // namespace ambient_viewer::util
 
-#endif  // __AMBIENT_VIEWER_INTERNAL_H__
+#endif  // __AMBIENT_VIEWER_UTIL_H__
 
 
 
index 7f455d9..ff964a3 100644 (file)
@@ -16,7 +16,7 @@
 #include <dlog.h>
 
 #include "watch-surface.hh"
-#include "internal.hh"
+#include "util.hh"
 
 #ifdef LOG_TAG
 #undef LOG_TAG
@@ -91,7 +91,7 @@ float WatchSurface::GetOpr() const {
     return 0;
   }
 
-  opr = ambient_viewer::internal::GetOpr(source_data, width, height);
+  opr = ambient_viewer::util::GetOpr(source_data, width, height);
   tbm_surface_unmap(surface);
 
   return opr;