HDK
|
#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 |
bool | create (const char *shortcut_path, const char *real_path) const |
Create a shortcut. More... | |
Definition at line 24 of file UT_FileShortcutUtil.h.
UT_FileShortcutUtil::UT_FileShortcutUtil | ( | ) |
UT_FileShortcutUtil::~UT_FileShortcutUtil | ( | ) |
Create a shortcut.
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.