Updated Finnish translation
[rhythmbox.git] / plugins / rb-python-plugin.h
blob7631fd01373fb9f032a885346edbf10a062605cb
1 /*
2 * Copyright (C) 2005 Raphael Slinckx
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor,
17 * Boston, MA 02110-1301 USA.
19 #ifndef RB_PYTHON_OBJECT_H
20 #define RB_PYTHON_OBJECT_H
22 #include <Python.h>
23 #include <glib-object.h>
24 #include "rb-plugin.h"
26 G_BEGIN_DECLS
28 typedef struct
30 RBPlugin parent_slot;
31 PyObject *instance;
32 } RBPythonObject;
34 typedef struct
36 RBPluginClass parent_slot;
37 PyObject *type;
38 } RBPythonObjectClass;
40 GType rb_python_object_get_type (GTypeModule *module, PyObject *type);
42 G_END_DECLS
44 #endif