Mercurial > foo_out_sdl
view foosdk/sdk/foobar2000/SDK/toolbarDropDown.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 source
#pragma once namespace fb2k { //! \since 2.0 class toolbarDropDownNotify { public: virtual void contentChanged() = 0; virtual void selectionChanged() = 0; protected: ~toolbarDropDownNotify() {} }; //! \since 2.0 class toolbarDropDown : public service_base { FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT(toolbarDropDown) public: virtual GUID getGuid() = 0; virtual void getShortName(pfc::string_base& out) = 0; // name to appear in toolbar virtual void getLongName(pfc::string_base& out) = 0; // long descriptive name virtual size_t getNumValues() = 0; virtual void getValue(size_t idx, pfc::string_base& out) = 0; virtual void setSelectedIndex(size_t) = 0; virtual size_t getSelectedIndex() = 0; virtual void addNotify(toolbarDropDownNotify*) = 0; virtual void removeNotify(toolbarDropDownNotify*) = 0; virtual void onDropDown() = 0; }; }
