~ubuntu-branches/ubuntu/quantal/linphone/quantal

« back to all changes in this revision

Viewing changes to gtk/linphone.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2009-03-18 07:29:23 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090318072923-tcioxk5hqw2h3h0p
Tags: 3.0.0-3
Fix "spurious gnome-applets" Removed Build-Depends: (Closes: #520133)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
 
3
 
#ifndef LINPHONE_H
4
 
#define LINPHONE_H
5
 
 
6
 
#ifdef HAVE_CONFIG_H
7
 
#  include <config.h>
8
 
#endif
9
 
 
10
 
#include <libintl.h>
11
 
#define _(String) gettext (String)
12
 
 
13
 
#include <linphonecore.h>
14
 
#include "lpconfig.h"
15
 
 
16
 
#include "support.h"
17
 
#include "propertybox.h"
18
 
#include "presence.h"
19
 
#include "addressbook.h"
20
 
#include "friends.h"
21
 
 
22
 
typedef struct _LinphoneMainWindow
23
 
{
24
 
        GtkWidget *window;
25
 
        GtkWidget *status_bar;
26
 
        GtkWidget *addressentry;
27
 
        GtkWidget *optioncontrols;
28
 
        GtkWidget *dtmfentry;
29
 
        GtkWidget *callbutton;
30
 
        PresenceBox presencebox;
31
 
        FriendList friendlist;
32
 
        gboolean shown_once;
33
 
}LinphoneMainWindow;
34
 
 
35
 
typedef struct _LinphoneGnomeUI
36
 
{
37
 
        LinphoneMainWindow main_window;
38
 
        LinphonePropertyBox propbox;
39
 
        GtkWidget *ab;  /*the address book */
40
 
        GtkWidget *logs;        /* the call logs window */
41
 
        LinphoneCore *core;
42
 
        guint timeout_id;
43
 
}LinphoneGnomeUI;
44
 
 
45
 
 
46
 
void linphone_gnome_ui_init(LinphoneGnomeUI *ui,LinphoneCore *core);
47
 
void linphone_gnome_ui_show(LinphoneGnomeUI *ui);
48
 
void linphone_gnome_ui_hide(LinphoneGnomeUI *ui);
49
 
void linphone_gnome_ui_uninit(LinphoneGnomeUI *ui);
50
 
 
51
 
void linphone_gnome_init(LinphoneGnomeUI *ui,LinphoneCore *lc);
52
 
void linphone_gnome_uninit(LinphoneGnomeUI *ui);
53
 
 
54
 
extern LinphoneGnomeUI *uiobj;
55
 
 
56
 
GtkWidget *proxy_combo_box_new(LinphoneProxyConfig *selected);
57
 
void linphone_refresh_proxy_combo_box(GtkWidget *window);
58
 
LinphoneProxyConfig *proxy_combo_box_get_selected(GtkWidget *combo);
59
 
void linphone_gnome_show_call_logs_window(LinphoneGnomeUI *ui);
60
 
void linphone_gnome_update_call_logs(LinphoneGnomeUI *ui);
61
 
void linphone_gnome_ui_display_something(LinphoneGnomeUI *ui,GtkMessageType type,const gchar *message);
62
 
void linphone_gnome_save_uri_history(LinphoneGnomeUI *ui);
63
 
 
64
 
GtkWidget *chatroom_new(const gchar *url, LinphoneChatRoom *cr);
65
 
void chatroom_append(GtkWidget *gcr, const gchar *from, const gchar *message);
66
 
void chatroom_close(GtkWidget *gcr);
67
 
 
68
 
#endif