/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2002-2007 Imendio AB
+ * Copyright (C) 2007 Collabora Ltd.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* Richard Hult <richard@imendio.com>
* Martyn Russell <martyn@imendio.com>
* Geert-Jan Van den Bogaerde <geertjan@gnome.org>
+ * Xavier Claessens <xclaesse@gmail.com>
*/
#ifndef __GOSSIP_CHAT_H__
GObjectClass parent;
/* VTable */
- const gchar * (*get_name) (GossipChat *chat);
- gchar * (*get_tooltip) (GossipChat *chat);
- GdkPixbuf * (*get_status_pixbuf)(GossipChat *chat);
- GossipContact * (*get_contact) (GossipChat *chat);
- GtkWidget * (*get_widget) (GossipChat *chat);
-
- gboolean (*get_show_contacts)(GossipChat *chat);
- void (*set_show_contacts)(GossipChat *chat,
- gboolean show);
-
- gboolean (*is_group_chat) (GossipChat *chat);
- void (*save_geometry) (GossipChat *chat,
- gint x,
- gint y,
- gint w,
- gint h);
- void (*load_geometry) (GossipChat *chat,
- gint *x,
- gint *y,
- gint *w,
- gint *h);
+ const gchar * (*get_name) (GossipChat *chat);
+ gchar * (*get_tooltip) (GossipChat *chat);
+ const gchar * (*get_status_icon_name)(GossipChat *chat);
+ GossipContact * (*get_contact) (GossipChat *chat);
+ GtkWidget * (*get_widget) (GossipChat *chat);
+
+ gboolean (*get_show_contacts) (GossipChat *chat);
+ void (*set_show_contacts) (GossipChat *chat,
+ gboolean show);
+ gboolean (*is_group_chat) (GossipChat *chat);
+ void (*save_geometry) (GossipChat *chat,
+ gint x,
+ gint y,
+ gint w,
+ gint h);
+ void (*load_geometry) (GossipChat *chat,
+ gint *x,
+ gint *y,
+ gint *w,
+ gint *h);
};
GType gossip_chat_get_type (void);
void gossip_chat_paste (GossipChat *chat);
const gchar * gossip_chat_get_name (GossipChat *chat);
gchar * gossip_chat_get_tooltip (GossipChat *chat);
-GdkPixbuf * gossip_chat_get_status_pixbuf (GossipChat *chat);
+const gchar * gossip_chat_get_status_icon_name (GossipChat *chat);
GossipContact * gossip_chat_get_contact (GossipChat *chat);
GossipContact * gossip_chat_get_own_contact (GossipChat *chat);
GtkWidget * gossip_chat_get_widget (GossipChat *chat);
gboolean gossip_chat_get_show_contacts (GossipChat *chat);
void gossip_chat_set_show_contacts (GossipChat *chat,
gboolean show);
-
gboolean gossip_chat_is_group_chat (GossipChat *chat);
gboolean gossip_chat_is_connected (GossipChat *chat);
gint *h);
void gossip_chat_set_tp_chat (GossipChat *chat,
EmpathyTpChat *tp_chat);
+const gchar * gossip_chat_get_id (GossipChat *chat);
/* For spell checker dialog to correct the misspelled word. */
gboolean gossip_chat_get_is_command (const gchar *str);