You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

44 lines
1.8 KiB

  1. /* $Id$ */
  2. /*
  3. * This program is free software; you can redistribute it and/or modify it
  4. * under the terms of the GNU General Public License as published by the Free
  5. * Software Foundation; either version 2 of the License, or (at your option)
  6. * any later version.
  7. *
  8. * This program is distributed in the hope that it will be useful, but WITHOUT
  9. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  11. * more details.
  12. *
  13. * You should have received a copy of the GNU General Public License along with
  14. * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
  15. * Place, Suite 330, Boston, MA 02111-1307 USA
  16. */
  17. #ifndef __PANEL_DBUS_SERVICE_H__
  18. #define __PANEL_DBUS_SERVICE_H__
  19. #include <glib.h>
  20. typedef struct _PanelDBusServiceClass PanelDBusServiceClass;
  21. typedef struct _PanelDBusService PanelDBusService;
  22. #define PANEL_DBUS_SERVICE_PATH "/org/xfce/Panel"
  23. #define PANEL_DBUS_SERVICE_INTERFACE "org.xfce.Panel"
  24. #define PANEL_TYPE_DBUS_SERVICE (panel_dbus_service_get_type ())
  25. #define PANEL_DBUS_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PANEL_TYPE_DBUS_SERVICE, PanelDBusService))
  26. #define PANEL_DBUS_CLASS_SERVICE(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANEL_TYPE_DBUS_SERVICE, PanelDBusServiceClass))
  27. #define PANEL_IS_DBUS_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PANEL_TYPE_DBUS_SERVICE))
  28. #define PANEL_IS_DBUS_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANEL_TYPE_DBUS_SERVICE))
  29. #define PANEL_DBUS_SERVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANEL_TYPE_DBUS_SERVICE, PanelDBusServiceClass))
  30. GType panel_dbus_service_get_type (void) G_GNUC_CONST;
  31. GObject *panel_dbus_service_new (void);
  32. G_END_DECLS
  33. #endif /* !__PANEL_DBUS_SERVICE_H__ */