aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/addon/libkviaddon.cpp
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2015-09-15 01:41:11 +0200
committerGravatar Szymon Tomasz Stefanek2015-09-15 01:41:11 +0200
commit4e11b44ea4f5b0a90b3dad4c51d2ad6addec0dc3 (patch)
tree6cd3a9b63b9ea209a5dd6579ae10fe394e8e6f29 /src/modules/addon/libkviaddon.cpp
parentMore work on addon management (diff)
downloadKVIrc-4e11b44ea4f5b0a90b3dad4c51d2ad6addec0dc3.tar.gz
KVIrc-4e11b44ea4f5b0a90b3dad4c51d2ad6addec0dc3.tar.bz2
KVIrc-4e11b44ea4f5b0a90b3dad4c51d2ad6addec0dc3.zip
More work on addon managmenet
Diffstat (limited to 'src/modules/addon/libkviaddon.cpp')
-rw-r--r--src/modules/addon/libkviaddon.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/addon/libkviaddon.cpp b/src/modules/addon/libkviaddon.cpp
index 74fb8a4ea..f64e08cd2 100644
--- a/src/modules/addon/libkviaddon.cpp
+++ b/src/modules/addon/libkviaddon.cpp
@@ -822,7 +822,7 @@ static bool addon_kvs_cmd_install(KviKvsModuleCommandCall * c)
@short:
Creates a kva package containing an addon
@syntax:
- addon.pack <package_path> <addon_name> <addon_version> <description> <author> <min_kvirc_version> <icon> <addon_path>
+ addon.pack <package_path> <addon_name> <addon_version> <description> <author> <min_kvirc_version> <image> <addon_path>
@description:
Creates a *.kva package containing a KVIrc addon.[br]
<package_path> is the absolute path and file name of the package that should be saved.[br]
@@ -832,8 +832,8 @@ static bool addon_kvs_cmd_install(KviKvsModuleCommandCall * c)
<author> is the name of the person that is creating the addon.
<min_kvirc_version> is the minimum kvirc version that this addon supports. Pass an empty string if you want
this to become the current kvirc version.
- <icon> is the path of an icon to be used as rappresentative image of the addon. Pass an empty string if you
- don't want an icon to be stored in the package.
+ <image> is the path of an image to be used in the installation dialog. Pass an empty string if you
+ don't want an image to be stored in the package.
<addon_path> is a path to a directory containing an addon. It should contain an install.kvs file
that calls [cmd]addon.register[/cmd] and then installs all the addon aliases, events and files (via [cmd]addon.installfiles[/cmd].
*/
@@ -848,7 +848,7 @@ static bool addon_kvs_cmd_pack(KviKvsModuleCommandCall * c)
KVSM_PARAMETER("description",KVS_PT_STRING,0,info.szDescription)
KVSM_PARAMETER("author",KVS_PT_NONEMPTYSTRING,0,info.szAuthor)
KVSM_PARAMETER("min_kvirc_version",KVS_PT_STRING,0,info.szMinVersion)
- KVSM_PARAMETER("addon_icon",KVS_PT_STRING,0,info.szIcon)
+ KVSM_PARAMETER("image",KVS_PT_STRING,0,info.szImage)
KVSM_PARAMETER("addon_path",KVS_PT_NONEMPTYSTRING,0,info.szDirPath)
KVSM_PARAMETERS_END(c)