2020-09-24 13:47:11 +00:00
<!DOCTYPE html>
< html class = "writer-html5" lang = "en" >
< head >
2021-01-18 21:09:43 +00:00
< meta charset = "utf-8" />
2020-09-24 13:47:11 +00:00
2021-01-18 21:09:43 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" />
2020-09-24 13:47:11 +00:00
< title > IPluginInstallerCustom — MO2 Python Plugin API 2.3rc1 documentation</ title >
< link rel = "stylesheet" href = "../_static/css/theme.css" type = "text/css" />
< link rel = "stylesheet" href = "../_static/pygments.css" type = "text/css" />
< link rel = "stylesheet" href = "../_static/graphviz.css" type = "text/css" />
2020-09-24 14:17:15 +00:00
< link rel = "shortcut icon" href = "../_static/mo2.ico" />
2021-01-18 21:09:43 +00:00
2020-09-24 13:47:11 +00:00
2021-01-18 21:09:43 +00:00
2020-09-24 13:47:11 +00:00
<!--[if lt IE 9]>
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->
< script type = "text/javascript" id = "documentation_options" data-url_root = "../" src = "../_static/documentation_options.js" ></ script >
< script src = "../_static/jquery.js" ></ script >
< script src = "../_static/underscore.js" ></ script >
< script src = "../_static/doctools.js" ></ script >
< script src = "../_static/language_data.js" ></ script >
< script type = "text/javascript" src = "../_static/js/theme.js" ></ script >
< link rel = "index" title = "Index" href = "../genindex.html" />
< link rel = "search" title = "Search" href = "../search.html" />
< link rel = "next" title = "IPluginInstallerSimple" href = "mobase.IPluginInstallerSimple.html" />
< link rel = "prev" title = "IPluginInstaller" href = "mobase.IPluginInstaller.html" />
</ head >
< body class = "wy-body-for-nav" >
< div class = "wy-grid-for-nav" >
< nav data-toggle = "wy-nav-shift" class = "wy-nav-side" >
< div class = "wy-side-scroll" >
< div class = "wy-side-nav-search" >
2021-01-18 21:09:43 +00:00
< a href = "../index.html" class = "icon icon-home" > MO2 Python Plugin API
2020-09-24 13:47:11 +00:00
</ a >
< div role = "search" >
< form id = "rtd-search-form" class = "wy-form" action = "../search.html" method = "get" >
< input type = "text" name = "q" placeholder = "Search docs" />
< input type = "hidden" name = "check_keywords" value = "yes" />
< input type = "hidden" name = "area" value = "default" />
</ form >
</ div >
</ div >
< div class = "wy-menu wy-menu-vertical" data-spy = "affix" role = "navigation" aria-label = "main navigation" >
< p class = "caption" >< span class = "caption-text" > Contents:</ span ></ p >
< ul class = "current" >
< li class = "toctree-l1" >< a class = "reference internal" href = "../setup-tools.html" > Setting up the environment</ a >< ul >
< li class = "toctree-l2" >< a class = "reference internal" href = "../setup-tools.html#required-tools" > Required tools</ a ></ li >
< li class = "toctree-l2" >< a class = "reference internal" href = "../setup-tools.html#preparation" > Preparation</ a >< ul >
< li class = "toctree-l3" >< a class = "reference internal" href = "../setup-tools.html#get-the-mobase-stubs" > 1. Get the < code class = "docutils literal notranslate" >< span class = "pre" > mobase</ span ></ code > stubs</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "../setup-tools.html#configure-visual-studio-code-for-mobase" > 2. Configure Visual Studio Code for < code class = "docutils literal notranslate" >< span class = "pre" > mobase</ span ></ code ></ a ></ li >
2021-02-26 18:26:36 +00:00
< li class = "toctree-l3" >< a class = "reference internal" href = "../setup-tools.html#optional-configure-black-to-auto-format-your-source-files" > 3. [Optional] Configure < code class = "docutils literal notranslate" >< span class = "pre" > black</ span ></ code > to auto-format your source files</ a ></ li >
2021-01-18 21:09:43 +00:00
< li class = "toctree-l3" >< a class = "reference internal" href = "../setup-tools.html#optional-automatically-reload-plugins-during-development" > 4. [Optional] Automatically reload plugins during development</ a ></ li >
2020-09-24 13:47:11 +00:00
</ ul >
</ li >
< li class = "toctree-l2" >< a class = "reference internal" href = "../setup-tools.html#testing-the-setup" > Testing the setup</ a ></ li >
</ ul >
</ li >
< li class = "toctree-l1" >< a class = "reference internal" href = "../plugin-types.html" > Type of Plugins</ a >< ul >
< li class = "toctree-l2" >< a class = "reference internal" href = "../plugin-types.html#installers" > Installers</ a ></ li >
< li class = "toctree-l2" >< a class = "reference internal" href = "../plugin-types.html#previewers" > Previewers</ a ></ li >
< li class = "toctree-l2" >< a class = "reference internal" href = "../plugin-types.html#mod-page" > Mod Page</ a ></ li >
< li class = "toctree-l2" >< a class = "reference internal" href = "../plugin-types.html#game" > Game</ a ></ li >
< li class = "toctree-l2" >< a class = "reference internal" href = "../plugin-types.html#tool" > Tool</ a ></ li >
< li class = "toctree-l2" >< a class = "reference internal" href = "../plugin-types.html#proxies" > Proxies</ a ></ li >
< li class = "toctree-l2" >< a class = "reference internal" href = "../plugin-types.html#free-plugins" >< em > Free Plugins</ em ></ a ></ li >
< li class = "toctree-l2" >< a class = "reference internal" href = "../plugin-types.html#extension-interfaces" > Extension Interfaces</ a >< ul >
< li class = "toctree-l3" >< a class = "reference internal" href = "../plugin-types.html#diagnose" > Diagnose</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "../plugin-types.html#file-mappings" > File Mappings</ a ></ li >
</ ul >
</ li >
</ ul >
</ li >
< li class = "toctree-l1" >< a class = "reference internal" href = "../writing-plugins.html" > Writing Plugins</ a >< ul >
< li class = "toctree-l2" >< a class = "reference internal" href = "../writing-plugins.html#getting-started" > Getting started</ a >< ul >
< li class = "toctree-l3" >< a class = "reference internal" href = "../writing-plugins.html#single-file-plugins" > Single file plugins</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "../writing-plugins.html#module-plugins" > Module Plugins</ a ></ li >
</ ul >
</ li >
< li class = "toctree-l2" >< a class = "reference internal" href = "../writing-plugins.html#writing-the-plugin" > Writing the plugin</ a >< ul >
< li class = "toctree-l3" >< a class = "reference internal" href = "../writing-plugins.html#iplugin-interface" >< code class = "docutils literal notranslate" >< span class = "pre" > IPlugin</ span ></ code > interface</ a ></ li >
</ ul >
</ li >
2020-10-07 18:49:09 +00:00
< li class = "toctree-l2" >< a class = "reference internal" href = "../writing-plugins.html#examples" > Examples</ a >< ul >
< li class = "toctree-l3" >< a class = "reference internal" href = "../writing-plugins.html#tutorial-plugins" > Tutorial Plugins</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "../writing-plugins.html#official-plugins" > Official Plugins</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "../writing-plugins.html#unofficial-plugins" > Unofficial Plugins</ a ></ li >
</ ul >
</ li >
2021-02-06 18:58:42 +00:00
< li class = "toctree-l2" >< a class = "reference internal" href = "../writing-plugins.html#internationalization" > Internationalization</ a >< ul >
< li class = "toctree-l3" >< a class = "reference internal" href = "../writing-plugins.html#adding-translation-code" > Adding translation code</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "../writing-plugins.html#generating-qt-translation-files" > Generating Qt translation files</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "../writing-plugins.html#translating" > Translating</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "../writing-plugins.html#distributing-translations" > Distributing translations</ a ></ li >
</ ul >
</ li >
2020-09-24 13:47:11 +00:00
</ ul >
</ li >
< li class = "toctree-l1" >< a class = "reference internal" href = "../faq.html" > FAQ</ a >< ul >
< li class = "toctree-l2" >< a class = "reference internal" href = "../faq.html#why-is-mo2-throwing-an-exception-when-i-try-to-create-a-type-inheriting-one-of-mo2-class" > 1. Why is MO2 throwing an exception when I try to create a type inheriting one of MO2 class?</ a ></ li >
< li class = "toctree-l2" >< a class = "reference internal" href = "../faq.html#how-can-i-be-sure-to-implement-all-the-required-methods-when-creating-a-plugin" > 2. How can I be sure to implement all the required methods when creating a plugin?</ a ></ li >
< li class = "toctree-l2" >< a class = "reference internal" href = "../faq.html#why-are-my-isinstance-x-qobject-and-isinstance-y-qwidget-not-working" > 3. Why are my < code class = "docutils literal notranslate" >< span class = "pre" > isinstance(x,</ span > < span class = "pre" > QObject)</ span ></ code > and < code class = "docutils literal notranslate" >< span class = "pre" > isinstance(y,</ span > < span class = "pre" > QWidget)</ span ></ code > not working?</ a ></ li >
</ ul >
</ li >
< li class = "toctree-l1 current" >< a class = "reference internal" href = "../mobase.html" >< code class = "docutils literal notranslate" >< span class = "pre" > mobase</ span ></ code > API</ a >< ul class = "current" >
< li class = "toctree-l2" >< a class = "reference internal" href = "../mobase.html#functions" > Functions</ a >< ul >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.getFileVersion.html" > getFileVersion</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.getIconForExecutable.html" > getIconForExecutable</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.getProductVersion.html" > getProductVersion</ a ></ li >
</ ul >
</ li >
< li class = "toctree-l2 current" >< a class = "reference internal" href = "../mobase.html#classes" > Classes</ a >< ul class = "current" >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.BSAInvalidation.html" > BSAInvalidation</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.DataArchives.html" > DataArchives</ a ></ li >
2021-01-18 21:09:43 +00:00
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.EndorsedState.html" > EndorsedState</ a ></ li >
2020-09-24 13:47:11 +00:00
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.ExecutableForcedLoadSetting.html" > ExecutableForcedLoadSetting</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.ExecutableInfo.html" > ExecutableInfo</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.FileInfo.html" > FileInfo</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.FileTreeEntry.html" > FileTreeEntry</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.GamePlugins.html" > GamePlugins</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.GuessQuality.html" > GuessQuality</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.GuessedString.html" > GuessedString</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IDownloadManager.html" > IDownloadManager</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IFileTree.html" > IFileTree</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IInstallationManager.html" > IInstallationManager</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IModInterface.html" > IModInterface</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IModList.html" > IModList</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IModRepositoryBridge.html" > IModRepositoryBridge</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IOrganizer.html" > IOrganizer</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IPlugin.html" > IPlugin</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IPluginDiagnose.html" > IPluginDiagnose</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IPluginFileMapper.html" > IPluginFileMapper</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IPluginGame.html" > IPluginGame</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IPluginInstaller.html" > IPluginInstaller</ a ></ li >
< li class = "toctree-l3 current" >< a class = "current reference internal" href = "#" > IPluginInstallerCustom</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IPluginInstallerSimple.html" > IPluginInstallerSimple</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IPluginList.html" > IPluginList</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IPluginModPage.html" > IPluginModPage</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IPluginPreview.html" > IPluginPreview</ a ></ li >
2021-01-18 21:09:43 +00:00
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IPluginRequirement.html" > IPluginRequirement</ a ></ li >
2020-09-24 13:47:11 +00:00
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IPluginTool.html" > IPluginTool</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.IProfile.html" > IProfile</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.ISaveGame.html" > ISaveGame</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.ISaveGameInfoWidget.html" > ISaveGameInfoWidget</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.InstallResult.html" > InstallResult</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.InterfaceNotImplemented.html" > InterfaceNotImplemented</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.LoadOrderMechanism.html" > LoadOrderMechanism</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.LocalSavegames.html" > LocalSavegames</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.Mapping.html" > Mapping</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.ModDataChecker.html" > ModDataChecker</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.ModDataContent.html" > ModDataContent</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.ModRepositoryFileInfo.html" > ModRepositoryFileInfo</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.ModState.html" > ModState</ a ></ li >
2021-01-18 21:09:43 +00:00
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.PluginRequirementFactory.html" > PluginRequirementFactory</ a ></ li >
2020-09-24 13:47:11 +00:00
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.PluginSetting.html" > PluginSetting</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.PluginState.html" > PluginState</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.ProfileSetting.html" > ProfileSetting</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.ReleaseType.html" > ReleaseType</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.SaveGameInfo.html" > SaveGameInfo</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.ScriptExtender.html" > ScriptExtender</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.SortMechanism.html" > SortMechanism</ a ></ li >
2021-01-18 21:09:43 +00:00
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.TrackedState.html" > TrackedState</ a ></ li >
2020-09-24 13:47:11 +00:00
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.UnmanagedMods.html" > UnmanagedMods</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.VersionInfo.html" > VersionInfo</ a ></ li >
< li class = "toctree-l3" >< a class = "reference internal" href = "mobase.VersionScheme.html" > VersionScheme</ a ></ li >
</ ul >
</ li >
</ ul >
</ li >
</ ul >
</ div >
</ div >
</ nav >
< section data-toggle = "wy-nav-shift" class = "wy-nav-content-wrap" >
< nav class = "wy-nav-top" aria-label = "top navigation" >
< i data-toggle = "wy-nav-top" class = "fa fa-bars" ></ i >
< a href = "../index.html" > MO2 Python Plugin API</ a >
</ nav >
< div class = "wy-nav-content" >
< div class = "rst-content" >
2021-01-18 21:09:43 +00:00
2020-09-24 13:47:11 +00:00
< div role = "navigation" aria-label = "breadcrumbs navigation" >
< ul class = "wy-breadcrumbs" >
< li >< a href = "../index.html" class = "icon icon-home" ></ a > » </ li >
< li >< a href = "../mobase.html" >< code class = "docutils literal notranslate" >< span class = "pre" > mobase</ span ></ code > API</ a > » </ li >
< li > IPluginInstallerCustom</ li >
< li class = "wy-breadcrumbs-aside" >
2021-01-18 21:09:43 +00:00
2020-09-24 13:47:11 +00:00
< a href = "../_sources/api/mobase.IPluginInstallerCustom.rst.txt" rel = "nofollow" > View page source</ a >
</ li >
</ ul >
< hr />
</ div >
< div role = "main" class = "document" itemscope = "itemscope" itemtype = "http://schema.org/Article" >
< div itemprop = "articleBody" >
< div class = "section" id = "iplugininstallercustom" >
< h1 > IPluginInstallerCustom< a class = "headerlink" href = "#iplugininstallercustom" title = "Permalink to this headline" > ¶</ a ></ h1 >
< dl class = "class" >
< dt id = "mobase.IPluginInstallerCustom" >
< em class = "property" > class </ em >< code class = "sig-prename descclassname" > mobase.</ code >< code class = "sig-name descname" > IPluginInstallerCustom</ code >< a class = "headerlink" href = "#mobase.IPluginInstallerCustom" title = "Permalink to this definition" > ¶</ a ></ dt >
< dd >< p > Bases: < a class = "reference internal" href = "mobase.IPluginInstaller.html#mobase.IPluginInstaller" title = "mobase.IPluginInstaller" >< code class = "xref py py-class docutils literal notranslate" >< span class = "pre" > mobase.IPluginInstaller</ span ></ code ></ a ></ p >
< p > Custom installer for mods. Custom installers receive the archive name and have to go
2021-01-18 21:09:43 +00:00
from there. They have to be able to extract the archive themselves.</ p >
2020-09-24 13:47:11 +00:00
< p > Example of such installers are the external NCC installer or the OMOD installer.</ p >
< p class = "rubric" > Methods Summary</ p >
< table class = "longtable docutils align-default" >
< colgroup >
< col style = "width: 10%" />
< col style = "width: 90%" />
</ colgroup >
< tbody >
< tr class = "row-odd" >< td >< p >< a class = "reference internal" href = "#mobase.IPluginInstallerCustom.install" title = "mobase.IPluginInstallerCustom.install" >< code class = "xref py py-obj docutils literal notranslate" >< span class = "pre" > install</ span ></ code ></ a > (mod_name, game_name, archive_name, …)</ p ></ td >
< td >< p > Install the given archive.</ p ></ td >
</ tr >
2021-01-18 21:09:43 +00:00
< tr class = "row-even" >< td >< p >< a class = "reference internal" href = "#mobase.IPluginInstallerCustom.isArchiveSupported" title = "mobase.IPluginInstallerCustom.isArchiveSupported" >< code class = "xref py py-obj docutils literal notranslate" >< span class = "pre" > isArchiveSupported</ span ></ code ></ a > (archive_name)</ p ></ td >
< td >< p > Check if the given file is a supported archive for this installer.</ p ></ td >
2020-09-24 13:47:11 +00:00
</ tr >
< tr class = "row-odd" >< td >< p >< a class = "reference internal" href = "#mobase.IPluginInstallerCustom.supportedExtensions" title = "mobase.IPluginInstallerCustom.supportedExtensions" >< code class = "xref py py-obj docutils literal notranslate" >< span class = "pre" > supportedExtensions</ span ></ code ></ a > ()</ p ></ td >
< td >< p >< dl class = "field-list simple" >
< dt class = "field-odd" > returns</ dt >
< dd class = "field-odd" >< p > A list of file extensions that this installer can handle.</ p >
</ dd >
</ dl >
</ p ></ td >
</ tr >
</ tbody >
</ table >
< p class = "rubric" > Methods Documentation</ p >
< dl class = "method" >
< dt id = "mobase.IPluginInstallerCustom.install" >
< em class = "property" > abstract </ em >< code class = "sig-name descname" > install</ code >< span class = "sig-paren" > (</ span >< em class = "sig-param" > mod_name</ em > , < em class = "sig-param" > game_name</ em > , < em class = "sig-param" > archive_name</ em > , < em class = "sig-param" > version</ em > , < em class = "sig-param" > nexus_id</ em >< span class = "sig-paren" > )</ span >< a class = "headerlink" href = "#mobase.IPluginInstallerCustom.install" title = "Permalink to this definition" > ¶</ a ></ dt >
< dd >< p > Install the given archive.</ p >
< p > The mod needs to be created by calling < cite > IOrganizer.createMod</ cite > first.</ p >
< dl class = "field-list simple" >
< dt class = "field-odd" > Parameters</ dt >
< dd class = "field-odd" >< ul class = "simple" >
2021-01-18 21:09:43 +00:00
< li >< p >< strong > mod_name</ strong > – Name of the mod to install. As an input parameter this is the suggested name
(e.g. from meta data) The installer may change this parameter to rename the mod).</ p ></ li >
2020-09-24 13:47:11 +00:00
< li >< p >< strong > game_name</ strong > – Name of the game for which the mod is installed.</ p ></ li >
< li >< p >< strong > archive_name</ strong > – Name of the archive to install.</ p ></ li >
2021-01-18 21:09:43 +00:00
< li >< p >< strong > version</ strong > – Version of the mod. May be empty if the version is not yet known. The plugin is responsible
for setting the version on the created mod.</ p ></ li >
< li >< p >< strong > nexus_id</ strong > – ID of the mod or -1 if unknown. The plugin is responsible for setting the mod ID for the
created mod.</ p ></ li >
2020-09-24 13:47:11 +00:00
</ ul >
</ dd >
< dt class = "field-even" > Returns</ dt >
< dd class = "field-even" >< p > The result of the installation process.</ p >
</ dd >
< dt class = "field-odd" > Return type</ dt >
< dd class = "field-odd" >< p >< a class = "reference internal" href = "mobase.InstallResult.html#mobase.InstallResult" title = "mobase.InstallResult" >< code class = "xref py py-class docutils literal notranslate" >< span class = "pre" > InstallResult</ span ></ code ></ a ></ p >
</ dd >
</ dl >
</ dd ></ dl >
< dl class = "method" >
< dt id = "mobase.IPluginInstallerCustom.isArchiveSupported" >
2021-01-18 21:09:43 +00:00
< em class = "property" > abstract </ em >< code class = "sig-name descname" > isArchiveSupported</ code >< span class = "sig-paren" > (</ span >< em class = "sig-param" > archive_name</ em >< span class = "sig-paren" > )</ span >< a class = "headerlink" href = "#mobase.IPluginInstallerCustom.isArchiveSupported" title = "Permalink to this definition" > ¶</ a ></ dt >
< dd >< p > Check if the given file is a supported archive for this installer.</ p >
< dl class = "field-list simple" >
< dt class = "field-odd" > Parameters</ dt >
< dd class = "field-odd" >< p >< strong > archive_name</ strong > – Name of the archive.</ p >
</ dd >
< dt class = "field-even" > Returns</ dt >
< dd class = "field-even" >< p > True if this installer can handle the archive, False otherwise.</ p >
</ dd >
< dt class = "field-odd" > Return type</ dt >
< dd class = "field-odd" >< p >< code class = "xref py py-class docutils literal notranslate" >< span class = "pre" > bool</ span ></ code ></ p >
</ dd >
</ dl >
2020-09-24 13:47:11 +00:00
</ dd ></ dl >
< dl class = "method" >
< dt id = "mobase.IPluginInstallerCustom.supportedExtensions" >
< em class = "property" > abstract </ em >< code class = "sig-name descname" > supportedExtensions</ code >< span class = "sig-paren" > (</ span >< span class = "sig-paren" > )</ span >< a class = "headerlink" href = "#mobase.IPluginInstallerCustom.supportedExtensions" title = "Permalink to this definition" > ¶</ a ></ dt >
< dd >< dl class = "field-list simple" >
< dt class = "field-odd" > Returns</ dt >
< dd class = "field-odd" >< p > A list of file extensions that this installer can handle.</ p >
</ dd >
< dt class = "field-even" > Return type</ dt >
< dd class = "field-even" >< p >< code class = "xref py py-class docutils literal notranslate" >< span class = "pre" > List</ span ></ code > [< code class = "xref py py-class docutils literal notranslate" >< span class = "pre" > str</ span ></ code > ]</ p >
</ dd >
</ dl >
</ dd ></ dl >
</ dd ></ dl >
</ div >
</ div >
</ div >
< footer >
< div class = "rst-footer-buttons" role = "navigation" aria-label = "footer navigation" >
2021-01-18 21:09:43 +00:00
< a href = "mobase.IPluginInstallerSimple.html" class = "btn btn-neutral float-right" title = "IPluginInstallerSimple" accesskey = "n" rel = "next" > Next < span class = "fa fa-arrow-circle-right" aria-hidden = "true" ></ span ></ a >
< a href = "mobase.IPluginInstaller.html" class = "btn btn-neutral float-left" title = "IPluginInstaller" accesskey = "p" rel = "prev" >< span class = "fa fa-arrow-circle-left" aria-hidden = "true" ></ span > Previous</ a >
2020-09-24 13:47:11 +00:00
</ div >
< hr />
< div role = "contentinfo" >
< p >
2021-01-18 21:09:43 +00:00
© Copyright 2020, Holt59.
2020-09-24 13:47:11 +00:00
</ p >
</ div >
2021-01-18 21:09:43 +00:00
Built with < a href = "https://www.sphinx-doc.org/" > Sphinx</ a > using a
2020-09-24 13:47:11 +00:00
2021-01-18 21:09:43 +00:00
< a href = "https://github.com/readthedocs/sphinx_rtd_theme" > theme</ a >
2020-09-24 13:47:11 +00:00
provided by < a href = "https://readthedocs.org" > Read the Docs</ a > .
</ footer >
</ div >
</ div >
</ section >
</ div >
< script type = "text/javascript" >
jQuery ( function () {
SphinxRtdTheme . Navigation . enable ( true );
});
</ script >
</ body >
</ html >