1 //===-- SBInitializerOptions.h ----------------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef LLDB_SBInitializerOptuions_h_ 11 #define LLDB_SBInitializerOptuions_h_ 12 13 #include "lldb/API/SBDefines.h" 14 #include "lldb/API/SBFileSpec.h" 15 16 namespace lldb_private { 17 struct InitializerOptions; 18 } 19 20 namespace lldb { 21 22 class LLDB_API SBInitializerOptions { 23 public: 24 SBInitializerOptions(); 25 SBInitializerOptions(const lldb::SBInitializerOptions &rhs); 26 ~SBInitializerOptions(); 27 const SBInitializerOptions &operator=(const lldb::SBInitializerOptions &rhs); 28 29 void SetCaptureReproducer(bool b); 30 void SetReplayReproducer(bool b); 31 void SetReproducerPath(const char *path); 32 33 lldb_private::InitializerOptions &ref() const; 34 35 private: 36 friend class SBDebugger; 37 38 std::unique_ptr<lldb_private::InitializerOptions> m_opaque_up; 39 }; 40 41 } // namespace lldb 42 43 #endif // LLDB_SBInitializerOptuions_h_ 44