LLDB  mainline
PluginInterface.h
Go to the documentation of this file.
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 
17 public:
18  PluginInterface() = default;
19  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
lldb_private::PluginInterface::PluginInterface
PluginInterface()=default
lldb_private::PluginInterface::~PluginInterface
virtual ~PluginInterface()=default
lldb_private::PluginInterface::operator=
PluginInterface & operator=(const PluginInterface &)=delete
lldb_private::PluginInterface
Definition: PluginInterface.h:16
lldb_private::PluginInterface::GetPluginName
virtual llvm::StringRef GetPluginName()=0
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16