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.
 
 
 
 
 
 

66 lines
2.4 KiB

  1. /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
  2. *
  3. * Copyright (C) 2008 Red Hat, Inc.
  4. * Copyright (C) 2014 Michal Ratajsky <michal.ratajsky@gmail.com>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
  19. *
  20. */
  21. #ifndef __GVC_MIXER_DIALOG_H
  22. #define __GVC_MIXER_DIALOG_H
  23. #include <glib.h>
  24. #include <glib-object.h>
  25. #include <libmatemixer/matemixer.h>
  26. G_BEGIN_DECLS
  27. #define GVC_DIALOG_DBUS_NAME "org.mate.VolumeControl"
  28. #define GVC_TYPE_MIXER_DIALOG (gvc_mixer_dialog_get_type ())
  29. #define GVC_MIXER_DIALOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GVC_TYPE_MIXER_DIALOG, GvcMixerDialog))
  30. #define GVC_MIXER_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GVC_TYPE_MIXER_DIALOG, GvcMixerDialogClass))
  31. #define GVC_IS_MIXER_DIALOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GVC_TYPE_MIXER_DIALOG))
  32. #define GVC_IS_MIXER_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GVC_TYPE_MIXER_DIALOG))
  33. #define GVC_MIXER_DIALOG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GVC_TYPE_MIXER_DIALOG, GvcMixerDialogClass))
  34. typedef struct _GvcMixerDialog GvcMixerDialog;
  35. typedef struct _GvcMixerDialogClass GvcMixerDialogClass;
  36. typedef struct _GvcMixerDialogPrivate GvcMixerDialogPrivate;
  37. struct _GvcMixerDialog
  38. {
  39. GtkDialog parent;
  40. GvcMixerDialogPrivate *priv;
  41. };
  42. struct _GvcMixerDialogClass
  43. {
  44. GtkDialogClass parent_class;
  45. };
  46. GType gvc_mixer_dialog_get_type (void) G_GNUC_CONST;
  47. GvcMixerDialog * gvc_mixer_dialog_new (MateMixerContext *context);
  48. gboolean gvc_mixer_dialog_set_page (GvcMixerDialog *dialog,
  49. const gchar *page);
  50. G_END_DECLS
  51. #endif /* __GVC_MIXER_DIALOG_H */