1 //===-- Stoppoint.h ---------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_Stoppoint_h_
11 #define liblldb_Stoppoint_h_
13 #include "lldb/Utility/UserID.h"
14 #include "lldb/lldb-private.h"
16 namespace lldb_private {
20 //------------------------------------------------------------------
21 // Constructors and Destructors
22 //------------------------------------------------------------------
27 //------------------------------------------------------------------
29 //------------------------------------------------------------------
30 virtual void Dump(Stream *) = 0;
32 virtual bool IsEnabled() = 0;
34 virtual void SetEnabled(bool enable) = 0;
36 lldb::break_id_t GetID() const;
38 void SetID(lldb::break_id_t bid);
41 lldb::break_id_t m_bid;
44 //------------------------------------------------------------------
46 //------------------------------------------------------------------
47 DISALLOW_COPY_AND_ASSIGN(Stoppoint);
50 } // namespace lldb_private
52 #endif // liblldb_Stoppoint_h_