/Users/buildslave/jenkins/workspace/coverage/llvm-project/lldb/include/lldb/Core/PluginInterface.h
Line | Count | Source |
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 "llvm/ADT/StringRef.h" |
13 | | |
14 | | namespace lldb_private { |
15 | | |
16 | | class PluginInterface { |
17 | | public: |
18 | 1.15M | PluginInterface() = default; |
19 | 1.12M | virtual ~PluginInterface() = default; |
20 | | |
21 | | virtual llvm::StringRef GetPluginName() = 0; |
22 | | |
23 | | PluginInterface(const PluginInterface &) = delete; |
24 | | PluginInterface &operator=(const PluginInterface &) = delete; |
25 | | }; |
26 | | |
27 | | } // namespace lldb_private |
28 | | |
29 | | #endif // LLDB_CORE_PLUGININTERFACE_H |