/* * Author: Chris Lord * * Copyright (c) 2007 OpenedHand Ltd - http://www.openedhand.com/ * * 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. * * 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. * */ /** * SECTION:jana-note * @short_description: A note/memo/journal component interface * @see_also: #JanaComponent * * #JanaNote is the interface for components that store miscellaneus textual * information. */ #include "jana-note.h" static void jana_note_base_init (gpointer g_class) { static gboolean initialized = FALSE; if (!initialized) { /* create interface signals here. */ initialized = TRUE; } } GType jana_note_get_type (void) { static GType type = 0; if (type == 0) { static const GTypeInfo info = { sizeof (JanaNoteInterface), jana_note_base_init, /* base_init */ NULL, }; type = g_type_register_static (G_TYPE_INTERFACE, "JanaNote", &info, 0); } return type; }