![]() |
![]() |
![]() |
Anjuta Developers Reference Manual | ![]() |
---|---|---|---|---|
#include <libanjuta/interfaces/ianjuta-file-loader.h> #define IANJUTA_FILE_LOADER_ERROR IAnjutaFileLoader; IAnjutaFileLoaderIface; GQuark ianjuta_file_loader_error_quark (void); GObject* ianjuta_file_loader_load (IAnjutaFileLoader *obj, const gchar *uri, gboolean readonly, GError **err); gchar* ianjuta_file_loader_peek_interface (IAnjutaFileLoader *obj, const gchar *uri, GError **err);
typedef struct { IAnjutaLoaderIface g_iface; GObject* (*load) (IAnjutaFileLoader *obj, const gchar *uri, gboolean readonly, GError **err); gchar* (*peek_interface) (IAnjutaFileLoader *obj, const gchar *uri, GError **err); } IAnjutaFileLoaderIface;
GObject* ianjuta_file_loader_load (IAnjutaFileLoader *obj, const gchar *uri, gboolean readonly, GError **err);
Determines a plugin which can open the given file, activates it opening the file and returns the interface of the plugin activated.
|
Self |
|
URI to load |
|
Open in readonly mode. |
|
Error propagation and reporting |
Returns : |
Plugin interface used to load the file. |
gchar* ianjuta_file_loader_peek_interface (IAnjutaFileLoader *obj, const gchar *uri, GError **err);
|
|
|
|
|
|
Returns : |