AppControl* pAc = null;
const String* pAttachKey = null;
const String* pUriType = null;
- //const HashMap* pResultHash = null;
result r = E_SUCCESS;
HashMap dataList;
MessageBox messageBox;
int modalResult = 0;
+ //Disable the form to avoid any more clicks, if the share button is already clicked
+ SetEnabled(false);
+
dataList.Construct();
pAttachKey = new (std::nothrow) const String(L"http://tizen.org/appcontrol/data/path");
}
break;
}
- //pResultHash = FolderEntryEditorPresentationModel::GetInstance()->GetCheckedList();
if (_pFileManager != null && _pFileManager->IsCheckedListNull() == false)
{
//to avoid any file modification event
if ( r == E_SUCCESS)
{
+ ((MyFilesApp*) Application::GetInstance())->SetAppControlLaunched(true);
if(_pFileEventManager != null)
{
_pFileEventManager->RemovePath(FolderNavigationPresentationModel::GetCurrentPath());
SubBaseFileManageForm::OnAppControlCompleted(void)
{
AppLogDebug("SubBaseFileManageForm::OnAppControlCompleted");
- //On coming back from Email/Message appcontrol, register the FileEvent Listener back
+ //On coming back from Email/Message appcontrol, Enable the Form and
+ //register the FileEvent Listener back
+ SetEnabled(true);
if(_pFileEventManager == null)
{
_pFileEventManager = new (std::nothrow)FileEventManager();
}
_pFileEventManager->AddPath(FolderNavigationPresentationModel::GetCurrentPath(), FILE_EVENT_TYPE_DELETE | FILE_EVENT_TYPE_MOVE_SELF);
}
+
+void
+SubBaseFileManageForm::OnSettingValueChanged(void)
+{
+ //Empty Implementation.
+}