## ianjuta-document-manager

ianjuta-document-manager —

##

# Synopsis

    enum        IAnjutaDocumentManagerError;
    #define     IANJUTA_DOCUMENT_MANAGER_ERROR
    struct      IAnjutaDocumentManager;
    struct      IAnjutaDocumentManagerIface;
    GQuark      ianjuta_document_manager_error_quark
                                                (void);
    IAnjutaEditor* ianjuta_document_manager_add_buffer
                                                (IAnjutaDocumentManager *obj,
                                                 const gchar *name,
                                                 const gchar *content,
                                                 GError **err);
    IAnjutaEditor* ianjuta_document_manager_find_editor_with_path
                                                (IAnjutaDocumentManager *obj,
                                                 const gchar *file_path,
                                                 GError **err);
    IAnjutaEditor* ianjuta_document_manager_get_current_editor
                                                (IAnjutaDocumentManager *obj,
                                                 GError **err);
    GList*      ianjuta_document_manager_get_editors
                                                (IAnjutaDocumentManager *obj,
                                                 GError **err);
    const gchar* ianjuta_document_manager_get_full_filename
                                                (IAnjutaDocumentManager *obj,
                                                 const gchar *file,
                                                 GError **err);
    void        ianjuta_document_manager_goto_file_line
                                                (IAnjutaDocumentManager *obj,
                                                 const gchar *file,
                                                 gint lineno,
                                                 GError **err);
    void        ianjuta_document_manager_goto_file_line_mark
                                                (IAnjutaDocumentManager *obj,
                                                 const gchar *file,
                                                 gint lineno,
                                                 gboolean mark,
                                                 GError **err);
    void        ianjuta_document_manager_set_current_editor
                                                (IAnjutaDocumentManager *obj,
                                                 IAnjutaEditor *editor,
                                                 GError **err);

## Object Hierarchy

      GInterface
       +----IAnjutaDocumentManager

## Prerequisites

IAnjutaDocumentManager requires GObject.

## Description

## Details

### enum IAnjutaDocumentManagerError

    typedef enum {
    	IANJUTA_DOCUMENT_MANAGER_DOESNT_EXIST
    } IAnjutaDocumentManagerError;

### IANJUTA_DOCUMENT_MANAGER_ERROR

    #define IANJUTA_DOCUMENT_MANAGER_ERROR ianjuta_document_manager_error_quark()

### struct IAnjutaDocumentManager

    struct IAnjutaDocumentManager;

### struct IAnjutaDocumentManagerIface

    struct IAnjutaDocumentManagerIface {

    	GTypeInterface g_iface;

    	IAnjutaEditor* (*add_buffer) (IAnjutaDocumentManager *obj, const gchar *name, const gchar* content, GError **err);
    	IAnjutaEditor* (*find_editor_with_path) (IAnjutaDocumentManager *obj, const gchar *file_path, GError **err);
    	IAnjutaEditor* (*get_current_editor) (IAnjutaDocumentManager *obj, GError **err);
    	GList* (*get_editors) (IAnjutaDocumentManager *obj, GError **err);
    	const gchar * (*get_full_filename) (IAnjutaDocumentManager *obj, const gchar *file, GError **err);
    	void (*goto_file_line) (IAnjutaDocumentManager *obj, const gchar *file, gint lineno, GError **err);
    	void (*goto_file_line_mark) (IAnjutaDocumentManager *obj, const gchar *file, gint lineno, gboolean mark, GError **err);
    	void (*set_current_editor) (IAnjutaDocumentManager *obj, IAnjutaEditor *editor, GError **err);

    };

### ianjuta_document_manager_error_quark ()

    GQuark      ianjuta_document_manager_error_quark
                                                (void);

Returns : |

### ianjuta_document_manager_add_buffer ()

    IAnjutaEditor* ianjuta_document_manager_add_buffer
                                                (IAnjutaDocumentManager *obj,
                                                 const gchar *name,
                                                 const gchar *content,
                                                 GError **err);

New editor buffer

`obj` : | Self
`name` : | fixme
`content` : | fixme
`err` : | Error propagation and reporting.
Returns : |

### ianjuta_document_manager_find_editor_with_path ()

    IAnjutaEditor* ianjuta_document_manager_find_editor_with_path
                                                (IAnjutaDocumentManager *obj,
                                                 const gchar *file_path,
                                                 GError **err);

fixme

`obj` : | Self
`file_path` : | fixme
`err` : | Error propagation and reporting.
Returns : |

### ianjuta_document_manager_get_current_editor ()

    IAnjutaEditor* ianjuta_document_manager_get_current_editor
                                                (IAnjutaDocumentManager *obj,
                                                 GError **err);

fixme

`obj` : | Self
`err` : | Error propagation and reporting.
Returns : |

### ianjuta_document_manager_get_editors ()

    GList*      ianjuta_document_manager_get_editors
                                                (IAnjutaDocumentManager *obj,
                                                 GError **err);

fixme

`obj` : | Self
`err` : | Error propagation and reporting.
Returns : |

### ianjuta_document_manager_get_full_filename ()

    const gchar* ianjuta_document_manager_get_full_filename
                                                (IAnjutaDocumentManager *obj,
                                                 const gchar *file,
                                                 GError **err);

fixme.

`obj` : | Self
`file` : | fixme
`err` : | Error propagation and reporting.
Returns : |

### ianjuta_document_manager_goto_file_line ()

    void        ianjuta_document_manager_goto_file_line
                                                (IAnjutaDocumentManager *obj,
                                                 const gchar *file,
                                                 gint lineno,
                                                 GError **err);

fixme

`obj` : | Self
`file` : | fixme
`lineno` : | fixme
`err` : | Error propagation and reporting.

### ianjuta_document_manager_goto_file_line_mark ()

    void        ianjuta_document_manager_goto_file_line_mark
                                                (IAnjutaDocumentManager *obj,
                                                 const gchar *file,
                                                 gint lineno,
                                                 gboolean mark,
                                                 GError **err);

fixme

`obj` : | Self
`file` : | fixme
`lineno` : | fixme
`mark` : | fixme
`err` : | Error propagation and reporting

### ianjuta_document_manager_set_current_editor ()

    void        ianjuta_document_manager_set_current_editor
                                                (IAnjutaDocumentManager *obj,
                                                 IAnjutaEditor *editor,
                                                 GError **err);

fixme

`obj` : | Self
`editor` : | fixme
`err` : | Error propagation and reporting.