~ubuntu-branches/ubuntu/maverick/ekiga/maverick

« back to all changes in this revision

Viewing changes to src/common.h

  • Committer: Bazaar Package Importer
  • Author(s): Eugen Dedu, Eugen Dedu, Loic Minier
  • Date: 2008-09-27 10:00:00 UTC
  • mfrom: (1.1.8 upstream)
  • mto: (1.4.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20080927100000-l5k5werb6czr5b3h
Tags: 3.0.1-1
[ Eugen Dedu ]
* New version.  (Closes: #500089).
* Add our own changelog file in /usr/share/doc.
* Remove gnomemeeting transitional package.
* Discover new interfaces.  (Closes: #488199).
* Compile with dbus support.  (Closes: #467212).
* Numeric keypad inserts digits at correct position.  (Closes: #440159).
* Use libnotify upon call.  (Closes: #412604).
* Symlink identical GNOME help files, to reduce size.  (Closes: #505536).
* Explicitely build-depends on a few dev packages, even if they were
  pulled out anyway by the other dependencies.

[ Loic Minier ]
* Use clean:: instead of clean: in rules.
* Don't disable Uploaders: generation for control.in -> control generation
  in rules.
* Fix some tabs which were size 4 anyway.
* Generate a PO template during build by calling intltool-update -p in
  install; thanks Ubuntu and Martin Pitt; closes: #505535.
* Also let the -dbg depend on ${misc:Depends}.
* Cleanup rules; in particular, use dpkg-parsechangelog and honor
  distclean/clean failures, remove old clean rules, commented out stuff,
  gtk-only stuff.
* Pass -s to dh_* in binary-arch.
* Use debian/*.links and debian/*.manpages instead of symlink manually or
  passing files to dh_installman.
* Use ftp.gnome.org in copyright.
* Switch to quilt and fix target deps in the process; build-dep on quilt
  instead of dpatch; rename news.dpatch to 00_news.patch and refresh;
  replace 00list with series.
* Install autotools-dev config.guess and .sub after patching.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
#include <h323/h323.h>
51
51
#include <sip/sip.h>
52
52
 
53
 
 
54
 
#ifndef DISABLE_GNOME
55
 
#include <gnome.h>
56
 
#else
 
53
#include <glib.h>
57
54
#include <gtk/gtk.h>
58
 
#include "druid/gnome-druid.h"
59
 
#include "druid/gnome-druid-page-edge.h"
60
 
#include "druid/gnome-druid-page-standard.h"
61
 
#endif
62
 
 
63
55
 
64
56
#define GENERAL_KEY         "/apps/" PACKAGE_NAME "/general/"
65
57
#define USER_INTERFACE_KEY "/apps/" PACKAGE_NAME "/general/user_interface/"
 
58
#define CONTACTS_KEY "/apps/" PACKAGE_NAME "/contacts/"
66
59
#define VIDEO_DISPLAY_KEY USER_INTERFACE_KEY "video_display/"
67
60
#define SOUND_EVENTS_KEY  "/apps/" PACKAGE_NAME "/general/sound_events/"
68
61
#define AUDIO_DEVICES_KEY "/apps/" PACKAGE_NAME "/devices/audio/"
76
69
#define PORTS_KEY "/apps/" PACKAGE_NAME "/protocols/ports/"
77
70
#define CALL_FORWARDING_KEY "/apps/" PACKAGE_NAME "/protocols/call_forwarding/"
78
71
#define LDAP_KEY "/apps/" PACKAGE_NAME "/protocols/ldap/"
 
72
#define CODECS_KEY "/apps/" PACKAGE_NAME "/codecs/"
79
73
#define AUDIO_CODECS_KEY "/apps/" PACKAGE_NAME "/codecs/audio/"
80
74
#define VIDEO_CODECS_KEY  "/apps/" PACKAGE_NAME "/codecs/video/"
81
75
 
82
 
#define GM_CIF_WIDTH   352
83
 
#define GM_CIF_HEIGHT  288
84
 
#define GM_QCIF_WIDTH  176
85
 
#define GM_QCIF_HEIGHT 144
86
 
#define GM_SIF_WIDTH   320
87
 
#define GM_SIF_HEIGHT  240
88
 
#define GM_QSIF_WIDTH  160
89
 
#define GM_QSIF_HEIGHT 120
90
76
#define GM_FRAME_SIZE  10
91
77
 
92
78
#define GNOMEMEETING_PAD_SMALL 1
93
79
 
94
 
 
95
 
#ifndef _
96
 
#ifdef DISABLE_GNOME
97
 
#include <libintl.h>
98
 
#define _(x) gettext(x)
99
 
#ifdef gettext_noop
100
 
#define N_(String) gettext_noop (String)
101
 
#else
102
 
#define N_(String) (String)
103
 
#endif
104
 
#endif
105
 
#endif
106
 
 
107
 
 
 
80
/* Contact state */
 
81
typedef enum {
 
82
 
 
83
  CONTACT_ONLINE,
 
84
  CONTACT_AWAY,
 
85
  CONTACT_DND,
 
86
  CONTACT_INVISIBLE,
 
87
  CONTACT_OFFLINE,
 
88
  CONTACT_UNKNOWN,
 
89
  CONTACT_LAST_STATE
 
90
} ContactState;
108
91
 
109
92
/* Incoming Call Mode */
110
93
typedef enum {
120
103
/* Control Panel Section */
121
104
typedef enum {
122
105
 
 
106
  CONTACTS,
123
107
  DIALPAD,
124
 
  AUDIO_SETTINGS,
125
 
  VIDEO_SETTINGS,
126
 
  STATISTICS,
 
108
  CALL,
127
109
  NUM_SECTIONS
128
 
} ControlPanelSection;
129
 
 
130
 
 
131
 
/* View Mode */
132
 
typedef enum {
133
 
 
134
 
  SOFTPHONE,
135
 
  VIDEOPHONE,
136
 
  FULLVIEW,
137
 
  NUM_VIEW_MODES
138
 
} ViewMode;
139
 
 
140
 
 
141
 
/* Video modes */
142
 
enum {
143
 
 
144
 
  LOCAL_VIDEO, 
145
 
  REMOTE_VIDEO, 
146
 
  BOTH_INCRUSTED, 
147
 
  BOTH_SIDE,
148
 
  BOTH,
149
 
  FULLSCREEN
150
 
};
 
110
} PanelSection;
151
111
 
152
112
 
153
113
#endif /* GM_COMMON_H */