diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-01-22 22:15:44 -0600 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-01-22 22:15:44 -0600 |
commit | 5f6cebbcfffa32bffada62659e750ab7d362802e (patch) | |
tree | 0389bff187011d1774d585abd22cf81b6671d831 /src/common-defs.h | |
parent | a4637ac0f922a3df3e31c19a0a86eebb6a8b4994 (diff) | |
download | ayatana-indicator-sound-5f6cebbcfffa32bffada62659e750ab7d362802e.tar.gz ayatana-indicator-sound-5f6cebbcfffa32bffada62659e750ab7d362802e.tar.bz2 ayatana-indicator-sound-5f6cebbcfffa32bffada62659e750ab7d362802e.zip |
service signals and methods re worked plus removed dbus-menu-manager.c and h and moved what was needed into the sound-service-dbus
Diffstat (limited to 'src/common-defs.h')
-rw-r--r-- | src/common-defs.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/common-defs.h b/src/common-defs.h index c7d497a..5b5c418 100644 --- a/src/common-defs.h +++ b/src/common-defs.h @@ -24,6 +24,18 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #define SIGNAL_SINK_MUTE_UPDATE "SinkMuteUpdate" #define SIGNAL_SINK_AVAILABLE_UPDATE "SinkAvailableUpdate" +typedef enum { + MUTED, + ZERO_LEVEL, + LOW_LEVEL, + MEDIUM_LEVEL, + HIGH_LEVEL, + BLOCKED, + UNAVAILABLE, + AVAILABLE +}SoundState; + + #define DBUSMENU_PROPERTY_EMPTY -1 /* DBUS Custom Items */ @@ -54,4 +66,4 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #define DBUSMENU_PLAYLISTS_MENUITEM_TYPE "x-canonical-sound-menu-player-playlists-type" #define DBUSMENU_PLAYLISTS_MENUITEM_TITLE "x-canonical-sound-menu-player-playlists-title" -#define DBUSMENU_PLAYLISTS_MENUITEM_PLAYLISTS "x-canonical-sound-menu-player-playlists-playlists"
\ No newline at end of file +#define DBUSMENU_PLAYLISTS_MENUITEM_PLAYLISTS "x-canonical-sound-menu-player-playlists-playlists" |