#include <UT_FileShortcutUtil.h>
Public Member Functions | |
| UT_FileShortcutUtil () | |
| ~UT_FileShortcutUtil () | |
| bool | resolve (const char *shortcut_path, UT_String &real_path, bool prompt_missing, bool *is_dir=NULL) const |
Definition at line 31 of file UT_FileShortcutUtil.h.
| UT_FileShortcutUtil::UT_FileShortcutUtil | ( | ) |
| UT_FileShortcutUtil::~UT_FileShortcutUtil | ( | ) |
| bool UT_FileShortcutUtil::resolve | ( | const char * | shortcut_path, | |
| UT_String & | real_path, | |||
| bool | prompt_missing, | |||
| bool * | is_dir = NULL | |||
| ) | const |
Find the real path represented by the give shortcut. If prompt_missing is true, then when the OS fails to find the shortcut target it will ask the user. When given the is_dir flag, it will be set to true if the real path is a directory. This function returns true on success.
1.5.9