<< Prev |
|
CORBA integration
First, check at gnome.org for doc about Corba / Orbit / Gnorba... won't explain you what's corba...
The Gsfdm server is divised in 2 interfaces :The full descriptions of arguments is on "idl/gsfdm.idl", the interface definition of gsfdm.
- Url : registered with the name "gsfdm_url", allow actions on urls :
- add_url( in string url ) ; // add url with user's options
- add_url_full( in string url, in boolean auto_dl, in boolean auto_rn, in boolean dlg ); // full add
- remove_url( in string url, in boolean force ); // remove url, force even if running
- stop_url( in string url ); // just stop whether downloading
- copy_to_clipboard( ); // export list containt to clipboard
- paste_from_clipboard( in boolean auto_dl, in boolean dlg ); // add list from clipboard
- Action : registered with the name "gsfdm_action", allow actions on gsfdm :
- exit( in exit_value mode, in boolean current_list );
"#" functions are defined for compatibility but do nothingNow just code you may want to use in your application. Here I use gnome and orbit. Use what you want, it's the same skeleton. This is a client connection, same as use in gsfdm when connunicate with a running server.
#include "GSFDM.h" // gsfdm-corba functions definition |
<< Prev |
|