~ubuntu-branches/ubuntu/saucy/sflphone/saucy

« back to all changes in this revision

Viewing changes to sflphone-client-gnome/src/statusicon.h

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2010-12-24 16:33:55 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20101224163355-tkvvikqxbrbav6up
Tags: 0.9.11-1
* New upstream release
* Add new build dependencies on libwebkit-dev and libyaml-dev

* Bump Standards-Version up to 3.9.1
* Bump debhelper compatibility to 8
* Patch another typo in the upstream code (lintian notice)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 *  Copyright (C) 2004, 2005, 2006, 2009, 2008, 2009, 2010 Savoir-Faire Linux Inc.
3
3
 *  Author: Pierre-Luc Beaudoin <pierre-luc.beaudoin@savoirfairelinux.com>
4
4
 *  Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
5
 
 *                                                                              
 
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
8
8
 *  the Free Software Foundation; either version 3 of the License, or
9
9
 *  (at your option) any later version.
10
 
 *                                                                                
 
10
 *
11
11
 *  This program is distributed in the hope that it will be useful,
12
12
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
13
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
14
 *  GNU General Public License for more details.
15
 
 *                                                                              
 
15
 *
16
16
 *  You should have received a copy of the GNU General Public License
17
17
 *  along with this program; if not, write to the Free Software
18
18
 *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28
28
 *  shall include the source code for the parts of OpenSSL used as well
29
29
 *  as that of the covered work.
30
30
 */
31
 
 
 
31
 
32
32
#ifndef __STATUSICON_H__
33
33
#define __STATUSICON_H__
34
34
 
36
36
 
37
37
#include <gtk/gtk.h>
38
38
#include <sflphone_const.h>
39
 
/** 
 
39
/**
40
40
 * @file statusicon.h
41
41
 * @brief The status icon in the system tray.
42
42
 */
58
58
void hide_status_icon ();
59
59
 
60
60
/**
61
 
 * Set the menu active 
62
 
 */  
 
61
 * Set the menu active
 
62
 */
63
63
void status_icon_unminimize();
64
64
 
65
65
/**
66
 
 * Show hangup icon 
 
66
 * Show hangup icon
67
67
 */
68
68
void show_status_hangup_icon();
69
69
 
70
70
 
71
71
/**
72
 
 * Show hangup icon 
 
72
 * Show hangup icon
73
73
 */
74
74
void hide_status_hangup_icon();
75
75
 
87
87
 * @param state TRUE if the  main window is minimized
88
88
 *               FALSE otherwise
89
89
 */
90
 
void set_minimized( gboolean state );
 
90
void set_minimized (gboolean state);
91
91
 
92
92
/**
93
93
 * Make the system tray icon blink on incoming call
94
94
 * @return active TRUE to make it blink
95
95
 *                FALSE to make it stop
96
96
 */
97
 
void status_tray_icon_blink( gboolean active );
 
97
void status_tray_icon_blink (gboolean active);
98
98
 
99
99
/**
100
100
 * Accessor
101
101
 * @return GtkStatusIcon* The status icon
102
102
 */
103
 
GtkStatusIcon* get_status_icon( void );
 
103
GtkStatusIcon* get_status_icon (void);
104
104
 
105
105
/**
106
106
 * Attach a tooltip to the status icon
107
107
 */
108
108
void statusicon_set_tooltip (void);
109
109
 
 
110
void status_tray_icon_online (gboolean online);
 
111
 
110
112
#endif // GTK_CHECK_VERSION
111
113
 
112
114
#endif