![]() | ![]() | ![]() | Anjuta Developers Reference Manual | ![]() |
---|
ianjuta-stream-loader —
#define IANJUTA_STREAM_LOADER_ERROR struct IAnjutaStreamLoader; struct IAnjutaStreamLoaderIface; GQuark ianjuta_stream_loader_error_quark (void); GObject* ianjuta_stream_loader_load (IAnjutaStreamLoader *obj, FILE *stream, gboolean readonly, GError **err); gchar* ianjuta_stream_loader_peek_interface (IAnjutaStreamLoader *obj, FILE *stream, GError **err);
struct IAnjutaStreamLoaderIface { IAnjutaLoaderIface g_iface; GObject* (*load) (IAnjutaStreamLoader *obj, FILE *stream, gboolean readonly, GError **err); gchar* (*peek_interface) (IAnjutaStreamLoader *obj, FILE *stream, GError **err); };
GObject* ianjuta_stream_loader_load (IAnjutaStreamLoader *obj, FILE *stream, gboolean readonly, GError **err);
Determines a plugin which can open the given stream, activates it opening the stream and returns the interface of the plugin activated.
obj : | Self |
stream : | Stream to load |
readonly : | Open in readonly mode. |
err : | Error propagation and reporting |
Returns : | Plugin interface used to load the stream. |
gchar* ianjuta_stream_loader_peek_interface (IAnjutaStreamLoader *obj, FILE *stream, GError **err);
Peeks the stream and determines the interface which can load this stream.
obj : | Self |
stream : | Stream to load |
err : | Error propagation and reporting |
Returns : | Plugin interface name that can load the stream. |
<< ianjuta-stream | ianjuta-stream-savable >> |