summaryrefslogtreecommitdiffstats
path: root/m_option.h
diff options
context:
space:
mode:
Diffstat (limited to 'm_option.h')
-rw-r--r--m_option.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/m_option.h b/m_option.h
index 82f67cd3ad..443b5d8d4e 100644
--- a/m_option.h
+++ b/m_option.h
@@ -28,6 +28,7 @@ extern m_option_type_t m_option_type_double;
extern m_option_type_t m_option_type_string;
extern m_option_type_t m_option_type_string_list;
extern m_option_type_t m_option_type_position;
+extern m_option_type_t m_option_type_time_size;
extern m_option_type_t m_option_type_print;
extern m_option_type_t m_option_type_print_indirect;
@@ -59,6 +60,14 @@ typedef m_opt_func_full_t cfg_func_arg_param_t;
typedef m_opt_func_param_t cfg_func_param_t;
typedef m_opt_func_t cfg_func_t;
+#define END_AT_NONE 0
+#define END_AT_TIME 1
+#define END_AT_SIZE 2
+typedef struct {
+ double pos;
+ int type;
+} m_time_size_t;
+
/// Extra definition needed for \ref m_option_type_obj_settings_list options.
typedef struct {
/// Pointer to an array of pointer to some object type description struct.
@@ -159,6 +168,7 @@ extern m_obj_params_t m_span_params_def;
#define CONF_TYPE_OBJ_PRESETS (&m_option_type_obj_presets)
#define CONF_TYPE_CUSTOM_URL (&m_option_type_custom_url)
#define CONF_TYPE_OBJ_PARAMS (&m_option_type_obj_params)
+#define CONF_TYPE_TIME_SIZE (&m_option_type_time_size)
/////////////////////////////////////////////////////////////////////////////////////////////