From f32ec82670c8d1b722c7f0a200e2d3302787a6f1 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Mon, 7 Jun 2010 09:30:16 +0900 Subject: [PATCH] Add missing eek-gtk*.h. --- eek/eek-gtk-key.h | 56 +++++++++++++++++++++++++++++++++++++++++ eek/eek-gtk-keyboard.h | 57 ++++++++++++++++++++++++++++++++++++++++++ eek/eek-gtk-private.h | 34 +++++++++++++++++++++++++ eek/eek-gtk-section.h | 56 +++++++++++++++++++++++++++++++++++++++++ eek/eek-gtk.h | 26 +++++++++++++++++++ 5 files changed, 229 insertions(+) create mode 100644 eek/eek-gtk-key.h create mode 100644 eek/eek-gtk-keyboard.h create mode 100644 eek/eek-gtk-private.h create mode 100644 eek/eek-gtk-section.h create mode 100644 eek/eek-gtk.h diff --git a/eek/eek-gtk-key.h b/eek/eek-gtk-key.h new file mode 100644 index 00000000..71319723 --- /dev/null +++ b/eek/eek-gtk-key.h @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2010 Daiki Ueno + * Copyright (C) 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA + */ +#ifndef EEK_GTK_KEY_H +#define EEK_GTK_KEY_H 1 + +#include +#include "eek-key.h" + +G_BEGIN_DECLS +#define EEK_TYPE_GTK_KEY (eek_gtk_key_get_type()) +#define EEK_GTK_KEY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EEK_TYPE_GTK_KEY, EekGtkKey)) +#define EEK_GTK_KEY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EEK_TYPE_GTK_KEY, EekGtkKeyClass)) +#define EEK_IS_GTK_KEY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EEK_TYPE_GTK_KEY)) +#define EEK_IS_GTK_KEY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EEK_TYPE_GTK_KEY)) +#define EEK_GTK_KEY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EEK_TYPE_GTK_KEY, EekGtkKeyClass)) + +typedef struct _EekGtkKey EekGtkKey; +typedef struct _EekGtkKeyClass EekGtkKeyClass; +typedef struct _EekGtkKeyPrivate EekGtkKeyPrivate; + +struct _EekGtkKey +{ + /*< private >*/ + GtkButton parent; + + /*< private >*/ + EekGtkKeyPrivate *priv; +}; + +struct _EekGtkKeyClass +{ + /*< private >*/ + GtkButtonClass parent_class; +}; + +GType eek_gtk_key_get_type (void) G_GNUC_CONST; + +G_END_DECLS +#endif /* EEK_GTK_KEY_H */ diff --git a/eek/eek-gtk-keyboard.h b/eek/eek-gtk-keyboard.h new file mode 100644 index 00000000..3fad2c3c --- /dev/null +++ b/eek/eek-gtk-keyboard.h @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2010 Daiki Ueno + * Copyright (C) 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA + */ +#ifndef EEK_GTK_KEYBOARD_H +#define EEK_GTK_KEYBOARD_H 1 + +#include "eek-gtk-section.h" +#include "eek-keyboard.h" + +G_BEGIN_DECLS +#define EEK_TYPE_GTK_KEYBOARD (eek_gtk_keyboard_get_type()) +#define EEK_GTK_KEYBOARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EEK_TYPE_GTK_KEYBOARD, EekKeyboard)) +#define EEK_GTK_KEYBOARD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EEK_TYPE_GTK_KEYBOARD, EekGtkKeyboardClass)) +#define EEK_IS_GTK_KEYBOARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EEK_TYPE_GTK_KEYBOARD)) +#define EEK_IS_GTK_KEYBOARD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EEK_TYPE_GTK_KEYBOARD)) +#define EEK_GTK_KEYBOARD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EEK_TYPE_GTK_KEYBOARD, EekGtkKeyboardClass)) + +typedef struct _EekGtkKeyboard EekGtkKeyboard; +typedef struct _EekGtkKeyboardClass EekGtkKeyboardClass; +typedef struct _EekGtkKeyboardPrivate EekGtkKeyboardPrivate; + +struct _EekGtkKeyboard +{ + /*< private >*/ + GtkVBox parent; + + EekGtkKeyboardPrivate *priv; +}; + +struct _EekGtkKeyboardClass +{ + /*< private >*/ + GtkVBoxClass parent_class; +}; + +GType eek_gtk_keyboard_get_type (void) G_GNUC_CONST; + +EekKeyboard *eek_gtk_keyboard_new (void); + +G_END_DECLS +#endif /* EEK_GTK_KEYBOARD_H */ diff --git a/eek/eek-gtk-private.h b/eek/eek-gtk-private.h new file mode 100644 index 00000000..7266e58e --- /dev/null +++ b/eek/eek-gtk-private.h @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2010 Daiki Ueno + * Copyright (C) 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA + */ +#ifndef EEK_GTK_PRIVATE_H +#define EEK_GTK_PRIVATE_H 1 + +#include +#include + +struct _EekGtkCallbackData { + GFunc func; + gpointer user_data; +}; +typedef struct _EekGtkCallbackData EekGtkCallbackData; + +void eek_gtk_callback (GtkWidget *actor, gpointer user_data); + +#endif /* EEK_GTK_PRIVATE_H */ diff --git a/eek/eek-gtk-section.h b/eek/eek-gtk-section.h new file mode 100644 index 00000000..6f3d4cd9 --- /dev/null +++ b/eek/eek-gtk-section.h @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2010 Daiki Ueno + * Copyright (C) 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA + */ +#ifndef EEK_GTK_SECTION_H +#define EEK_GTK_SECTION_H 1 + +#include "eek-gtk-key.h" +#include "eek-section.h" + +G_BEGIN_DECLS +#define EEK_TYPE_GTK_SECTION (eek_gtk_section_get_type()) +#define EEK_GTK_SECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EEK_TYPE_GTK_SECTION, EekGtkSection)) +#define EEK_GTK_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EEK_TYPE_GTK_SECTION, EekGtkSectionClass)) +#define EEK_IS_GTK_SECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EEK_TYPE_GTK_SECTION)) +#define EEK_IS_GTK_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EEK_TYPE_GTK_SECTION)) +#define EEK_GTK_SECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EEK_TYPE_GTK_SECTION, EekGtkSectionClass)) + +typedef struct _EekGtkSection EekGtkSection; +typedef struct _EekGtkSectionClass EekGtkSectionClass; +typedef struct _EekGtkSectionPrivate EekGtkSectionPrivate; + +struct _EekGtkSection +{ + /*< private >*/ + GtkVBox parent; + + /*< private >*/ + EekGtkSectionPrivate *priv; +}; + +struct _EekGtkSectionClass +{ + /*< private >*/ + GtkVBoxClass parent_class; +}; + +GType eek_gtk_section_get_type (void) G_GNUC_CONST; + +G_END_DECLS +#endif /* EEK_GTK_SECTION_H */ diff --git a/eek/eek-gtk.h b/eek/eek-gtk.h new file mode 100644 index 00000000..327f2be2 --- /dev/null +++ b/eek/eek-gtk.h @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2010 Daiki Ueno + * Copyright (C) 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA + */ +#ifndef EEK_GTK_H +#define EEK_GTK_H 1 + +#include "eek.h" +#include "eek-gtk-keyboard.h" + +#endif /* EEK_GTK_H */