UT_FileShortcutUtil Class Reference

#include <UT_FileShortcutUtil.h>

List of all members.

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


Detailed Description

Definition at line 31 of file UT_FileShortcutUtil.h.


Constructor & Destructor Documentation

UT_FileShortcutUtil::UT_FileShortcutUtil (  ) 

UT_FileShortcutUtil::~UT_FileShortcutUtil (  ) 


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on Fri May 25 00:10:46 2012 for HDK by  doxygen 1.5.9