1 //===-- ScriptInterpreterNone.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 liblldb_ScriptInterpreterNone_h_ 11 #define liblldb_ScriptInterpreterNone_h_ 12 13 #include "lldb/Interpreter/ScriptInterpreter.h" 14 15 namespace lldb_private 16 { 17 18 class ScriptInterpreterNone : public ScriptInterpreter 19 { 20 public: 21 ScriptInterpreterNone(CommandInterpreter &interpreter); 22 23 ~ScriptInterpreterNone(); 24 25 bool 26 ExecuteOneLine(const char *command, CommandReturnObject *result, 27 const ExecuteScriptOptions &options = ExecuteScriptOptions()); 28 29 void 30 ExecuteInterpreterLoop(); 31 32 //------------------------------------------------------------------ 33 // Static Functions 34 //------------------------------------------------------------------ 35 static void 36 Initialize(); 37 38 static void 39 Terminate(); 40 41 static lldb::ScriptInterpreterSP 42 CreateInstance(CommandInterpreter &interpreter); 43 44 static lldb_private::ConstString 45 GetPluginNameStatic(); 46 47 static const char * 48 GetPluginDescriptionStatic(); 49 50 //------------------------------------------------------------------ 51 // PluginInterface protocol 52 //------------------------------------------------------------------ 53 virtual lldb_private::ConstString 54 GetPluginName(); 55 56 virtual uint32_t 57 GetPluginVersion(); 58 }; 59 60 } // namespace lldb_private 61 62 #endif // #ifndef liblldb_ScriptInterpreterNone_h_ 63