IAnjutaStream

IAnjutaStream — Implemented by plugins that can open file streams

Stability Level

Unstable, unless otherwise indicated

Synopsis

#include <libanjuta/interfaces/ianjuta-stream.h>

#define             IANJUTA_STREAM_ERROR
struct              IAnjutaStreamIface;
GQuark              ianjuta_stream_error_quark          (void);
void                ianjuta_stream_open                 (IAnjutaStream *obj,
                                                         FILE *stream,
                                                         GError **err);

Description

Details

IANJUTA_STREAM_ERROR

#define IANJUTA_STREAM_ERROR ianjuta_stream_error_quark()


struct IAnjutaStreamIface

struct IAnjutaStreamIface {
	GTypeInterface g_iface;
	

	void (*open) (IAnjutaStream *obj, FILE* stream, GError **err);
};


ianjuta_stream_error_quark ()

GQuark              ianjuta_stream_error_quark          (void);


ianjuta_stream_open ()

void                ianjuta_stream_open                 (IAnjutaStream *obj,
                                                         FILE *stream,
                                                         GError **err);

The implementor opens the given stream.

obj :

Self

stream :

Stream to open from.

err :

Error propagation and reporting