blob: 9a8540f2f567aae982450c0262b57278781263f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include <cru/base/Base.h>
#include <string>
#ifdef CRU_IS_DLL
#ifdef CRU_PLATFORM_EXPORT_API
#define CRU_PLATFORM_API __declspec(dllexport)
#else
#define CRU_PLATFORM_API __declspec(dllimport)
#endif
#else
#define CRU_PLATFORM_API
#endif
namespace cru::platform {
struct CRU_PLATFORM_API IPlatformResource : virtual Interface {
virtual std::string GetPlatformId() const = 0;
virtual std::string GetDebugString();
};
} // namespace cru::platform
|