00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef __UT_FILESHORTCUTUTIL_H__
00023 #define __UT_FILESHORTCUTUTIL_H__
00024
00025 #include "UT_API.h"
00026 #include <boost/scoped_ptr.hpp>
00027
00028 class FS_Stat;
00029 class UT_String;
00030
00031 class UT_API UT_FileShortcutUtil
00032 {
00033 public:
00034 UT_FileShortcutUtil();
00035 ~UT_FileShortcutUtil();
00036
00037
00038
00039
00040
00041
00042 bool resolve(const char *shortcut_path, UT_String &real_path,
00043 bool prompt_missing, bool *is_dir = NULL) const;
00044
00045 private:
00046
00047
00048 UT_FileShortcutUtil(const UT_FileShortcutUtil &);
00049 UT_FileShortcutUtil &operator=(const UT_FileShortcutUtil &);
00050
00051
00052 private:
00053 class Data;
00054 boost::scoped_ptr<Data> myData;
00055 };
00056
00057 #endif // __UT_FILESHORTCUTUTIL_H__