blob: 17cf42e0c468ec609d4a176fe9d0824aaf7336a4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
|