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

#include <activity_bar_actions_registry.h>

Public Member Functions

void Register (MoreAction action)
 
void Unregister (const std::string &id)
 
void Clear ()
 
void ForEach (const std::function< void(const MoreAction &)> &fn) const
 
size_t size () const
 
bool empty () const
 

Private Attributes

std::vector< MoreActionactions_
 

Detailed Description

Definition at line 27 of file activity_bar_actions_registry.h.

Member Function Documentation

◆ Register()

void yaze::editor::MoreActionsRegistry::Register ( MoreAction action)

Definition at line 9 of file activity_bar_actions_registry.cc.

References actions_.

◆ Unregister()

void yaze::editor::MoreActionsRegistry::Unregister ( const std::string & id)

Definition at line 20 of file activity_bar_actions_registry.cc.

References actions_.

◆ Clear()

void yaze::editor::MoreActionsRegistry::Clear ( )

Definition at line 27 of file activity_bar_actions_registry.cc.

References actions_.

◆ ForEach()

void yaze::editor::MoreActionsRegistry::ForEach ( const std::function< void(const MoreAction &)> & fn) const

Definition at line 29 of file activity_bar_actions_registry.cc.

References actions_.

◆ size()

size_t yaze::editor::MoreActionsRegistry::size ( ) const
inline

Definition at line 33 of file activity_bar_actions_registry.h.

References actions_.

◆ empty()

bool yaze::editor::MoreActionsRegistry::empty ( ) const
inline

Definition at line 34 of file activity_bar_actions_registry.h.

References actions_.

Member Data Documentation

◆ actions_

std::vector<MoreAction> yaze::editor::MoreActionsRegistry::actions_
private

Definition at line 37 of file activity_bar_actions_registry.h.

Referenced by Clear(), empty(), ForEach(), Register(), size(), and Unregister().


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