summaryrefslogtreecommitdiffstats
path: root/DCOP-bingings
diff options
context:
space:
mode:
Diffstat (limited to 'DCOP-bingings')
-rw-r--r--DCOP-bingings22
1 files changed, 22 insertions, 0 deletions
diff --git a/DCOP-bingings b/DCOP-bingings
new file mode 100644
index 0000000..a3cfb03
--- /dev/null
+++ b/DCOP-bingings
@@ -0,0 +1,22 @@
+kchmviewer supports the following DCOP bindings:
+
+Interface name: KCHMDCOPIface
+
+Bingings:
+
+ // Loads a CHM file filename , and opens the URL url. Use URL "/" to open default homepage
+ void loadHelpFile( String filename, String url );
+
+ // Opens a specific url inside the loaded CHM file
+ void openPage( String url );
+
+ // Tries to find word in index, opening the index window and scrolling it there
+ void guiFindInIndex( String word );
+
+ // Executes a search in GUI. query contains the complete search query.
+ void guiSearchQuery( String query );
+
+ // Executes a search; GUI is not involved and user sees nothing.
+ // query contains the complete search query.
+ // Returns a list of URLs, or empty array if nothing os
+ StringList searchQuery( String query );