2005-11-05 20:49:00 -08:00
|
|
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4; coding: utf-8 -*-
|
|
|
|
*
|
|
|
|
* mooplugin-python.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2004-2005 by Yevgen Muntyan <muntyan@math.tamu.edu>
|
|
|
|
*
|
|
|
|
* 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 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* See COPYING file that comes with this distribution.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MOO_PLUGIN_PYTHON_H__
|
|
|
|
#define __MOO_PLUGIN_PYTHON_H__
|
|
|
|
|
|
|
|
#include <Python.h>
|
|
|
|
#include "mooedit/mooplugin.h"
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
|
2005-11-06 04:26:19 -08:00
|
|
|
gboolean _moo_python_plugin_init (char **dirs);
|
2005-11-07 00:36:04 -08:00
|
|
|
gboolean _moo_python_plugin_reload (char **dirs);
|
2005-11-06 04:26:19 -08:00
|
|
|
|
|
|
|
PyObject *_moo_python_plugin_hook (const char *event,
|
|
|
|
PyObject *callback,
|
|
|
|
PyObject *data);
|
2005-11-06 19:19:25 -08:00
|
|
|
PyObject *_moo_python_plugin_register (PyObject *plugin_type,
|
2005-11-06 04:26:19 -08:00
|
|
|
PyObject *win_plugin_type,
|
|
|
|
PyObject *doc_plugin_type);
|
2005-11-05 20:49:00 -08:00
|
|
|
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __MOO_PLUGIN_PYTHON_H__ */
|