yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::WelcomeCommandsProvider Class Reference

#include <command_palette_providers.h>

Inheritance diagram for yaze::editor::WelcomeCommandsProvider:
Collaboration diagram for yaze::editor::WelcomeCommandsProvider:

Classes

struct  Callbacks
 

Public Member Functions

 WelcomeCommandsProvider (Callbacks callbacks)
 
std::string ProviderId () const override
 Stable identifier. Used for selective refresh; must be unique.
 
void Provide (CommandPalette *palette) override
 Populate palette with this source's commands.
 
- Public Member Functions inherited from yaze::editor::CommandProvider
virtual ~CommandProvider ()=default
 

Private Attributes

Callbacks callbacks_
 

Detailed Description

ID: "welcome". Refresh after the recent-projects model mutates (pin, remove, undo, clear). Callbacks are bundled so the provider stays a single registration site.

Definition at line 107 of file command_palette_providers.h.

Constructor & Destructor Documentation

◆ WelcomeCommandsProvider()

yaze::editor::WelcomeCommandsProvider::WelcomeCommandsProvider ( Callbacks callbacks)
explicit

Definition at line 127 of file command_palette_providers.cc.

Member Function Documentation

◆ ProviderId()

std::string yaze::editor::WelcomeCommandsProvider::ProviderId ( ) const
inlineoverridevirtual

Stable identifier. Used for selective refresh; must be unique.

Implements yaze::editor::CommandProvider.

Definition at line 121 of file command_palette_providers.h.

◆ Provide()

Member Data Documentation

◆ callbacks_

Callbacks yaze::editor::WelcomeCommandsProvider::callbacks_
private

Definition at line 125 of file command_palette_providers.h.

Referenced by Provide().


The documentation for this class was generated from the following files: