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 "lldb/lldb-private.h"
13 
14 namespace lldb_private {
15 
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
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::GetPluginVersion
virtual uint32_t GetPluginVersion()=0
lldb_private::ConstString
Definition: ConstString.h:40
lldb-private.h
uint32_t
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::PluginInterface::GetPluginName
virtual ConstString GetPluginName()=0