aboutsummaryrefslogtreecommitdiff
path: root/src/actions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.h')
-rw-r--r--src/actions.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/actions.h b/src/actions.h
new file mode 100644
index 00000000..b5319bea
--- /dev/null
+++ b/src/actions.h
@@ -0,0 +1,32 @@
+/*
+ * File: actions.h
+ *
+ * Copyright (C) 2024 Rodrigo Arias Mallo <rodarima@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ */
+
+#ifndef ACTIONS_H
+#define ACTIONS_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+#include "dlib/dlib.h"
+
+typedef struct {
+ char *label;
+ char *cmd;
+} Action;
+
+void a_Actions_init(void);
+Dlist *a_Actions_link_get(void);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+#endif /* ACTIONS_H*/