1 | //===-- PluginInterface.h ---------------------------------------*- C++ -*-===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #ifndef LLDB_CORE_PLUGININTERFACE_H |
10 | #define LLDB_CORE_PLUGININTERFACE_H |
11 | |
12 | #include "lldb/lldb-private.h" |
13 | |
14 | namespace lldb_private { |
15 | |
16 | class PluginInterface { |
17 | public: |
18 | PluginInterface() = default; |
19 | virtual ~PluginInterface() = default; |
20 | |
21 | virtual ConstString GetPluginName() = 0; |
22 | |
23 | virtual uint32_t GetPluginVersion() = 0; |
24 | |
25 | PluginInterface(const PluginInterface &) = delete; |
26 | PluginInterface &operator=(const PluginInterface &) = delete; |
27 | }; |
28 | |
29 | } // namespace lldb_private |
30 | |
31 | #endif // LLDB_CORE_PLUGININTERFACE_H |
32 | |