5#ifndef MOLYBDEN_DOCK_HPP
6#define MOLYBDEN_DOCK_HPP
23 virtual std::shared_ptr<App>
app() = 0;
67 virtual ~Dock() =
default;
Allows controlling application icon in the Dock on macOS.
Definition dock.hpp:18
virtual void show()=0
Shows the application icon in the Dock.
virtual bool isVisible()=0
Indicates whether the application icon is visible in the Dock.
virtual void setBadgeText(const std::string &text)=0
Sets the application dock icon badge text.
virtual std::shared_ptr< App > app()=0
Returns the application instance for this Dock controller.
virtual std::string badgeText()=0
Returns the text displayed in the application dock icon badge.
virtual void hide()=0
Hides the application icon in the Dock.