Mercurial > foo_out_sdl
diff foosdk/sdk/foobar2000/SDK/ui_element_mac.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/SDK/ui_element_mac.h Mon Jan 05 02:15:46 2026 -0500 @@ -0,0 +1,18 @@ +#pragma once + +#ifdef __APPLE__ +// Mac UI element entrypoint +class ui_element_mac : public service_base { + FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT(ui_element_mac); +public: + //! @param arg wrapped NSDictionary<NSString*, NSString*>*, see wrapNSObject + unwrapNSObject + //! @returns wrapped NSViewController, see wrapNSObject + unwrapNSObject + virtual service_ptr instantiate( service_ptr arg ) = 0; + //! Tests if this element matches specified name in user's view configuration. + virtual bool match_name( const char * name ) = 0; + //! Returns user-readable name. Reserved for future use. + virtual fb2k::stringRef get_name() = 0; + //! Returns GUID. Reserved for future use. + virtual GUID get_guid() = 0; +}; +#endif
