Mercurial > foo_out_sdl
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 0:e9bb126753e7 | 1:20d02a178406 |
|---|---|
| 1 #pragma once | |
| 2 | |
| 3 #ifdef __APPLE__ | |
| 4 // Mac UI element entrypoint | |
| 5 class ui_element_mac : public service_base { | |
| 6 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT(ui_element_mac); | |
| 7 public: | |
| 8 //! @param arg wrapped NSDictionary<NSString*, NSString*>*, see wrapNSObject + unwrapNSObject | |
| 9 //! @returns wrapped NSViewController, see wrapNSObject + unwrapNSObject | |
| 10 virtual service_ptr instantiate( service_ptr arg ) = 0; | |
| 11 //! Tests if this element matches specified name in user's view configuration. | |
| 12 virtual bool match_name( const char * name ) = 0; | |
| 13 //! Returns user-readable name. Reserved for future use. | |
| 14 virtual fb2k::stringRef get_name() = 0; | |
| 15 //! Returns GUID. Reserved for future use. | |
| 16 virtual GUID get_guid() = 0; | |
| 17 }; | |
| 18 #endif |
