pub type ViewModePreferences = *mut c_void;