Changeset c1bf65aa42472b1e0bb5187361fa451727f93cc3

Show
Ignore:
Timestamp:
03/08/08 21:30:22 (6 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1205008222 +0100
git-parent:

[7647c5af7deab29b3386fab5cdac9586bf0a277e]

git-author:
Rafaël Carré <funman@videolan.org> 1205008222 +0100
Message:

remove dead code moved from libvlc.h
update comment to really reflect the function
DBus's playlist-enqueue should really be saveable

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc_configuration.h

    rb96154a rc1bf65a  
    191191    /* Option values loaded from config file */ 
    192192    vlc_bool_t   b_autosave;      /* Config will be auto-saved at exit time */ 
    193     vlc_bool_t   b_unsaveable;                    /* Config should be saved */ 
     193    vlc_bool_t   b_unsaveable;                /* Config should not be saved */ 
    194194 
    195195    vlc_bool_t   b_safe; 
  • src/libvlc-module.c

    r902085e rc1bf65a  
    18341834    add_bool( "playlist-enqueue", 0, NULL, PLAYLISTENQUEUE_TEXT, 
    18351835              PLAYLISTENQUEUE_LONGTEXT, VLC_TRUE ); 
    1836         change_unsaveable(); 
    18371836 
    18381837    add_bool( "inhibit", 1, NULL, INHIBIT_TEXT, 
  • src/libvlc.h

    rc3a591a rc1bf65a  
    149149} 
    150150 
    151 /* 
    152  * Configuration stuff 
    153  */ 
    154 #if 0 
    155 struct module_config_t 
    156 { 
    157     int          i_type;                               /* Configuration type */ 
    158     const char  *psz_type;                          /* Configuration subtype */ 
    159     const char  *psz_name;                                    /* Option name */ 
    160     char         i_short;                      /* Optional short option name */ 
    161     const char  *psz_text;      /* Short comment on the configuration option */ 
    162     const char  *psz_longtext;   /* Long comment on the configuration option */ 
    163     module_value_t value;                                    /* Option value */ 
    164     module_value_t orig; 
    165     module_value_t saved; 
    166     module_nvalue_t min; 
    167     module_nvalue_t max; 
    168  
    169     /* Function to call when commiting a change */ 
    170     vlc_callback_t pf_callback; 
    171     void          *p_callback_data; 
    172  
    173     /* Values list */ 
    174     const char **ppsz_list;       /* List of possible values for the option */ 
    175     int         *pi_list;                              /* Idem for integers */ 
    176     const char **ppsz_list_text;          /* Friendly names for list values */ 
    177     int          i_list;                               /* Options list size */ 
    178  
    179     /* Actions list */ 
    180     vlc_callback_t *ppf_action;    /* List of possible actions for a config */ 
    181     const char    **ppsz_action_text;         /* Friendly names for actions */ 
    182     int            i_action;                           /* actions list size */ 
    183  
    184     /* Misc */ 
    185     vlc_mutex_t *p_lock;            /* Lock to use when modifying the config */ 
    186     vlc_bool_t   b_dirty;          /* Dirty flag to indicate a config change */ 
    187     vlc_bool_t   b_advanced;          /* Flag to indicate an advanced option */ 
    188     vlc_bool_t   b_internal;   /* Flag to indicate option is not to be shown */ 
    189     vlc_bool_t   b_restart;   /* Flag to indicate the option needs a restart */ 
    190                               /* to take effect */ 
    191  
    192     /* Deprecated */ 
    193     const char    *psz_current;                         /* Good option name */ 
    194     vlc_bool_t     b_strict;                     /* Transitionnal or strict */ 
    195  
    196     /* Option values loaded from config file */ 
    197     vlc_bool_t   b_autosave;      /* Config will be auto-saved at exit time */ 
    198     vlc_bool_t   b_unsaveable;                    /* Config should be saved */ 
    199 }; 
    200 #endif 
    201  
    202151extern module_config_t libvlc_config[]; 
    203152extern const size_t libvlc_config_count;