Wed, 02 Jun 2004 00:44:51 +0000
[gaim-migrate @ 9946]
wing added support for yahoo profiles in, well pretty much every language.
Looks pretty impressive to me.
Someone may want to double check his src/util.c changes. I think we have
some crazy patch writers who know those functions better than me.
This also introduces a couple of warning because wing didn't add his new
util.c function to util.h. Rather than adding it myself, I'm going to bug
him to add it and document it.
| 4553 | 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ |
| 2 | /* | |
| 8046 | 3 | * Gaim is the legal property of its developers, whose names are too numerous |
| 4 | * to list here. Please refer to the COPYRIGHT file distributed with this | |
| 5 | * source distribution. | |
| 4553 | 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify | |
| 8 | * it under the terms of the GNU General Public License as published by | |
| 9 | * the Free Software Foundation; either version 2 of the License, or | |
| 10 | * (at your option) any later version. | |
| 11 | * | |
| 12 | * This program is distributed in the hope that it will be useful, | |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | * GNU General Public License for more details. | |
| 16 | * | |
| 17 | * You should have received a copy of the GNU General Public License | |
| 18 | * along with this program; if not, write to the Free Software | |
| 19 | * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. | |
| 20 | * | |
| 21 | */ | |
| 22 | ||
| 23 | #ifndef __GAIM_DISCLOSURE_H__ | |
| 24 | #define __GAIM_DISCLOSURE_H__ | |
| 25 | ||
|
8274
a9a41c888a4e
[gaim-migrate @ 8998]
Mark Doliner <markdoliner@pidgin.im>
parents:
8046
diff
changeset
|
26 | #include "eventloop.h" |
|
a9a41c888a4e
[gaim-migrate @ 8998]
Mark Doliner <markdoliner@pidgin.im>
parents:
8046
diff
changeset
|
27 | |
| 4553 | 28 | #include <gtk/gtkcheckbutton.h> |
| 29 | ||
| 30 | #ifdef __cplusplus | |
| 31 | extern "C" { | |
| 32 | #pragma } | |
| 33 | #endif | |
| 34 | ||
| 35 | #define GAIM_DISCLOSURE_TYPE (gaim_disclosure_get_type ()) | |
| 36 | #define GAIM_DISCLOSURE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIM_DISCLOSURE_TYPE, GaimDisclosure)) | |
| 37 | #define GAIM_DISCLOSURE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAIM_DISCLOSURE_TYPE, GaimDisclosureClass)) | |
| 38 | #define IS_GAIM_DISCLOSURE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAIM_DISCLOSURE_TYPE)) | |
| 39 | #define IS_GAIM_DISCLOSURE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAIM_DISCLOSURE_TYPE)) | |
| 40 | ||
| 41 | typedef struct _GaimDisclosure GaimDisclosure; | |
| 42 | typedef struct _GaimDisclosureClass GaimDisclosureClass; | |
| 43 | typedef struct _GaimDisclosurePrivate GaimDisclosurePrivate; | |
| 44 | ||
| 45 | struct _GaimDisclosure { | |
| 46 | GtkCheckButton parent; | |
| 47 | ||
| 48 | GaimDisclosurePrivate *priv; | |
| 49 | }; | |
| 50 | ||
| 51 | struct _GaimDisclosureClass { | |
| 52 | GtkCheckButtonClass parent_class; | |
| 53 | }; | |
| 54 | ||
| 55 | GType gaim_disclosure_get_type (void); | |
| 56 | GtkWidget *gaim_disclosure_new (const char *shown, const char *hidden); | |
| 57 | void gaim_disclosure_set_container (GaimDisclosure *disclosure, | |
| 58 | GtkWidget *container); | |
| 59 | ||
| 60 | #ifdef __cplusplus | |
| 61 | } | |
| 62 | #endif | |
| 63 | ||
| 64 | #endif |