Classes | |
| struct | PluginScriptAction |
| struct | PluginPageAction |
| struct | SettingText |
| struct | SettingAction |
| struct | PlateAction |
| struct | RecentProjectAction |
Functions | |
| nlohmann::json | parse_config_json (const std::string &value, nlohmann::json fallback) |
| nlohmann::json | read_section (const char *key, nlohmann::json fallback) |
| void | write_section (const char *key, const nlohmann::json &j) |
| std::vector< std::string > | read_string_array (const char *key) |
| double | frecency_score (int count, long long last, long long now) |
| std::string | find_loaded_source_name (PluginManager &manager, const std::string &plugin_key) |
| AppActionRunResult | script_outcome_to_action_result (const ScriptCompletion &completion) |
| void | notify_script_outcome (const ScriptCompletion &completion) |
| std::unique_ptr< AppAction > | make_action (const std::string &plugin_key, const std::string &capability, const std::string &source_name) |
| std::unique_ptr< AppAction > | make_page_action (const std::string &plugin_key, const std::string &capability, const std::string &source_name) |
| const char * | setting_type_context (Preset::Type type) |
| SettingText | setting_text (const std::wstring &def_label, const std::string &display_label, const wxString &row_label, bool row_multi, const std::string &type_name, const std::wstring &category, const std::wstring &group) |
| const char * | mode_key (ConfigOptionMode mode) |
| void | seed_from (const nlohmann::json &stats, const std::vector< std::string > &favs, const std::string &id, AppAction &a) |
| void | drop_stale (std::unordered_map< std::string, std::shared_ptr< AppAction > > &actions, const char *prefix, const std::unordered_set< std::string > &seen) |
Variables | |
| constexpr const char * | kConfigSection = "speed_dial" |
| constexpr const char * | kSettingPrefix = "orca_setting" |
| constexpr const char * | kPlateGotoPrefix = "orca_plate_goto" |
| constexpr const char * | kRecentProjectPrefix = "orca_recent_project" |
| struct Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::SettingText |
| void Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::drop_stale | ( | std::unordered_map< std::string, std::shared_ptr< AppAction > > & | actions, |
| const char * | prefix, | ||
| const std::unordered_set< std::string > & | seen ) |
References drop_stale().
Referenced by drop_stale().
| std::string Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::find_loaded_source_name | ( | PluginManager & | manager, |
| const std::string & | plugin_key ) |
References find_loaded_source_name(), Slic3r::PluginDescriptor::name, and Slic3r::PluginManager::try_get_plugin_descriptor().
Referenced by find_loaded_source_name().
| double Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::frecency_score | ( | int | count, |
| long long | last, | ||
| long long | now ) |
References count, and frecency_score().
Referenced by frecency_score().
| std::unique_ptr< AppAction > Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::make_action | ( | const std::string & | plugin_key, |
| const std::string & | capability, | ||
| const std::string & | source_name ) |
References Slic3r::PluginManager::get_plugin_capability(), Slic3r::PluginManager::instance(), Slic3r::PluginManager::is_plugin_loaded(), and make_action().
Referenced by make_action().
| std::unique_ptr< AppAction > Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::make_page_action | ( | const std::string & | plugin_key, |
| const std::string & | capability, | ||
| const std::string & | source_name ) |
References Slic3r::PluginManager::get_plugin_capability(), Slic3r::PluginManager::instance(), Slic3r::PluginManager::is_plugin_loaded(), and make_page_action().
Referenced by make_page_action().
| const char * Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::mode_key | ( | ConfigOptionMode | mode | ) |
References Slic3r::comAdvanced, Slic3r::comDevelop, Slic3r::comExpert, and mode_key().
Referenced by mode_key().
| void Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::notify_script_outcome | ( | const ScriptCompletion & | completion | ) |
References Slic3r::ScriptCompletion::cancelled, Slic3r::GUI::CustomNotification, Slic3r::GUI::AppActionRunResult::Error, Slic3r::GUI::NotificationManager::ErrorNotificationLevel, Slic3r::GUI::into_u8(), Slic3r::GUI::AppActionRunResult::level, Slic3r::GUI::AppActionRunResult::message, notify_script_outcome(), Slic3r::GUI::plater(), Slic3r::GUI::NotificationManager::RegularNotificationLevel, and script_outcome_to_action_result().
Referenced by notify_script_outcome(), and Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PluginScriptAction::run().
| nlohmann::json Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::parse_config_json | ( | const std::string & | value, |
| nlohmann::json | fallback ) |
References parse_config_json().
Referenced by parse_config_json(), and read_section().
| nlohmann::json Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::read_section | ( | const char * | key, |
| nlohmann::json | fallback ) |
References kConfigSection, parse_config_json(), and read_section().
Referenced by read_section(), and read_string_array().
| std::vector< std::string > Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::read_string_array | ( | const char * | key | ) |
References read_section(), and read_string_array().
Referenced by read_string_array().
| AppActionRunResult Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::script_outcome_to_action_result | ( | const ScriptCompletion & | completion | ) |
References _L, Slic3r::ScriptCompletion::cancelled, Slic3r::GUI::AppActionRunResult::Error, Slic3r::ScriptCompletion::error, Slic3r::GUI::from_u8(), Slic3r::GUI::AppActionRunResult::Info, Slic3r::ExecutionResult::message, Slic3r::ScriptCompletion::result, script_outcome_to_action_result(), Slic3r::Skipped, Slic3r::ExecutionResult::status, and Slic3r::GUI::AppActionRunResult::Success.
Referenced by notify_script_outcome(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PluginScriptAction::run(), and script_outcome_to_action_result().
| void Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::seed_from | ( | const nlohmann::json & | stats, |
| const std::vector< std::string > & | favs, | ||
| const std::string & | id, | ||
| AppAction & | a ) |
References Slic3r::GUI::AppAction::count, Slic3r::GUI::AppAction::favourite, Slic3r::GUI::AppAction::last, and seed_from().
Referenced by seed_from().
| SettingText Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::setting_text | ( | const std::wstring & | def_label, |
| const std::string & | display_label, | ||
| const wxString & | row_label, | ||
| bool | row_multi, | ||
| const std::string & | type_name, | ||
| const std::wstring & | category, | ||
| const std::wstring & | group ) |
References Slic3r::GUI::from_u8(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::SettingText::full_label, Slic3r::GUI::into_u8(), L, Slic3r::Search::resolve_setting_title(), setting_text(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::SettingText::source, and Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::SettingText::title.
Referenced by setting_text().
| const char * Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::setting_type_context | ( | Preset::Type | type | ) |
References L, setting_type_context(), Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINT, Slic3r::Preset::TYPE_PRINTER, Slic3r::Preset::TYPE_SLA_MATERIAL, and Slic3r::Preset::TYPE_SLA_PRINT.
Referenced by setting_type_context().
| void Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::write_section | ( | const char * | key, |
| const nlohmann::json & | j ) |
References kConfigSection, and write_section().
Referenced by write_section().
|
constexpr |
Referenced by read_section(), and write_section().
|
constexpr |
|
constexpr |
|
constexpr |