1
This is a sample kipi plugin to demonstrate how to start to implement a new tool.
3
A plugin is at least constituate of these files :
5
- CMakeLists.txt : a rules to compile tool.
6
- kipiplugin_helloworld.desktop : a KDE desktop file to make visible this tool from KIPI host applications.
7
- Messages.sh : a script to extract internationalization strings for translations purpose.
8
- plugin_kxmlhelloworld.h : the definition of tool based on KIPI::Plugin class.
9
- plugin_kxmlhelloworld.cpp : the implemention of tool. Usually we name plugin entry class file as plugin_*.h/.cpp with * the name of tool.
11
We also provide 2 documentation text files :
13
- README : to give a minimum information about tool
14
- TODO : to list all pending tasks to implement.
16
It's highly recommend to read comments from source to know how to start the implementation of a new tool. Take a look also to
17
shared libkipi and kipiplugins/common/libkipiplugins private API.
19
NOTE: To be able to load this plugin in digiKam for testing purpose, you need to to remove it from banned list of tool in
20
void KipiPluginLoader::loadPlugins() method, from core/utilities/kipiiface/kipipluginloader.cpp