Move the rest of the SB headers to interface files.
They are not docstring'ed yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@135531 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/interface/SBError.i b/scripts/Python/interface/SBError.i
new file mode 100644
index 0000000..d3e3f75
--- /dev/null
+++ b/scripts/Python/interface/SBError.i
@@ -0,0 +1,60 @@
+//===-- SWIG Interface for SBError ------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+namespace lldb {
+
+class SBError {
+public:
+ SBError ();
+
+ SBError (const lldb::SBError &rhs);
+
+ ~SBError();
+
+ const char *
+ GetCString () const;
+
+ void
+ Clear ();
+
+ bool
+ Fail () const;
+
+ bool
+ Success () const;
+
+ uint32_t
+ GetError () const;
+
+ lldb::ErrorType
+ GetType () const;
+
+ void
+ SetError (uint32_t err, lldb::ErrorType type);
+
+ void
+ SetErrorToErrno ();
+
+ void
+ SetErrorToGenericError ();
+
+ void
+ SetErrorString (const char *err_str);
+
+ int
+ SetErrorStringWithFormat (const char *format, ...);
+
+ bool
+ IsValid () const;
+
+ bool
+ GetDescription (lldb::SBStream &description);
+};
+
+} // namespace lldb