~equinox-i/xfce4-volumed-pulse/add-support-for-mic-mute

« back to all changes in this revision

Viewing changes to src/xvd_data_types.h

  • Committer: Steve Dodier
  • Date: 2010-09-25 07:36:58 UTC
  • Revision ID: git-v1:af2ddc039bc575518a99c80c39abe0ddcc388156
Releasing 0.1.9, with Jérôme Guelfucci's patch replacing xvd with keybinder

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef _XVD_DATA_TYPES_H
21
21
#define _XVD_DATA_TYPES_H
22
22
 
 
23
#ifdef HAVE_CONFIG_H
 
24
#include "config.h"
 
25
#endif
 
26
 
23
27
#define XFCONF_MIXER_CHANNEL_NAME "xfce4-mixer"
24
28
#define XFCONF_MIXER_ACTIVECARD "/active-card"
25
29
#define XFCONF_MIXER_ACTIVECARD_LEGACY "/sound-card"
36
40
 
37
41
#include <gst/audio/mixerutils.h>
38
42
 
39
 
#include <xcb/xcb.h>
40
 
#include <xcb/xcb_keysyms.h>
41
 
#include <X11/XF86keysym.h>
 
43
#include <keybinder.h>
42
44
#ifdef HAVE_LIBNOTIFY
43
45
#include <libnotify/notification.h>
44
46
#endif
69
71
        guint                           current_vol;
70
72
        guint                           vol_step;
71
73
        gboolean                muted;
72
 
        
73
 
        /* Xcb vars */
74
 
        xcb_connection_t        *conn;
75
 
        xcb_window_t            root_win;
76
 
        xcb_key_symbols_t       *kss;
77
 
        #ifndef LEGACY_XCBKEYSYMS
78
 
        xcb_keycode_t           *keyRaise,
79
 
                                                *keyLower,
80
 
                                                *keyMute;
81
 
        #else
82
 
        xcb_keycode_t           keyRaise,
83
 
                                                keyLower,
84
 
                                                keyMute;
85
 
        #endif
86
 
    
87
 
    #ifdef HAVE_LIBNOTIFY
 
74
  
 
75
  #ifdef HAVE_LIBNOTIFY
88
76
    /* Libnotify vars */
89
77
        gboolean                        gauge_notifications;
90
78
        NotifyNotification* notification;