comparison foosdk/sdk/foobar2000/SDK/imageViewer.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
comparison
equal deleted inserted replaced
0:e9bb126753e7 1:20d02a178406
1 #pragma once
2
3 namespace fb2k {
4 //! \since 1.6.2
5 class imageViewer : public service_base {
6 FB2K_MAKE_SERVICE_COREAPI(imageViewer);
7 public:
8 //! Spawns an image viewer window, showing the specified picture already loaded into application memory.
9 virtual void show(fb2k::hwnd_t parent, fb2k::memBlockRef data) = 0;
10 //! Spawns an image viewer window, showing album art from the specified list of items.
11 //! @param aaType Type of picture to load, front cover, back cover or other.
12 //! @param pageno Reserved for future use, set to 0.
13 virtual void load_and_show(fb2k::hwnd_t parent, metadb_handle_list_cref items, const GUID & aaType, unsigned pageno = 0) = 0;
14 };
15 }