summaryrefslogtreecommitdiffhomepage
path: root/proto-ft/ftnoir_protocol_ft.h
diff options
context:
space:
mode:
Diffstat (limited to 'proto-ft/ftnoir_protocol_ft.h')
-rwxr-xr-xproto-ft/ftnoir_protocol_ft.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.h b/proto-ft/ftnoir_protocol_ft.h
index 8940e5d8..b5b802bd 100755
--- a/proto-ft/ftnoir_protocol_ft.h
+++ b/proto-ft/ftnoir_protocol_ft.h
@@ -27,11 +27,12 @@ using namespace options;
struct settings : opts {
value<int> intUsedInterface;
- value<bool> useTIRViews;
+ value<bool> useTIRViews, close_protocols_on_exit;
settings() :
opts("proto-freetrack"),
intUsedInterface(b, "used-interfaces", 0),
- useTIRViews(b, "use-memory-hacks", false)
+ useTIRViews(b, "use-memory-hacks", false),
+ close_protocols_on_exit(b, "close-protocols-on-exit", false)
{}
};
@@ -45,6 +46,7 @@ struct runonce
virtual void try_exit() = 0;
virtual bool is_first_run() = 0;
virtual ~runonce() {}
+ virtual void set_enabled(bool flag) = 0;
};
class FTNoIR_Protocol : public IProtocol