OSDN Git Service

LinGui: make subtitle burned and default checkboxes mutually exclusive
[handbrake-jp/handbrake-jp-git.git] / gtk / src / settings.h
index 55584ca..c499da5 100644 (file)
@@ -36,6 +36,14 @@ enum
        GHB_STATE_MUXING        = 0x40,
 };
 
+enum
+{
+       GHB_CANCEL_NONE,
+       GHB_CANCEL_ALL,
+       GHB_CANCEL_CURRENT,
+       GHB_CANCEL_FINISH
+};
+
 typedef struct preview_s preview_t;
 
 typedef struct
@@ -43,7 +51,7 @@ typedef struct
        gchar *current_dvd_device;
        gboolean debug;
        gboolean dont_clear_presets;
-       gboolean cancel_encode;
+       gint cancel_encode;
        GtkBuilder *builder;
        GValue *settings;
        GValue *queue;
@@ -53,6 +61,7 @@ typedef struct
        preview_t *preview;
        gchar *appcast;
        gint appcast_len;
+       GdkVisibilityState hb_visibility;
 } signal_user_data_t;
 
 enum
@@ -84,7 +93,9 @@ gint ghb_settings_get_int(const GValue *settings, const gchar *key);
 gdouble ghb_settings_get_double(const GValue *settings, const gchar *key);
 gchar* ghb_settings_get_string(const GValue *settings, const gchar *key);
 gint ghb_settings_combo_int(const GValue *settings, const gchar *key);
+gdouble ghb_settings_combo_double(const GValue *settings, const gchar *key);
 const gchar* ghb_settings_combo_option(const GValue *settings, const gchar *key);
+const gchar* ghb_settings_combo_string(const GValue *settings, const gchar *key);
 
 GValue* ghb_widget_value(GtkWidget *widget);
 gchar* ghb_widget_string(GtkWidget *widget);