* limitations under the License.
*/
-#ifndef __WATCH_HOLDER_AMBIENT_LISTENER_HH__
-#define __WATCH_HOLDER_AMBIENT_LISTENER_HH__
+#ifndef WATCH_HOLDER_BASE_SRC_AMBIENT_LISTENER_HH_
+#define WATCH_HOLDER_BASE_SRC_AMBIENT_LISTENER_HH_
#include <bundle_cpp.h>
#include <aul_app_com.h>
+#include <string>
+
#include "common.hh"
namespace watch_holder {
static int OnReceiveSignal(const char* endpoint, aul_app_com_result_e e,
bundle* envelope, void* user_data);
- virtual void OnAmbientChanged(bool enter, tizen_base::Bundle& extra) = 0;
- virtual void OnAmbientEvent(EventType ev, std::string sender, tizen_base::Bundle extra) = 0;
+ virtual void OnAmbientChanged(bool enter,
+ const tizen_base::Bundle& extra) = 0;
+ virtual void OnAmbientEvent(EventType ev, std::string sender,
+ tizen_base::Bundle extra) = 0;
private:
aul_app_com_connection_h ambient_changed_signal_conn_ = nullptr;
} // namespace watch_holder
-#endif // __WATCH_HOLDER_AMBIENT_LISTENER_HH__
\ No newline at end of file
+#endif // WATCH_HOLDER_BASE_SRC_AMBIENT_LISTENER_HH_