Fix issue detected by static analysis tool
[platform/core/uifw/inputdelegator.git] / inc / MicEffector.h
index 85682b8..7264fd7 100755 (executable)
@@ -17,9 +17,8 @@
 #pragma once
 
 #include <vector>
-#include <efl_assist.h>
+#include <efl_extension.h>
 
-#include "Debug.h"
 
 #define SAMPLE_COUNT 59
 
@@ -91,7 +90,7 @@ class MicEffector
                 * @param idx frame index value
                 *
                 */
-               void DrawQue(int idx, bool is_start=true);
+               void DrawQue(int idx, bool is_start = true);
 
                /**
                 * Draw image to show que animation.
@@ -103,7 +102,7 @@ class MicEffector
                 * @param is_lastcmd
                 *
                 */
-               void DrawWave(unsigned int idx, int amount, int prev_amount, double opacity = 1.0f, bool is_lastcmd=false);
+               void DrawWave(unsigned int idx, int amount, int prev_amount, double opacity = 1.0f, bool is_lastcmd = false);
 
                /**
                 * Get ratio for tuned volume value.
@@ -141,14 +140,6 @@ class MicEffector
                void DrawDummyFrame();
 
                /**
-                * Efl vector canvas handle
-                *
-                */
-//             ea_vector_canvas_h *canvas;
-//             ea_vector_path_h *path;
-//             ea_vector_paint_h *paint;
-
-               /**
                 * Volume values.
                 *
                 */
@@ -156,12 +147,15 @@ class MicEffector
                std::vector<int> current;
 
        public :
-               int startcount;
                int drawcount;
                bool forcestop;
                bool started;
                bool fake;
 
+               Evas_Object *vg;
+               Efl_VG *root;
+               Efl_VG *shape;
+
                /**
                 * timer handle
                 *
@@ -179,7 +173,6 @@ class MicEffector
                 *
                 */
                IMicEffector& ieffect;
-
 };
 
 }} /** end of is::ui */