2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
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
8 // http://www.apache.org/licenses/LICENSE-2.0
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.
18 * @file FIo_MmcStorageManagerProxy.h
19 * @brief This is the header file of the _MmcStorageManagerProxy class.
22 #ifndef _FIO_INTERNAL_MMC_STORAGE_MANAGER_PROXY_H_
23 #define _FIO_INTERNAL_MMC_STORAGE_MANAGER_PROXY_H_
25 #include <FBaseObject.h>
26 #include <FBaseString.h>
28 #include <FIo_IIpcClientEventListener.h>
30 namespace Tizen { namespace Io
33 class _IMmcStorageServiceEventListener;
36 class _MmcStorageManagerProxy
37 : public Tizen::Io::_IIpcClientEventListener
38 , public Tizen::Base::Object
41 _MmcStorageManagerProxy(void);
42 virtual ~_MmcStorageManagerProxy(void);
44 result Construct(_IMmcStorageServiceEventListener* pListener);
50 virtual void OnIpcResponseReceived(Tizen::Io::_IpcClient& client, const IPC::Message& message);
52 void MountResponseReceived(result r);
53 void UnmountResponseReceived(result r);
54 void FormatResponseReceived(result r);
57 _MmcStorageManagerProxy(const _MmcStorageManagerProxy& rhs);
59 _MmcStorageManagerProxy& operator =(const _MmcStorageManagerProxy& rhs);
62 _IpcClient* __pIpcClient;
63 _IMmcStorageServiceEventListener* __pListener;
65 }; // _MmcStorageManagerProxy
69 #endif // _FIO_INTERNAL_MMC_STORAGE_MANAGER_PROXY_H_