• Main Page
  • Related Pages
  • Classes
  • Files
  • File List
  • File Members

dbus.h

Go to the documentation of this file.
00001 /*
00002  * Audacious: A cross-platform multimedia player
00003  * Copyright (c) 2007 Ben Tucker
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License as published by
00007  * the Free Software Foundation; under version 3 of the License.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program.  If not, see <http://www.gnu.org/licenses>.
00016  *
00017  * The Audacious team does not consider modular code linking to
00018  * Audacious or using our public API to be a derived work.
00019  */
00020 
00021 #ifndef AUDACIOUS_DBUS_H
00022 #define AUDACIOUS_DBUS_H
00023 
00024 #define AUDACIOUS_DBUS_SERVICE      "org.atheme.audacious"
00025 #define AUDACIOUS_DBUS_PATH         "/org/atheme/audacious"
00026 #define AUDACIOUS_DBUS_INTERFACE    "org.atheme.audacious"
00027 #define AUDACIOUS_DBUS_SERVICE_MPRIS    "org.mpris.audacious"
00028 #define AUDACIOUS_DBUS_INTERFACE_MPRIS  "org.freedesktop.MediaPlayer"
00029 #define AUDACIOUS_DBUS_PATH_MPRIS_ROOT      "/"
00030 #define AUDACIOUS_DBUS_PATH_MPRIS_PLAYER    "/Player"
00031 #define AUDACIOUS_DBUS_PATH_MPRIS_TRACKLIST "/TrackList"
00032 
00033 #define NONE                  = 0
00034 #define CAN_GO_NEXT           = 1 << 0
00035 #define CAN_GO_PREV           = 1 << 1
00036 #define CAN_PAUSE             = 1 << 2
00037 #define CAN_PLAY              = 1 << 3
00038 #define CAN_SEEK              = 1 << 4
00039 #define CAN_RESTORE_CONTEXT   = 1 << 5
00040 #define CAN_PROVIDE_METADATA  = 1 << 6
00041 #define PROVIDES_TIMING       = 1 << 7
00042 
00043 
00044 #endif /* AUDACIOUS_DBUS_H */

Generated on Wed Apr 6 2011 for Audacious by  doxygen 1.7.1