#include <dlog.h>
#include "top-app-surface.hh"
-#include "internal.hh"
+#include "util.hh"
#ifdef LOG_TAG
#undef LOG_TAG
return 0;
}
- opr = ambient_viewer::internal::GetOpr(source_data, width, height);
+ opr = ambient_viewer::util::GetOpr(source_data, width, height);
tbm_surface_unmap(surface);
#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;
return opr;
}
-} // namespace ambient_viewer::internal
+} // namespace ambient_viewer::util
* 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__
#include <dlog.h>
#include "watch-surface.hh"
-#include "internal.hh"
+#include "util.hh"
#ifdef LOG_TAG
#undef LOG_TAG
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;