|
1
|
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 }
|