Updated Esperanto translation
[gtkhtml.git] / gtkhtml / htmlanchor.h
blob9829b4ffb6d247e1313503354a15f64e202706a0
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* This file is part of the GtkHTML library
4 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
5 * Copyright (C) 1997 Torben Weis (weis@kde.org)
6 * Copyright (C) 1999 Helix Code, Inc.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public License
19 * along with this library; see the file COPYING.LIB. If not, write to
20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301, USA.
24 #ifndef _HTMLANCHOR_H
25 #define _HTMLANCHOR_H
27 #include <glib.h>
29 #include "htmlobject.h"
31 #define HTML_ANCHOR(x) ((HTMLAnchor *) x)
32 #define HTML_ANCHOR_CLASS(x) ((HTMLAnchorClass *) x)
34 struct _HTMLAnchor {
35 HTMLObject object;
37 GString *name;
40 struct _HTMLAnchorClass {
41 HTMLObjectClass object_class;
45 void html_anchor_type_init (void);
46 void html_anchor_class_init (HTMLAnchorClass *klass,
47 HTMLType type,
48 guint object_size);
49 HTMLObject *html_anchor_new (const gchar *name);
50 void html_anchor_init (HTMLAnchor *anchor,
51 HTMLAnchorClass *klass,
52 const gchar *name);
53 const gchar *html_anchor_get_name (HTMLAnchor *anchor);
55 #endif /* _HTMLANCHOR_H */