~ken-vandine/+junk/xdg-desktop-portal-gtk_0.10

« back to all changes in this revision

Viewing changes to src/externalwindow-x11.h

  • Committer: Ken VanDine
  • Date: 2018-02-14 16:27:00 UTC
  • Revision ID: ken.vandine@canonical.com-20180214162700-e61q0115hwx2bb3z
init

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright © 2016 Red Hat, Inc
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or
 
5
 * modify it under the terms of the GNU Lesser General Public
 
6
 * License as published by the Free Software Foundation; either
 
7
 * version 2 of the License, or (at your option) any later version.
 
8
 *
 
9
 * This library is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
 * Lesser General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU Lesser General Public
 
15
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
 
16
 *
 
17
 * Authors:
 
18
 *       Jonas Ådahl <jadahl@redhat.com>
 
19
 */
 
20
 
 
21
#pragma once
 
22
 
 
23
#include <glib-object.h>
 
24
 
 
25
#include "externalwindow.h"
 
26
 
 
27
 
 
28
#define EXTERNAL_TYPE_WINDOW_X11 (external_window_x11_get_type ())
 
29
#define EXTERNAL_WINDOW_X11(object) (G_TYPE_CHECK_INSTANCE_CAST (object, EXTERNAL_TYPE_WINDOW_X11, ExternalWindowX11))
 
30
 
 
31
typedef struct _ExternalWindowX11 ExternalWindowX11;
 
32
typedef struct _ExternalWindowX11Class ExternalWindowX11Class;
 
33
 
 
34
GType external_window_get_type (void);
 
35
ExternalWindowX11 *external_window_x11_new (const char *handle_str);