, __pVideoContentInfo(null)
, __pCameraSettingsPresentationModel(null)
, __pBitmap(null)
- , __lastestContentName(L"")
+ , __latestContentName(L"")
, __errorResult(L"")
, __appControlRequestType(APP_CONTROL_REQUEST_TYPE_CANCELED)
, __dir(ORIENTATION_STATUS_NONE)
DateTime temporaryEntryDateTime = DateTime::GetMinValue();
int storageType = STORAGE_TYPE_PHONE;
- AppLogDebug("__lastestContentName content name is %ls",__lastestContentName.GetPointer());
+ AppLogDebug("__lastestContentName content name is %ls",__latestContentName.GetPointer());
r = GetValue(STORAGE_TYPE, storageType);
TryCatch(r == E_SUCCESS, , "Err catch [%s]", GetErrorMessage(r));
r = CreateFileName(*pFullFileName);
TryCatch(r == E_SUCCESS, , "pFullFileName is null");
- __lastestContentName.Clear();
- r = __lastestContentName.Append(pFullFileName->GetPointer());
+ __latestContentName.Clear();
+ r = __latestContentName.Append(pFullFileName->GetPointer());
TryCatch(r == E_SUCCESS, , "String::Append() fail[%s]", GetErrorMessage(r));
AppLogDebug("Record pFullFileName = %ls", pFullFileName->GetPointer());
r = __pVideoRecorder->SetRecordingRotation(rotate);
TryCatch(r == E_SUCCESS, , "VideoRecorder::SetRecordingRotation() fail[%s]", GetErrorMessage(r));
- AppLogDebug("latest file name is %ls",__lastestContentName.GetPointer());
- r = __pVideoRecorder->CreateVideoFile(__lastestContentName, true);
+ AppLogDebug("latest file name is %ls",__latestContentName.GetPointer());
+ r = __pVideoRecorder->CreateVideoFile(__latestContentName, true);
AppLogDebug("create video file result is %s",GetErrorMessage(r));
TryCatch(r == E_SUCCESS, , "VideoRecorder::CreateVideoFile() fail[%s]", GetErrorMessage(r));
ret = CreateFileName(*pFullFileName);
TryCatch(ret == E_SUCCESS, , "pFullFileName is null");
- __lastestContentName.Clear();
- ret = __lastestContentName.Append(pFullFileName->GetPointer());
+ __latestContentName.Clear();
+ ret = __latestContentName.Append(pFullFileName->GetPointer());
TryCatch(ret == E_SUCCESS, , "String::Append() fail[%s]", GetErrorMessage(ret));
AppLogDebug("OnCameraCaptured pFullFileName = %ls", pFullFileName->GetPointer());
ret = pContentManager->Construct();
TryCatch(ret == E_SUCCESS, , "ContentManager->Construct() failed(%s)", GetErrorMessage(r));
- AppLogDebug("latest content name is %ls",__lastestContentName.GetPointer());
- r = ContentManager::ScanFile(__lastestContentName);
- __CurrentVideoFileName = __lastestContentName;
+ AppLogDebug("latest content name is %ls",__latestContentName.GetPointer());
+ r = ContentManager::ScanFile(__latestContentName);
+ __CurrentVideoFileName = __latestContentName;
if (storageType == STORAGE_TYPE_PHONE)
{
ret = pContentManager->Construct();
TryCatch(ret == E_SUCCESS, , "ContentManager->Construct() failed(%s)", GetErrorMessage(ret));
- contentId = pContentManager->CreateContent(camcorderTemporaryFilePath, __lastestContentName, true);
+ contentId = pContentManager->CreateContent(camcorderTemporaryFilePath, __latestContentName, true);
TryCatch(Tizen::Base::UuId::GetInvalidUuId() != contentId, GetLastResult(), "CreateContent failed.");
videoContentInfo = static_cast<VideoContentInfo*>(pContentManager->GetContentInfoN(contentId));
storageType = STORAGE_TYPE_PHONE;
}
- removeFileName = __lastestContentName;
+ removeFileName = __latestContentName;
AppLogDebug("removeFileName is %ls",removeFileName.GetPointer());
AppLogDebug("RemoveVideoFile::GetRecorderState() = %d", __pVideoRecorder->GetState());
void
CameraPresentationModel::UpdateContentFile(void)
{
- AppLogDebug("latest content name is %ls",__lastestContentName.GetPointer());
- ContentManager::ScanFile(__lastestContentName);
+ AppLogDebug("latest content name is %ls",__latestContentName.GetPointer());
+ ContentManager::ScanFile(__latestContentName);
SetAppControlRequestType(APP_CONTROL_REQUEST_TYPE_SUCCEEDED);
}
void
CameraPresentationModel::GetUpdatedContentName(Tizen::Base::String& latestContentName)
{
- latestContentName = __lastestContentName;
+ latestContentName = __latestContentName;
}