gtk2/gdk/gdkcontentproviderprivate.h
Benjamin Otte 888e5257e0 clipboard: Introduce GdkContentProvider
GdkContentProvider is the object that represents local data in the
clipboard.

This patch only introduces the object and adds the clipboard properties,
it does not yet provide a way for the actual implementations to access
it.

The only access that is implemented is the local shortcut GValue access.
2017-12-03 05:46:47 +01:00

34 lines
1.3 KiB
C

/*
* Copyright (C) 2017 Benjamin Otte <otte@gnome.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_CONTENT_PROVIDER_PRIVATE_H__
#define __GDK_CONTENT_PROVIDER_PRIVATE_H__
#include <gdk/gdkcontentprovider.h>
G_BEGIN_DECLS
void gdk_content_provider_attach_clipboard (GdkContentProvider *provider,
GdkClipboard *clipboard);
void gdk_content_provider_detach_clipboard (GdkContentProvider *provider,
GdkClipboard *clipboard);
G_END_DECLS
#endif /* __GDK_CONTENT_PROVIDER_PRIVATE_H__ */