Definition INativeEditScope.hpp:16
virtual void * engine() const =0
Borrow the live SWMM_Engine for native C API calls.
virtual bool commit(QString *error=nullptr)=0
Write the after snapshot, rebuild GUI caches and append one undo command.
virtual ~INativeEditScope()=default
Abort an uncommitted transaction before releasing its exclusive lease.
virtual bool abort(QString *error=nullptr)=0
Restore the before snapshot and release the exclusive lease.
Public header-only ABI for independently compiled native GUI extensions.
Definition ExtensionHost.hpp:24
double error
Definition terrainerrorfield.cpp:42