if( !strcmp( p_parser->psz_capability, "services_discovery" ) )
i_number++;
}
- if( i_number ) pp_sds = (char **)calloc( i_number, sizeof(void *) );
+ if( i_number ) pp_sds = (const char **)calloc( i_number, sizeof(void *) );
i_number = 0;
for( int i_index = 0; i_index < p_list->i_count; i_index++ )
int i_update_counter;
vlc_bool_t b_changed_view;
- char **pp_sds;
+ const char **pp_sds;
protected:
intf_thread_t *p_intf;
if( i_index < p_list->i_count )
{
wxTreeItemId current_item;
- char *psz_help;
+ const char *psz_help;
/* We found the main module */
/* Enumerate config categories and store a reference so we can
cd->psz_name = strdup( config_CategoryNameGet(
p_item->value.i ) );
if( cd->psz_help ) free( cd->psz_help );
- char *psz_help = config_CategoryHelpGet( p_item->value.i );
+ const char *psz_help = config_CategoryHelpGet( p_item->value.i );
if( psz_help )
{
cd->psz_help = wraptext( strdup( psz_help ), 72 );
}
/* Add a head title to the panel */
- char *psz_head;
+ const char *psz_head;
if( config_data->i_type == TYPE_SUBCATEGORY ||
config_data->i_type == TYPE_CATSUBCAT )
{
if( !strcmp( p_parser->psz_capability, p_item->psz_type ) )
{
combo->Append( wxU(p_parser->psz_longname),
- p_parser->psz_object_name );
+ (char *)p_parser->psz_object_name );
if( p_item->value.psz && !strcmp(p_item->value.psz,
p_parser->psz_object_name) )
combo->SetValue( wxU(p_parser->psz_longname) );
p_config->value.i == p_item->min.i )
{
combo->Append( wxU(p_parser->psz_longname),
- p_parser->psz_object_name );
+ (char *)p_parser->psz_object_name );
if( p_item->value.psz && !strcmp(p_item->value.psz,
p_parser->psz_object_name) )
combo->SetValue( wxU(p_parser->psz_longname) );
wxWindow *parent )
: ConfigControl( p_this, p_item, parent )
{
- psz_default_value = p_item->value.psz;
+ psz_default_value = (char *)p_item->value.psz;
if( psz_default_value ) psz_default_value = strdup( psz_default_value );
label = new wxStaticText(this, -1, wxU(p_item->psz_text));
{
public:
wizInputPage( wxWizard *, wxWizardPage *, intf_thread_t *);
- wizInputPage::~wizInputPage();
+ ~wizInputPage();
void OnWizardPageChanging(wxWizardEvent& event);
void OnInputChange( wxCommandEvent& event );
void OnEnablePartial(wxCommandEvent& event);
public:
wizTranscodeCodecPage( wxWizard *parent, wxWizardPage *next);
~wizTranscodeCodecPage();
- void wizTranscodeCodecPage::OnWizardPageChanging(wxWizardEvent& event);
+ void OnWizardPageChanging(wxWizardEvent& event);
virtual wxWizardPage *GetPrev() const;
virtual wxWizardPage *GetNext() const;
void SetPrev( wxWizardPage *page);
{
public:
wizEncapPage( wxWizard *parent);
- wizEncapPage::~wizEncapPage();
+ ~wizEncapPage();
void OnWizardPageChanging(wxWizardEvent& event);
virtual wxWizardPage *GetPrev() const;
virtual wxWizardPage *GetNext() const;
void OnWizardPageChanging( wxWizardEvent& event );
protected:
DECLARE_EVENT_TABLE()
- void wizTranscodeExtraPage::OnSelectFile(wxCommandEvent&);
+ void OnSelectFile(wxCommandEvent&);
wxTextCtrl *file_text;
WizardDialog *p_parent;
wxWizardPage *p_prev;
"on the toolbar (or both)." )
static int pi_playlist_views[] = { 0,1,2 };
-static char *psz_playlist_views[] = { N_("Normal" ), N_("Embedded" ) ,
- N_("Both") };
+static const char *psz_playlist_views[] = { N_("Normal" ), N_("Embedded" ) ,
+ N_("Both") };
vlc_module_begin();
int i_score = 150;