aboutsummaryrefslogtreecommitdiff
path: root/sherlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sherlock.h')
-rw-r--r--sherlock.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sherlock.h b/sherlock.h
index 03e4ca3..709d3e5 100644
--- a/sherlock.h
+++ b/sherlock.h
@@ -63,6 +63,7 @@ struct _state_t {
int32_t block;
int32_t follow;
int32_t pretty;
+ int32_t time;
};
struct _craft_t {
@@ -75,7 +76,7 @@ struct _craft_t {
};
};
-#define MAX_NPROPS 4
+#define MAX_NPROPS 5
static const props_def_t defs [MAX_NPROPS] = {
{
@@ -97,6 +98,11 @@ static const props_def_t defs [MAX_NPROPS] = {
.property = SHERLOCK_URI"#pretty",
.offset = offsetof(state_t, pretty),
.type = LV2_ATOM__Bool,
+ },
+ {
+ .property = SHERLOCK_URI"#time",
+ .offset = offsetof(state_t, time),
+ .type = LV2_ATOM__Bool,
}
};