namespace Tizen { namespace Io {
static const int _MAX_PATH_LENGTH = 256;
-class _IMmcStorageServiceEventListener;
+class _IMmcStorageManagerListener;
/**
* @class _MmcStorageManagerService
typedef std::pair< std::string, Tizen::Base::String* > _AppListPair;
public:
- result Construct(_IMmcStorageServiceEventListener* pStub);
+ result Construct(_IMmcStorageManagerListener* pStub);
result Mount(void);
private:
static _MmcStorageManagerService* __pMmcStorageManagerService;
- _IMmcStorageServiceEventListener* __pStub;
+ _IMmcStorageManagerListener* __pStub;
_AppList __appList;
Tizen::Base::Collection::HashMap* __pVirtualRootList;
friend class Tizen::App::_ContextManager;
#include <FBaseString.h>
#include <FIo_IIpcServerEventListener.h>
-#include <FIo_IMmcStorageServiceEventListener.h>
+#include <FIo_IMmcStorageManagerListener.h>
namespace Tizen { namespace Io {
class _MmcStorageManagerStub :
public Tizen::Base::Object,
public Tizen::Io::_IIpcServerEventListener,
- public Tizen::Io::_IMmcStorageServiceEventListener
+ public Tizen::Io::_IMmcStorageManagerListener
{
public:
ospResult = _MmcStorageManagerService::ConvertNativeErrorToResult(response);
SysTryLog(NID_IO, !IsFailed(ospResult), "[%s] Failed to mount MMC, errno: %d (%s)", GetErrorMessage(ospResult), response, strerror(response));
- ((_IMmcStorageServiceEventListener*)data)->OnMmcMountResponseReceived(ospResult);
+ ((_IMmcStorageManagerListener*)data)->OnMmcMountResponseReceived(ospResult);
}
static void
ospResult = _MmcStorageManagerService::ConvertNativeErrorToResult(response);
SysTryLog(NID_IO, !IsFailed(ospResult), "[%s] Failed to unmount MMC, errno: %d (%s)", GetErrorMessage(ospResult), response, strerror(response));
- ((_IMmcStorageServiceEventListener*)data)->OnMmcUnmountResponseReceived(ospResult);
+ ((_IMmcStorageManagerListener*)data)->OnMmcUnmountResponseReceived(ospResult);
}
static void
ospResult = _MmcStorageManagerService::ConvertNativeErrorToResult(response);
SysTryLog(NID_IO, !IsFailed(ospResult), "[%s] Failed to format MMC, errno: %d (%s)", GetErrorMessage(ospResult), response, strerror(response));
- ((_IMmcStorageServiceEventListener*)data)->OnMmcFormatResponseReceived(ospResult);
+ ((_IMmcStorageManagerListener*)data)->OnMmcFormatResponseReceived(ospResult);
}
_MmcStorageManagerService::_MmcStorageManagerService(void)
}
result
-_MmcStorageManagerService::Construct(_IMmcStorageServiceEventListener* pStub)
+_MmcStorageManagerService::Construct(_IMmcStorageManagerListener* pStub)
{
__pStub = pStub;