gnome-control-center/panels/display/cc-rr-labeler.h
Thomas Wood b4a16be646 display: initial implementation of the new design
Add an initial implementation of the new design for the display panel. The
display previews and presentation mode are not yet fully implemented.

https://bugzilla.gnome.org/show_bug.cgi?id=706115
2013-08-20 18:25:44 +01:00

62 lines
2.2 KiB
C

/* gnome-rr-labeler.h - Utility to label monitors to identify them
* while they are being configured.
*
* Copyright 2008, Novell, Inc.
*
* This file is part of the Gnome Library.
*
* The Gnome Library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* The Gnome Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with the Gnome Library; see the file COPYING.LIB. If not,
* write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*
* Author: Federico Mena-Quintero <federico@novell.com>
*/
#ifndef CC_RR_LABELER_H
#define CC_RR_LABELER_H
#define GNOME_DESKTOP_USE_UNSTABLE_API
#include <libgnome-desktop/gnome-rr-config.h>
#define GNOME_TYPE_RR_LABELER (cc_rr_labeler_get_type ())
#define CC_RR_LABELER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_TYPE_RR_LABELER, CcRRLabeler))
#define CC_RR_LABELER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNOME_TYPE_RR_LABELER, CcRRLabelerClass))
#define GNOME_IS_RR_LABELER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_TYPE_RR_LABELER))
#define GNOME_IS_RR_LABELER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_RR_LABELER))
#define CC_RR_LABELER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNOME_TYPE_RR_LABELER, CcRRLabelerClass))
typedef struct _CcRRLabeler CcRRLabeler;
typedef struct _CcRRLabelerClass CcRRLabelerClass;
typedef struct _CcRRLabelerPrivate CcRRLabelerPrivate;
struct _CcRRLabeler {
GObject parent;
/*< private >*/
CcRRLabelerPrivate *priv;
};
struct _CcRRLabelerClass {
GObjectClass parent_class;
};
GType cc_rr_labeler_get_type (void);
CcRRLabeler *cc_rr_labeler_new (GnomeRRConfig *config);
void cc_rr_labeler_show (CcRRLabeler *labeler);
void cc_rr_labeler_hide (CcRRLabeler *labeler);
#endif