67 lines
3.0 KiB
C
67 lines
3.0 KiB
C
/*
|
|
* mooeditor-private.h
|
|
*
|
|
* Copyright (C) 2004-2007 by Yevgen Muntyan <muntyan@math.tamu.edu>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License version 2.1 as published by the Free Software Foundation.
|
|
*
|
|
* See COPYING file that comes with this distribution.
|
|
*/
|
|
|
|
#ifndef MOOEDIT_COMPILATION
|
|
#error "This file may not be used directly"
|
|
#endif
|
|
|
|
#ifndef MOO_EDITOR_PRIVATE_H
|
|
#define MOO_EDITOR_PRIVATE_H
|
|
|
|
#include "mooedit/mooeditor.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
void _moo_edit_window_insert_doc (MooEditWindow *window,
|
|
MooEdit *doc,
|
|
int position);
|
|
void _moo_edit_window_remove_doc (MooEditWindow *window,
|
|
MooEdit *doc,
|
|
gboolean destroy);
|
|
int _moo_edit_window_get_doc_no (MooEditWindow *window,
|
|
MooEdit *doc);
|
|
void _moo_edit_window_update_title (void);
|
|
void _moo_edit_window_set_use_tabs (void);
|
|
|
|
void _moo_editor_set_focused_doc (MooEditor *editor,
|
|
MooEdit *doc);
|
|
void _moo_editor_unset_focused_doc (MooEditor *editor,
|
|
MooEdit *doc);
|
|
|
|
void _moo_editor_move_doc (MooEditor *editor,
|
|
MooEdit *doc,
|
|
MooEditWindow *dest,
|
|
gboolean focus);
|
|
|
|
gpointer _moo_editor_get_file_watch (MooEditor *editor);
|
|
void _moo_editor_reload (MooEditor *editor,
|
|
MooEdit *doc,
|
|
const char *encoding,
|
|
GError **error);
|
|
gboolean _moo_editor_save (MooEditor *editor,
|
|
MooEdit *doc,
|
|
GError **error);
|
|
gboolean _moo_editor_save_as (MooEditor *editor,
|
|
MooEdit *doc,
|
|
const char *filename,
|
|
const char *encoding,
|
|
GError **error);
|
|
void _moo_editor_post_message (MooEditor *editor,
|
|
GQuark domain,
|
|
const char *message);
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* MOO_EDITOR_PRIVATE_H */
|