You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
38 lines
727 B
C++
38 lines
727 B
C++
// Copyright 2011-2020 Molecular Matters GmbH, all rights reserved.
|
|
|
|
#pragma once
|
|
|
|
// BEGIN EPIC MOD
|
|
#include "CoreTypes.h"
|
|
#include "LC_Platform.h"
|
|
#include LC_PLATFORM_INCLUDE(LC_Foundation)
|
|
#include "Windows/WindowsHWrapper.h"
|
|
#include <dia2.h>
|
|
// END EPIC MOD
|
|
|
|
namespace dia
|
|
{
|
|
// simple wrapper, does not allocate, does not deep copy
|
|
class SymbolName
|
|
{
|
|
public:
|
|
explicit SymbolName(BSTR str);
|
|
~SymbolName(void);
|
|
|
|
// symbol names can only be moved, never be copied
|
|
SymbolName(SymbolName&& other);
|
|
|
|
inline const wchar_t* GetString(void) const
|
|
{
|
|
return m_name;
|
|
}
|
|
|
|
private:
|
|
BSTR m_name;
|
|
|
|
LC_DISABLE_COPY(SymbolName);
|
|
LC_DISABLE_ASSIGNMENT(SymbolName);
|
|
LC_DISABLE_MOVE_ASSIGNMENT(SymbolName);
|
|
};
|
|
}
|