Skip to main content

wxd_Config_Create

Function wxd_Config_Create 

Source
pub unsafe extern "C" fn wxd_Config_Create(
    app_name: *const c_char,
    vendor_name: *const c_char,
    local_filename: *const c_char,
    global_filename: *const c_char,
    style: c_long,
) -> *mut wxd_ConfigBase_t
Expand description

Creates a new config object with the specified parameters. Uses the platform-appropriate config implementation (wxFileConfig or wxRegConfig). @param app_name Application name (can be NULL to use wxApp::GetAppName()). @param vendor_name Vendor name (can be NULL). @param local_filename Local config filename (can be NULL). @param global_filename Global config filename (can be NULL). @param style Combination of wxd_ConfigStyle flags. @return Pointer to the new config object, or NULL on failure.