diff options
author | sr55 <[email protected]> | 2015-05-09 18:22:11 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-05-09 18:22:11 +0000 |
commit | 5f03dc5147802546924446fb0d1d4a6ce1cd2e73 (patch) | |
tree | 90288927e9db25dcb2ae5daffa8e2dc0985f852d /win/CS/HandBrake.ApplicationServices/Interop/HbLib | |
parent | 682dc08dca5a2bdad77645011e2d281a3e419dfe (diff) |
WinGui: Pad out some initial infrastructure to read built-in presets from libhb.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7167 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Interop/HbLib')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Interop/HbLib/HbFunctions.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/HbLib/HbFunctions.cs b/win/CS/HandBrake.ApplicationServices/Interop/HbLib/HbFunctions.cs index d22545c1e..6eb77cac3 100644 --- a/win/CS/HandBrake.ApplicationServices/Interop/HbLib/HbFunctions.cs +++ b/win/CS/HandBrake.ApplicationServices/Interop/HbLib/HbFunctions.cs @@ -432,5 +432,14 @@ namespace HandBrake.ApplicationServices.Interop.HbLib // char* hb_get_preview_params_json(int title_idx, int preview_idx, int deinterlace, hb_geometry_settings_t *settings)
[DllImport("hb.dll", EntryPoint = "hb_get_preview_params_json", CallingConvention = CallingConvention.Cdecl)]
public static extern IntPtr hb_get_preview_params_json(int title_idx, int preview_idx, int deinterlace, ref hb_geometry_settings_s settings);
+
+ //void hb_presets_builtin_init(void);
+ [DllImport("hb.dll", EntryPoint = "hb_presets_builtin_init", CallingConvention = CallingConvention.Cdecl)]
+ public static extern void hb_presets_builtin_init();
+
+ // char * hb_presets_builtin_get_json(void); // Get list of HandBrake builtin presets as json string
+ [DllImport("hb.dll", EntryPoint = "hb_presets_builtin_get_json", CallingConvention = CallingConvention.Cdecl)]
+ public static extern IntPtr hb_presets_builtin_get_json();
+
}
}
|