/* -*- Mode: C; c-basic-offset: 4 -*- 
 * pygobject - Python bindings for GObject
 * Copyright (C) 2008  Johan Dahlin
 *
 *   unixmodule.c: module wrapping the GIO UNIX library
 *
 * 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.1 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, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
 * USA
 */
%%
headers
#define NO_IMPORT_PYGOBJECT
#include <pygobject.h>
#include <gio/gio.h>
#include <gio/gdesktopappinfo.h>
#include <gio/gunixinputstream.h>
#include <gio/gunixmounts.h>
#include <gio/gunixoutputstream.h>
#define GIO_COMPILATION
#include <gio/gunixconnection.h>
#undef GIO_COMPILATION
#include <gio/gunixfdmessage.h>
#include <gio/gunixsocketaddress.h>

#define GIO_UNIX_MOUNT_ENTRY_TYPE (_gio_unix_mount_entry_get_type ())

static GType _gio_unix_mount_entry_get_type (void)
{
  static GType our_type = 0;
  
  if (our_type == 0)
    our_type = g_pointer_type_register_static ("GUnixMountEntry");

  return our_type;
}

%%
modulename gio.unix
%%
import gobject.GObject as PyGObject_Type
import gio.InputStream as PyGInputStream_Type
import gio.OutputStream as PyGOutputStream_Type
import gio.SocketAddress as PyGSocketAddress_Type
import gio.Cancellable as PyGCancellable_Type
import gio.SocketConnection as PyGSocketConnection_Type
import gio.SocketControlMessage as PyGSocketControlMessage_Type
%%
ignore-glob
  *_get_type
%%
