aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--l/extreload.asd1
-rw-r--r--l/src/config.lisp16
2 files changed, 17 insertions, 0 deletions
diff --git a/l/extreload.asd b/l/extreload.asd
index 73402fb..9a09c1b 100644
--- a/l/extreload.asd
+++ b/l/extreload.asd
@@ -9,6 +9,7 @@
:components ((:file "package")
(:file "macro")
(:file "option")
+ (:file "config")
(:file "main"))))
:build-operation "program-op"
diff --git a/l/src/config.lisp b/l/src/config.lisp
new file mode 100644
index 0000000..86b77d3
--- /dev/null
+++ b/l/src/config.lisp
@@ -0,0 +1,16 @@
+(in-package :extreload)
+
+(defclass config ()
+ ((socket-url
+ :initarg :socket-url
+ :reader socket-url
+ :documentation "DevTools WebSocket URL")
+ (extension-ids
+ :initarg :extension-ids
+ :reader extension-ids
+ :documentation "Sequence of extension IDs")
+ (reload-current-tab
+ :initarg :reload-current-tab
+ :initform nil
+ :reader reload-current-tab
+ :documentation "True if the current tab should be reloaded")))