2006-05-03 23:40:54 -07:00
|
|
|
/*
|
|
|
|
* moolang-private.h
|
|
|
|
*
|
2007-06-24 10:56:20 -07:00
|
|
|
* Copyright (C) 2004-2007 by Yevgen Muntyan <muntyan@math.tamu.edu>
|
2006-05-03 23:40:54 -07:00
|
|
|
*
|
2007-06-24 10:56:20 -07:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
2007-09-23 09:47:28 -07:00
|
|
|
* License version 2.1 as published by the Free Software Foundation.
|
2006-05-03 23:40:54 -07:00
|
|
|
*
|
|
|
|
* See COPYING file that comes with this distribution.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MOOEDIT_COMPILATION
|
|
|
|
#error "This file may not be used"
|
|
|
|
#endif
|
|
|
|
|
2007-06-10 02:06:03 -07:00
|
|
|
#ifndef MOO_LANG_PRIVATE_H
|
|
|
|
#define MOO_LANG_PRIVATE_H
|
2006-05-03 23:40:54 -07:00
|
|
|
|
2006-12-20 18:22:32 -08:00
|
|
|
#include "mooedit/gtksourceview/gtksourceview-api.h"
|
2006-08-26 02:46:29 -07:00
|
|
|
#include "mooedit/moolang.h"
|
2006-05-03 23:40:54 -07:00
|
|
|
#include "mooedit/moolangmgr.h"
|
|
|
|
#include "mooedit/mooeditconfig.h"
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2006-08-26 02:46:29 -07:00
|
|
|
#define MOO_LANG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOO_TYPE_LANG, MooLangClass))
|
|
|
|
#define MOO_IS_LANG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOO_TYPE_LANG))
|
|
|
|
#define MOO_LANG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOO_TYPE_LANG, MooLangClass))
|
2006-05-03 23:40:54 -07:00
|
|
|
|
2006-08-26 02:46:29 -07:00
|
|
|
typedef struct _MooLangPrivate MooLangPrivate;
|
|
|
|
typedef struct _MooLangClass MooLangClass;
|
2006-05-03 23:40:54 -07:00
|
|
|
|
|
|
|
struct _MooLang {
|
2006-08-26 02:46:29 -07:00
|
|
|
GtkSourceLanguage base;
|
|
|
|
MooLangPrivate *priv;
|
2006-05-03 23:40:54 -07:00
|
|
|
};
|
|
|
|
|
2006-08-26 02:46:29 -07:00
|
|
|
struct _MooLangClass {
|
|
|
|
GtkSourceLanguageClass base_class;
|
2006-05-03 23:40:54 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2006-08-26 02:46:29 -07:00
|
|
|
GtkSourceEngine *_moo_lang_get_engine (MooLang *lang);
|
2006-05-03 23:40:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
2007-06-10 02:06:03 -07:00
|
|
|
#endif /* MOO_LANG_H */
|