diff options
author | Jean-Pierre Ledure <jp@ledure.be> | 2021-01-16 13:11:22 +0100 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2021-01-16 14:35:47 +0100 |
commit | 19e5606df73994bbf6ddd8089843be645bd4d8be (patch) | |
tree | 3303428a5ce26a2901379455aa538c1a85bc4aed /wizards | |
parent | 0ffebfb691ae6fcc8df4df4a0611276bb4f33b59 (diff) |
ScriptForge - (ScriptForgeHelper.py) add empty list of visible routines
The g_exportedScripts variable contains the list of the methods
in the script that may be made visible in LO IDE's
(APSO and alike)
Currently that list (in fact, a tuple) must be empty
Change-Id: I86abc0bb55be524a3f9d39da7c6bd248abec8668
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109435
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/source/scriptforge/python/ScriptForgeHelper.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/wizards/source/scriptforge/python/ScriptForgeHelper.py b/wizards/source/scriptforge/python/ScriptForgeHelper.py index f18433938b73..ca520434a2a9 100644 --- a/wizards/source/scriptforge/python/ScriptForgeHelper.py +++ b/wizards/source/scriptforge/python/ScriptForgeHelper.py @@ -261,6 +261,12 @@ def _SF_String__HashStr(string: str, algorithm: str) -> str: # used by SF_Strin return '' +# ################################################################# +# lists the scripts, that shall be visible inside the Basic/Python IDE +# ################################################################# + +g_exportedScripts = () + if __name__ == "__main__": print(_SF_Platform('Architecture')) print(_SF_Platform('ComputerName')) |