mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
ff4d87727b
Dropped obsolete Free Software Foundation address pointing to the FSF website instead as suggested by https://www.gnu.org/licenses/gpl-howto.html keeping intact the important part of the historical notice as requested by the license. Resolving rpmlint reported issue E: incorrect-fsf-address. Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com> Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3155>
45 lines
1.3 KiB
C
45 lines
1.3 KiB
C
/*
|
|
* Copyright (C) 2020 Red Hat Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This program 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
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
|
#error "Only <cogl/cogl.h> can be included directly."
|
|
#endif
|
|
|
|
#include <glib-object.h>
|
|
#include <X11/Xlib.h>
|
|
|
|
#include "cogl/cogl-macros.h"
|
|
|
|
#define COGL_TYPE_X11_ONSCREEN (cogl_x11_onscreen_get_type ())
|
|
COGL_EXPORT
|
|
G_DECLARE_INTERFACE (CoglX11Onscreen, cogl_x11_onscreen,
|
|
COGL, X11_ONSCREEN,
|
|
GObject)
|
|
|
|
struct _CoglX11OnscreenInterface
|
|
{
|
|
GTypeInterface parent_iface;
|
|
|
|
Window (* get_x11_window) (CoglX11Onscreen *x11_onscreen);
|
|
};
|
|
|
|
COGL_EXPORT
|
|
Window cogl_x11_onscreen_get_x11_window (CoglX11Onscreen *x11_onscreen);
|