summaryrefslogtreecommitdiff
path: root/libnautilus-extensions/nautilus-font-manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnautilus-extensions/nautilus-font-manager.h')
-rw-r--r--libnautilus-extensions/nautilus-font-manager.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/libnautilus-extensions/nautilus-font-manager.h b/libnautilus-extensions/nautilus-font-manager.h
new file mode 100644
index 000000000..3204ce0fa
--- /dev/null
+++ b/libnautilus-extensions/nautilus-font-manager.h
@@ -0,0 +1,52 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+
+/* nautilus-font-manager.h - Functions for managing fonts.
+
+ Copyright (C) 2000 Eazel, Inc.
+
+ The Gnome Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The Gnome 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
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the Gnome Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+
+ Authors: Ramiro Estrugo <ramiro@eazel.com>
+*/
+
+#ifndef NAUTILUS_FONT_MANAGER_H
+#define NAUTILUS_FONT_MANAGER_H
+
+#include <libgnome/gnome-defs.h>
+#include <glib.h>
+
+BEGIN_GNOME_DECLS
+
+/*
+ * A callback which can be invoked for each font available in the system.
+ */
+typedef void (*NautilusFontManagerIterationCallback) (const char *foundry,
+ const char *family,
+ const char *weight,
+ const char *slant,
+ const char *set_width,
+ const char *char_set_registry,
+ const char *char_set_encoding,
+ gpointer callback_data);
+
+void nautilus_font_manager_for_each_font (NautilusFontManagerIterationCallback callback,
+ gpointer callback_data);
+
+END_GNOME_DECLS
+
+#endif /* NAUTILUS_FONT_MANAGER_H */
+
+