Change event sync to async
[platform/framework/native/appfw.git] / src / io / FIo_FileEventManagerImpl.cpp
index 1e5a90b..61da638 100644 (file)
@@ -64,8 +64,13 @@ public:
 };
 
 class _FileEvent
-        : public Event
+        : public _Event
 {
+public:
+       _FileEvent(void)
+       {
+               _Event::Initialize();
+       }
 protected:
         virtual void FireImpl(IEventListener& listener, const IEventArg& arg)
         {
@@ -164,7 +169,7 @@ _FileEventManagerImpl::SendEvent(void)
                 if(pEventArg != null)
                 {
                        SysLog(NID_IO, "_FileEventManagerImpl::SendEvent Event Fire");
-                       __pEvent->Fire(*pEventArg);
+                       __pEvent->FireAsync(*pEventArg);
                        r = E_SUCCESS;
                 }