aboutsummaryrefslogtreecommitdiff
path: root/Src/external_dependencies/openmpt-trunk/mptrack/LinkResolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/external_dependencies/openmpt-trunk/mptrack/LinkResolver.h')
-rw-r--r--Src/external_dependencies/openmpt-trunk/mptrack/LinkResolver.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/Src/external_dependencies/openmpt-trunk/mptrack/LinkResolver.h b/Src/external_dependencies/openmpt-trunk/mptrack/LinkResolver.h
new file mode 100644
index 00000000..17cf42e0
--- /dev/null
+++ b/Src/external_dependencies/openmpt-trunk/mptrack/LinkResolver.h
@@ -0,0 +1,33 @@
+/*
+ * LinkResolver.h
+ * --------------
+ * Purpose: Resolve Windows shell link targets
+ * Notes : (currently none)
+ * Authors: OpenMPT Devs
+ * The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
+ */
+
+
+#pragma once
+
+#include "openmpt/all/BuildSettings.hpp"
+#include "../common/mptPathString.h"
+
+#include <ShObjIdl.h>
+
+OPENMPT_NAMESPACE_BEGIN
+
+class LinkResolver
+{
+ IShellLink *psl = nullptr;
+ IPersistFile *ppf = nullptr;
+
+public:
+ LinkResolver();
+ ~LinkResolver();
+
+
+ mpt::PathString Resolve(const TCHAR *inPath);
+};
+
+OPENMPT_NAMESPACE_END