pidgin 2.14.14dev
Loading...
Searching...
No Matches
gtkdialogs.h
1
5/* pidgin
6 *
7 * Pidgin is the legal property of its developers, whose names are too numerous
8 * to list here. Please refer to the COPYRIGHT file distributed with this
9 * source distribution.
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
24 */
25#ifndef _PIDGINDIALOGS_H_
26#define _PIDGINDIALOGS_H_
27
28#include "pidgin.h"
29
30#include "account.h"
31#include "conversation.h"
32
33/* Functions in gtkdialogs.c (these should actually stay in this file) */
34void pidgin_dialogs_destroy_all(void);
35void pidgin_dialogs_about(void);
36void pidgin_dialogs_buildinfo(void);
37void pidgin_dialogs_developers(void);
38void pidgin_dialogs_translators(void);
39void pidgin_dialogs_plugins_info(void);
40void pidgin_dialogs_im(void);
41void pidgin_dialogs_im_with_user(PurpleAccount *, const char *);
42void pidgin_dialogs_info(void);
43void pidgin_dialogs_log(void);
44
45#if !(defined PIDGIN_DISABLE_DEPRECATED) || (defined _PIDGIN_GTKDIALOGS_C_)
50void pidgin_dialogs_alias_contact(PurpleContact *);
51#endif
52
53void pidgin_dialogs_alias_buddy(PurpleBuddy *);
54void pidgin_dialogs_alias_chat(PurpleChat *);
55void pidgin_dialogs_remove_buddy(PurpleBuddy *);
56void pidgin_dialogs_remove_group(PurpleGroup *);
57void pidgin_dialogs_remove_chat(PurpleChat *);
58void pidgin_dialogs_remove_contact(PurpleContact *);
59void pidgin_dialogs_merge_groups(PurpleGroup *, const char *);
60
61/* Everything after this should probably be moved elsewhere */
62
63#ifndef PIDGIN_DISABLE_DEPRECATED
64/* This PIDGIN_DISABLE_DEPRECATED doesn't need to be deactivated by
65 * _PIDGIN_GTKDIALOGS_C_, because it shouldn't be using this macro. */
66#define PIDGIN_DIALOG(x) x = gtk_window_new(GTK_WINDOW_TOPLEVEL); \
67 gtk_window_set_type_hint(GTK_WINDOW(x), GDK_WINDOW_TYPE_HINT_DIALOG)
68#endif
69
70#define PIDGIN_WINDOW_ICONIFIED(x) (gdk_window_get_state(GTK_WIDGET(x)->window) & GDK_WINDOW_STATE_ICONIFIED)
71
72#endif /* _PIDGINDIALOGS_H_ */
Account API.
Conversation API.
UI definitions and includes.
Structure representing an account.
Definition account.h:170
A buddy.
Definition blist.h:140
A chat.
Definition blist.h:181
A contact.
Definition blist.h:155
A group.
Definition blist.h:169