Change event sync to async
[platform/framework/native/appfw.git] / src / io / inc / FIo_IMmcStorageServiceEventListener.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //     http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 /**
18  * @file        FIo_IMmcStorageServiceEventListener.h
19  * @brief       This is the header file for the _IMmcStorageServiceEventListener class.
20  */
21
22 #ifndef _FIO_INTERNAL_IMMC_STORAGE_SERVICE_EVENT_LISTENER_H_
23 #define _FIO_INTERNAL_IMMC_STORAGE_SERVICE_EVENT_LISTENER_H_
24
25 #include <FBaseResult.h>
26 #include <FBaseRtIEventListener.h>
27
28 namespace Tizen { namespace Io
29 {
30
31 /**
32  * @interface _IMmcStorageServiceEventListener
33  * @brief       This interface defines the listener for the events from _MmcStorageManagerService
34  * @since 2.1
35  *
36  * Application should not implement this interface.
37  */
38 class _OSP_EXPORT_ _IMmcStorageServiceEventListener
39         : virtual public Tizen::Base::Runtime::IEventListener
40 {
41 public:
42
43         ~_IMmcStorageServiceEventListener(void) {}
44
45         virtual void OnMmcMountResponseReceived(result r) = 0;
46
47         virtual void OnMmcUnmountResponseReceived(result r) = 0;
48
49         virtual void OnMmcFormatResponseReceived(result r) = 0;
50 }; // _MmcStorageServiceEventListener
51
52 } } // Tizen::Io
53
54 #endif // _FIO_INTERNAL_IMMC_STORAGE_SERVICE_EVENT_LISTENER_H_