nx_cloud_storage_sdk
1.0
Cloud Storage SDK
src
nx
sdk
i_plugin_diagnostic_event.h
1
// Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2
3
#pragma once
4
5
#include <nx/sdk/interface.h>
6
7
namespace
nx::sdk
{
8
13
class
IPluginDiagnosticEvent
:
public
nx::sdk::Interface
<IPluginDiagnosticEvent>
14
{
15
public
:
16
static
auto
interfaceId() {
return
makeId
(
"nx::sdk::IPluginDiagnosticEvent"
); }
17
18
enum class
Level
19
{
20
info,
21
warning,
22
error,
23
};
24
25
virtual
Level level()
const
= 0;
26
virtual
const
char
* caption()
const
= 0;
27
virtual
const
char
* description()
const
= 0;
28
};
29
using
IPluginDiagnosticEvent0
=
IPluginDiagnosticEvent
;
30
31
}
// namespace nx::sdk
nx::sdk::IPluginDiagnosticEvent
Definition:
i_plugin_diagnostic_event.h:13
nx::sdk::Interface
Definition:
interface.h:48
nx::sdk
nx::sdk::IRefCountable::makeId
static constexpr const InterfaceId * makeId(const char(&charArray)[len])
Definition:
i_ref_countable.h:76
Generated by
1.8.14