Class sh::scripting::api::ApiGlobalObject

class sh::scripting::api::ApiGlobalObject : public sh::base::Singleton

Public Functions

std::shared_ptr<const sh::filesystem::Eurl> getEurlFromString(QString eurl)
void logDebug(QString msg)
void logInfo(QString msg)
void logWarning(QString msg)
void logError(QString msg)
int filesystemnodetype_file()
int filesystemnodetype_directory()
int filesystemnodetype_link()
int filesystemnodetype_unknown()
int filesystemnodetype_firsttype()
int filesystemnodetype_lastphysicaltype()
int filesystemnodetype_none()
int filesystemnodetype_specialtreeonlydirectory()
int filesystemnodetype_lasttype()
int actiondefaultprecedencevalues_openfile()
int actiondefaultprecedencevalues_builtinspecialopen()
int messageboxbutton_ok()
int messageboxbutton_continue()
int messageboxbutton_cancel()
int messageboxbutton_retry()
int messageboxbutton_yes()
int messageboxbutton_no()
int displayindex_core()
int displayindex_interesting()
int displayindex_exotic()
int configurationcategory_gui()
int configurationcategory_behavior()
int configurationcategory_externaltools()
int settinggroup_global()
int settinggroup_gui()
int settinggroup_filehandling()
int settinggroup_dataview()
int settinggroup_behavior()
int settinggroup_special()
int paneldetail_positionindex_veryinteresting()
int paneldetail_positionindex_interesting()
int paneldetail_positionindex_exotic()
int operationstep_conflictresolution_mergedirectories()
int operationstep_conflictresolution_overwritedestination()
int operationstep_conflictresolution_renamedestinationbefore()
int operationstep_conflictresolution_skip()
int operationstep_conflictresolution_unresolved()
int operationstep_conflictresolution_indirect()
int operationstep_conflictresolution_usedifferentdestinationname()
int filepropertydialogtab_index_core()
int filepropertydialogtab_index_veryimportant()
int filepropertydialogtab_index_important()
int filepropertydialogtab_index_normal()
int filepropertydialogtab_index_exotic()
int filepropertydialogtab_propertytype_string()
int filepropertydialogtab_propertytype_stringmap()
int filepropertydialogtab_propertytype_icontextbanner()
int searchcriterionfactory_index_core()
int searchcriterionfactory_index_normal()
int searchcriterionfactory_index_exotic()
int thumbnailprovider_index_core()
int thumbnailprovider_index_normal()
int thumbnailprovider_index_exotic()
int thumbnailprovider_index_fallback()
void register_predicatedactionfactory(std::shared_ptr<sh::scripting::api::ApiActionFactory> f)
bool isDebugBuild()
std::shared_ptr<sh::scripting::api::ApiFilesystemHandler> create_FilesystemHandler()
std::shared_ptr<sh::scripting::api::ApiActionActionItem> create_ActionActionItem(QString text, bool enabled, QString icon, int defaultActionPrecedence)
std::shared_ptr<sh::scripting::api::ApiSubmenuActionItem> create_SubmenuActionItem(QString text, bool enabled, QString icon, int defaultActionPrecedence)
std::shared_ptr<sh::scripting::api::ApiDetailColumn> create_DetailColumn(QString name, QString displayName, int displayIndex, bool sort_doTypediff, int defaultWidth, bool isRightAligned)
std::shared_ptr<sh::scripting::api::ApiFilePropertyDialogTab> create_FilePropertyDialogTab(QString title, QList<QString> properties)
std::shared_ptr<sh::scripting::api::ApiFilePropertyDialogTabFactory> create_FilePropertyDialogTabFactory()
std::shared_ptr<sh::scripting::api::ApiActionFactory> create_ActionFactory(QString category, QList<std::shared_ptr<actions::Predicate>> predicates)
std::shared_ptr<sh::scripting::api::ApiPanelDetailFactorySingle> create_DetailFactorySingle(int position, int valueWidthHint)
std::shared_ptr<sh::scripting::api::ApiPanelDetailFactoryMulti> create_DetailFactoryMulti(int position, int valueWidthHint)
std::shared_ptr<sh::scripting::api::ApiFilesystemOperationProgressMonitor> create_FilesystemOperationProgressMonitor(sh::actions::ActionExecutionInfo *actionExecution)
std::shared_ptr<sh::filesystem::FilesystemNode> _createFilesystemNode(std::shared_ptr<sh::filesystem::Eurl> eurl, sh::scripting::api::ApiFilesystemHandler *handler, int nodetype, std::shared_ptr<sh::filesystem::FilesystemNode> parent, bool doinsert, bool showInitialLoadingLabel, bool isHidden)
std::shared_ptr<sh::scripting::api::ApiThumbnailProvider> create_ThumbnailProvider()
std::shared_ptr<sh::filesystem::FilesystemNode> _getOrCreateFilesystemNode(std::shared_ptr<sh::filesystem::Eurl> eurl, sh::scripting::api::ApiFilesystemHandler *handler, int nodetype, std::shared_ptr<sh::filesystem::FilesystemNode> parent, bool doinsert, bool showInitialLoadingLabel, bool isHidden)
void _register_FilesystemHandler(std::shared_ptr<sh::scripting::api::ApiFilesystemHandler> handler, QString scheme)
std::shared_ptr<sh::filesystem::FilesystemNode> modelRootNode()
QList<std::shared_ptr<sh::filesystem::FilesystemNode>> _findFilesystemNodesForEurl(std::shared_ptr<const sh::filesystem::Eurl> eurl)
QList<std::shared_ptr<sh::filesystem::FilesystemNode>> _tryGetFilesystemNodesForEurl(std::shared_ptr<const sh::filesystem::Eurl> eurl)
void refreshData(std::shared_ptr<const sh::filesystem::Eurl> eurl, bool forceFindParent, bool withDetails)
std::shared_ptr<filesystem::Eurl> createEurl(QString scheme, QString hostname, QString path)
std::shared_ptr<sh::filesystem::Operation> createOperation()
sh::scripting::StringMap<QString> createArgumentException()
sh::scripting::StringMap<QString> createIOException()
sh::scripting::StringMap<QString> createRuntimeException()
sh::scripting::StringMap<QString> createProgramException()
sh::scripting::StringMap<QString> createException()
std::shared_ptr<sh::scripting::api::ApiReadDataDevice> _createReadDataDevice()
std::shared_ptr<ApiSetting> createSetting(QString name, QString description, int group, bool isAdvancedSetting, bool isGlobal, bool isPerFileview)
std::shared_ptr<sh::scripting::api::ApiThread> create_Thread()
std::shared_ptr<sh::scripting::api::ApiTimer> create_Timer()
std::shared_ptr<sh::scripting::api::ApiSearchCriterion> create_SearchCriterion(std::shared_ptr<sh::scripting::api::ApiSearchCriterionFactory> factory)
std::shared_ptr<sh::scripting::api::ApiSearchCriterionFactory> create_SearchCriterionFactory(QString key, QString description)
sh::ui::MainWindow *mainwindow()
void registerPanelDetailFactorySingle(std::shared_ptr<sh::scripting::api::ApiPanelDetailFactorySingle>)
void registerPanelDetailFactoryMulti(std::shared_ptr<sh::scripting::api::ApiPanelDetailFactoryMulti>)
void registerSetting(std::shared_ptr<sh::settings::Setting> setting)
void openItems(QList<std::shared_ptr<const sh::filesystem::Eurl>> eurls)
void registerFilePropertyDialogTabFactory(int index, std::shared_ptr<sh::scripting::api::ApiFilePropertyDialogTabFactory>)
void registerThumbnailProvider(int idx, std::shared_ptr<sh::scripting::api::ApiThumbnailProvider> thumbnailprovider)
void registerSearchCriterionFactory(int idx, std::shared_ptr<ApiSearchCriterionFactory> apicrit)
std::shared_ptr<sh::configuration::ConfigurationValue> register_ConfigurationValueInt(QString name, int deflt, QString desc, int category, QString longdesc, QString changehint)
std::shared_ptr<sh::configuration::ConfigurationValue> register_ConfigurationValueFloat(QString name, int deflt, QString desc, int category, QString longdesc, QString changehint)
std::shared_ptr<sh::configuration::ConfigurationValue> register_ConfigurationValueBool(QString name, bool deflt, QString desc, int category, QString longdesc, QString changehint)
std::shared_ptr<sh::configuration::ConfigurationValue> register_ConfigurationValueString(QString name, QString deflt, QString desc, int category, QString longdesc, QString changehint)
void registerTransferrableDetailColumn(int i, std::shared_ptr<sh::filesystem::DetailColumn> detailColumn)
std::shared_ptr<sh::filesystem::DetailColumn> findDetailColumnByName(QString name)
QString shallotDataDir()
QString shallotBuiltinPluginDir()
QString shallotSystemPluginDir()
QString shallotUserPluginDir()
QString shallotLanguage()
sh::tools::BookmarkManager *bookmarkManager()
std::shared_ptr<sh::actions::Predicate> create_OnDirectoriesPredicate()
std::shared_ptr<sh::actions::Predicate> create_OnFilesPredicate()
std::shared_ptr<sh::actions::Predicate> create_OnLinksPredicate()
std::shared_ptr<sh::actions::Predicate> create_OnSingleEntrySelectionPredicate()
std::shared_ptr<sh::actions::Predicate> create_DontResolveLinksPredicate()
std::shared_ptr<sh::actions::Predicate> create_HideOnCurrentDirectoryLevelPredicate()
std::shared_ptr<sh::actions::Predicate> create_HideOnSelectionLevelPredicate()
std::shared_ptr<sh::actions::Predicate> create_ByRegExpPredicate(QString pattern)
std::shared_ptr<sh::actions::Predicate> create_KeyShortcutPredicate(QString shortcut, bool triggersOnCurrentDirectoryLevel)
std::shared_ptr<sh::actions::Predicate> create_PositionIndexPredicate(int index)
void doInitialize()

Executes singleton initialization.

void doShutdown()

Executes singleton shutdown.

void shutdown()

Shutdown down this singleton.

bool isAlive()

Returns if this singleton is alive (true until its shutdown begins).

Private Functions

ApiGlobalObject()