CHDK_DE Vorschauversion
Trunk Rev. 6014
|
#include "camera_info.h"
#include "shot_histogram.h"
#include "levent.h"
#include "script.h"
#include "console.h"
#include "conf.h"
#include "lang.h"
#include "gui_lang.h"
#include "action_stack.h"
#include "shooting.h"
#include "sd_card.h"
#include "backlight.h"
#include "battery.h"
#include "temperature.h"
#include "clock.h"
#include "file_counter.h"
#include "lens.h"
#include "debug_led.h"
#include "keyboard.h"
#include "usb_remote.h"
#include "shutdown.h"
#include "sound.h"
#include "motion_detector.h"
#include "string.h"
#include "time.h"
#include "script_key_funcs.h"
#include "properties.h"
#include "ubasic.h"
#include "tokenizer.h"
gehe zum Quellcode dieser Datei
Datenstrukturen | |
struct | select_state |
struct | for_state |
Makrodefinitionen | |
#define | DEBUG_PRINTF(...) |
#define | INCLUDE_OLD_GET__SYNTAX |
#define | MAX_STRINGLEN 40 |
#define | MAX_GOSUB_STACK_DEPTH 10 |
#define | MAX_IF_STACK_DEPTH 4 |
#define | MAX_SELECT_STACK_DEPTH 4 |
#define | MAX_WHILE_STACK_DEPTH 4 |
#define | MAX_DO_STACK_DEPTH 4 |
#define | MAX_FOR_STACK_DEPTH 4 |
#define | MAX_VARNUM 52 |
#define | YIELD_MAX_LINES_DEFAULT 1 |
#define | YIELD_MAX_MS_DEFAULT 10 |
Funktionen | |
int | ubasic_get_variable (int varnum) |
void | ubasic_set_variable (int varum, int value) |
static int | expr (void) |
static void | line_statement (void) |
static void | statement (void) |
static int | relation (void) |
int | ubasic_linenumber () |
int | ubasic_init (const char *program, __attribute__((unused)) int is_ptp) |
static int | ubasic_get_key_arg () |
static void | accept (int token) |
static void | accept_cr () |
static int | varfactor (void) |
static int | shooting_get_near_limit_of_acceptable_sharpness () |
static int | shooting_get_far_limit_of_acceptable_sharpness () |
static int | shooting_get_depth_of_field () |
static int | shooting_get_min_stack_distance () |
static int | factor (void) |
static int | term (void) |
static void | jump_line (int linenum) |
int | jump_label (char *label) |
static void | goto_statement (void) |
static void | print_statement (void) |
static void | endif_statement (void) |
static void | if_statement (void) |
static void | else_statement (void) |
static void | dec_select_stack (void) |
static void | end_select_statement (void) |
static void | case_statement (void) |
static void | case_else_statement (void) |
static void | select_statement (void) |
static void | let_statement (void) |
static void | rem_statement (void) |
static void | cls_statement (void) |
static void | gosub_statement (void) |
static void | return_statement (void) |
static void | next_statement (void) |
static void | for_statement (void) |
static void | do_statement (void) |
static void | until_statement (void) |
static void | while_statement (void) |
static void | wend_statement (void) |
static void | end_statement (void) |
static void | click_statement (void) |
static void | press_statement (void) |
static void | release_statement (void) |
static int | action_stack_AS_UBASIC_SLEEP () |
static int | sleep_delay (int delay) |
static void | sleep_statement (void) |
static void | shoot_statement (void) |
static void | set_console_layout (void) |
static void | set_console_autoredraw (void) |
static void | console_redraw_statement (void) |
static void | set_yield_statement () |
static void | get_short_var_statement (int token, short(*func)(void)) |
static void | get_int_var_statement (int token, int(*func)(void)) |
static void | get_prop_statement () |
static void | one_int_param_function (int token, void(*func)(int)) |
static void | one_short_param_function (int token, void(*func)(short)) |
static void | set_ev_statement () |
static void | set_movie_status_statement () |
static void | set_propcase_statement (int token, int prop) |
static void | set_mf_statement () |
static void | set_focus_statement () |
static void | set_led_statement () |
static void | set_prop_statement () |
static void | set_autostart_statement () |
static void | set_capture_mode_canon_statement () |
static void | reboot_statement () |
static void | set_config_value_statement () |
static int | action_stack_AS_UBASIC_WAIT_CLICK () |
static void | wait_click_statement () |
static void | is_key_statement (void) |
static void | set_exit_key_statement () |
static void | get_config_value_statement () |
static void | on_off_statement (int token, void(*on)(void), void(*off)(void)) |
static void | shutdown_statement (void) |
static void | uB_set_av96 (int param) |
static void | uB_set_av96_direct (int param) |
static void | uB_set_tv96 (int param) |
static void | uB_set_tv96_direct (int param) |
static void | uB_set_sv96 (int param) |
static void | uB_set_nd_filter_state (int param) |
static void | uB_set_iso_real (int param) |
static void | md_get_cell_diff_statement () |
static void | md_get_cell_val_statement () |
static void | md_detect_motion_statement () |
static int | _shot_histogram_set (int enable) |
int | ubasic_run (void) |
void | ubasic_end () |
void | ubasic_set_as_ret (int md_ret) |
Variablen | |
static char const * | program_ptr |
static char | string [MAX_STRINGLEN] |
static short | gosub_stack [MAX_GOSUB_STACK_DEPTH] |
static int | gosub_stack_ptr |
static short | if_stack [MAX_IF_STACK_DEPTH] |
static int | if_stack_ptr |
static struct select_state | select_stack [MAX_SELECT_STACK_DEPTH] |
static int | select_stack_ptr |
static short | while_stack [MAX_WHILE_STACK_DEPTH] |
static int | while_stack_ptr |
static short | do_stack [MAX_DO_STACK_DEPTH] |
static int | do_stack_ptr |
static struct for_state | for_stack [MAX_FOR_STACK_DEPTH] |
static int | for_stack_ptr |
static int | variables [MAX_VARNUM] |
static int | ended |
static int | ubasic_as_ret_var_num |
static unsigned | yield_max_lines |
static unsigned | yield_max_ms |
static int | flag_yield |
int | ubasic_error |
const char * | ubasic_errstrings [UBASIC_E_ENDMARK] |
|
static |
Definiert in Zeile 1299 der Datei ubasic.c.
|
static |
Definiert in Zeile 1209 der Datei ubasic.c.
|
static |
|
static |
|
static |
|
static |
|
static |
Definiert in Zeile 1010 der Datei ubasic.c.
|
static |
Definiert in Zeile 1457 der Datei ubasic.c.
|
static |
|
static |
|
static |
|
static |
Definiert in Zeile 967 der Datei ubasic.c.
|
static |
Definiert in Zeile 1352 der Datei ubasic.c.
|
static |
|
static |
|
static |
Definiert in Zeile 1864 der Datei ubasic.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int ubasic_init | ( | const char * | program, |
__attribute__((unused)) int | is_ptp | ||
) |
Definiert in Zeile 180 der Datei ubasic.c.
int ubasic_linenumber | ( | ) |
void ubasic_set_variable | ( | int | varum, |
int | value | ||
) |
|
static |
Definiert in Zeile 231 der Datei ubasic.c.
|
static |
Definiert in Zeile 1557 der Datei ubasic.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const char* ubasic_errstrings[UBASIC_E_ENDMARK] |
|
static |
|
static |