static bool GetAutoRenamedName(std::wstring &Name); static SOUND_NOTIFY_MODE uiSoundNotify; void uiInit(SOUND_NOTIFY_MODE Sound) { … } // Additionally to handling user input, it analyzes and sets command options. // Returns only 'replace', 'skip' and 'cancel' codes. UIASKREP_RESULT uiAskReplaceEx(CommandData *Cmd,std::wstring &Name,int64 FileSize,RarTime *FileTime,uint Flags) { … } bool GetAutoRenamedName(std::wstring &Name) { … }