xed/plugins/modelines/modeline-parser.h

38 lines
1.2 KiB
C
Raw Permalink Normal View History

2011-11-07 13:46:58 -06:00
/*
* modelie-parser.h
* Emacs, Kate and Vim-style modelines support for xed.
*
2011-11-07 13:46:58 -06:00
* Copyright (C) 2005-2007 - Steve Frécinaux <code@istique.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
2011-11-07 13:46:58 -06:00
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
2012-11-18 19:54:49 -06:00
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
2011-11-07 13:46:58 -06:00
*/
#ifndef __MODELINE_PARSER_H__
#define __MODELINE_PARSER_H__
#include <glib.h>
#include <gtksourceview/gtksource.h>
2011-11-07 13:46:58 -06:00
G_BEGIN_DECLS
void modeline_parser_init (const gchar *data_dir);
void modeline_parser_shutdown (void);
void modeline_parser_apply_modeline (GtkSourceView *view);
void modeline_parser_deactivate (GtkSourceView *view);
2011-11-07 13:46:58 -06:00
G_END_DECLS
#endif /* __MODELINE_PARSER_H__ */