1 /* 2 * Copyright 2018 Oticon A/S 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 #ifndef BS_HANDBRAKE_ARGS_H 7 #define BS_HANDBRAKE_ARGS_H 8 9 #include "bs_types.h" 10 #include "bs_cmd_line.h" 11 #include "bs_cmd_line_typical.h" 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 typedef struct{ 18 BS_BASIC_DEVICE_OPTIONS_FIELDS 19 bs_time_t poke_period; 20 double real_time_ratio; 21 } handbrake_args_t; 22 23 void bs_handbrake_argparse(int argc, char *argv[], handbrake_args_t *args); 24 25 #ifdef __cplusplus 26 } 27 #endif 28 29 #endif 30