diff foosdk/sdk/foobar2000/helpers/image_load_save.h @ 1:20d02a178406 default tip

*: check in everything else yay
author Paper <paper@tflc.us>
date Mon, 05 Jan 2026 02:15:46 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/foosdk/sdk/foobar2000/helpers/image_load_save.h	Mon Jan 05 02:15:46 2026 -0500
@@ -0,0 +1,13 @@
+#pragma once
+
+namespace fb2k {
+	bool imageLoadDialog( pfc::string_base & outFN, HWND wndParent, const char * initDir );
+
+	album_art_data::ptr imageLoadDialog( HWND wndParent, const char * initDir );
+
+	//! bAllowAsync: run file writing offthread. In such case the caller will not be made aware if writing failed. \n
+	//! Error popup is shown if actual file writing fails.
+	bool imageSaveDialog(album_art_data_ptr content, HWND wndParent, const char * initDir , bool bAllowAsync = true );
+
+	album_art_data::ptr readPictureFile( const char * path, abort_callback & a);
+}
\ No newline at end of file