1 // Copyright 2016-2021 Doug Moen 2 // Licensed under the Apache License, version 2.0 3 // See accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0 4 5 #ifndef LIVEMODE_H 6 #define LIVEMODE_H 7 8 #include <libcurv/system.h> 9 10 // Start Curv's livemode 11 // 12 // For editor, you may either pass a (file)name (e.g. "gedit", "notepad++") or 13 // nullptr in case no editor instance should be opened. 14 int live_mode(curv::System& sys, const char* editor, const char* filename, 15 curv::viewer::Viewer_Config&); 16 17 #endif // header guard 18