https://github.com/nihui/ksaolaji
https://github.com/nihui/ksaolaji
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/nihui/ksaolaji
- Owner: nihui
- Created: 2020-01-18T07:25:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-18T07:26:18.000Z (over 6 years ago)
- Last Synced: 2026-06-11T11:30:09.248Z (about 2 months ago)
- Language: C++
- Size: 165 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.kross
Awesome Lists containing this project
README
KSaoLaJi supports kross scripts since 2011/3/8.
How to write a cleaner?
Implement the following functions:
bool isThreadSafe() --- Return whether saolaji() is thread-safe
string uniqueName() --- Return the unique name of the cleaner
string description() --- Return the description shown in the application cleaner list
string iconName() --- Return the cleaner icon name or file path
bool youlaji() --- Check whether the waste exists
bool saolaji() --- Do the actual cleaning
Examples can be found in examples/python or examples/ruby sub-directory.
How to install my cleaner?
Copy your script file into ~/.kde/share/apps/ksaolaji/kross/ and restart KSaoLaJi.
You may need to install kross-python or kross-ruby from kdebindings to get it work properly.
HAPPY HACKING :) ;) :>
Ni Hui
Last update: 2011/4/6