| libinfgtk-0.3 Reference Manual | ||||
|---|---|---|---|---|
InfGtkBrowserStore;
InfGtkBrowserStore* inf_gtk_browser_store_new (InfIo *io,
InfCommunicationManager *comm_manager);
void inf_gtk_browser_store_add_discovery (InfGtkBrowserStore *store,
InfDiscovery *discovery);
void inf_gtk_browser_store_add_connection
(InfGtkBrowserStore *store,
InfXmlConnection *connection,
const gchar *name);
InfGtkBrowserStore* inf_gtk_browser_store_new (InfIo *io, InfCommunicationManager *comm_manager);
Creates a new InfGtkBrowserStore.
|
A InfIo object for the created InfcBrowser to schedule timeouts. |
|
The InfCommunicationManager with which to explore remote directories. |
Returns : |
A new InfGtkBrowserStore. |
void inf_gtk_browser_store_add_discovery (InfGtkBrowserStore *store, InfDiscovery *discovery);
Adds discovery to model. The model will then show up discovered
servers.
|
A InfGtkBrowserStore. |
|
A InfDiscovery not yet added to model.
|
void inf_gtk_browser_store_add_connection (InfGtkBrowserStore *store, InfXmlConnection *connection, const gchar *name);
This function adds a connection to the store. store will show up
an item for the connection if there is not already one. This allows to
browse the explored parts of the directory of the remote site. If name
is NULL, then the "remote-id" of the connection will be
used.
connection must be in INF_XML_CONNECTION_OPEN or
INF_XML_CONNECTION_OPENING status.
|
A InfGtkBrowserStore. |
|
A InfXmlConnection. |
|
Name for the item, or NULL.
|