Separate headers into cpp source files

This commit is contained in:
Jackson Coxson
2025-08-14 17:02:58 -06:00
parent 54caafb4da
commit a16405f011
24 changed files with 940 additions and 616 deletions

View File

@@ -0,0 +1,21 @@
// Jackson Coxson
#ifndef IDEVICE_FFI
#define IDEVICE_FFI
#include <idevice++/bindings.hpp>
#include <string>
namespace IdeviceFFI {
class FfiError {
public:
int32_t code = 0;
std::string message;
FfiError(const IdeviceFfiError* err);
FfiError();
explicit operator bool() const { return code != 0; }
};
} // namespace IdeviceFFI
#endif