Blame gcr/gcr-union-collection.h

Packit Service f02b19
/*
Packit Service f02b19
 * gnome-keyring
Packit Service f02b19
 *
Packit Service f02b19
 * Copyright (C) 2011 Collabora Ltd.
Packit Service f02b19
 *
Packit Service f02b19
 * This program is free software; you can redistribute it and/or modify
Packit Service f02b19
 * it under the terms of the GNU Lesser General Public License as
Packit Service f02b19
 * published by the Free Software Foundation; either version 2.1 of
Packit Service f02b19
 * the License, or (at your option) any later version.
Packit Service f02b19
 *
Packit Service f02b19
 * This program is distributed in the hope that it will be useful, but
Packit Service f02b19
 * WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service f02b19
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service f02b19
 * Lesser General Public License for more details.
Packit Service f02b19
 *
Packit Service f02b19
 * You should have received a copy of the GNU Lesser General Public
Packit Service f02b19
 * License along with this program; if not, see <http://www.gnu.org/licenses/>.
Packit Service f02b19
 *
Packit Service f02b19
 * Author: Stef Walter <stefw@collabora.co.uk>
Packit Service f02b19
 */
Packit Service f02b19
Packit Service f02b19
#ifndef __GCR_UNION_COLLECTION_H__
Packit Service f02b19
#define __GCR_UNION_COLLECTION_H__
Packit Service f02b19
Packit Service f02b19
#include "gcr-collection.h"
Packit Service f02b19
Packit Service f02b19
#include <glib-object.h>
Packit Service f02b19
Packit Service f02b19
G_BEGIN_DECLS
Packit Service f02b19
Packit Service f02b19
#define GCR_TYPE_UNION_COLLECTION               (gcr_union_collection_get_type ())
Packit Service f02b19
#define GCR_UNION_COLLECTION(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_COLLECTION, GcrUnionCollection))
Packit Service f02b19
#define GCR_UNION_COLLECTION_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_COLLECTION, GcrUnionCollectionClass))
Packit Service f02b19
#define GCR_IS_UNION_COLLECTION(obj)            (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCR_TYPE_COLLECTION))
Packit Service f02b19
#define GCR_IS_UNION_COLLECTION_CLASS(klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GCR_TYPE_COLLECTION))
Packit Service f02b19
#define GCR_UNION_COLLECTION_GET_CLASS(obj)     (G_TYPE_INSTANCE_GET_CLASS ((obj), GCR_TYPE_COLLECTION, GcrUnionCollectionClass))
Packit Service f02b19
Packit Service f02b19
typedef struct _GcrUnionCollection GcrUnionCollection;
Packit Service f02b19
typedef struct _GcrUnionCollectionClass GcrUnionCollectionClass;
Packit Service f02b19
typedef struct _GcrUnionCollectionPrivate GcrUnionCollectionPrivate;
Packit Service f02b19
Packit Service f02b19
struct _GcrUnionCollection {
Packit Service f02b19
	GObject parent;
Packit Service f02b19
Packit Service f02b19
	/*< private >*/
Packit Service f02b19
	GcrUnionCollectionPrivate *pv;
Packit Service f02b19
};
Packit Service f02b19
Packit Service f02b19
struct _GcrUnionCollectionClass {
Packit Service f02b19
	GObjectClass parent_class;
Packit Service f02b19
};
Packit Service f02b19
Packit Service f02b19
GType               gcr_union_collection_get_type                (void);
Packit Service f02b19
Packit Service f02b19
GcrCollection*      gcr_union_collection_new                     (void);
Packit Service f02b19
Packit Service f02b19
void                gcr_union_collection_add                     (GcrUnionCollection *self,
Packit Service f02b19
                                                                  GcrCollection *collection);
Packit Service f02b19
Packit Service f02b19
void                gcr_union_collection_take                    (GcrUnionCollection *self,
Packit Service f02b19
                                                                  GcrCollection *collection);
Packit Service f02b19
Packit Service f02b19
void                gcr_union_collection_remove                  (GcrUnionCollection *self,
Packit Service f02b19
                                                                  GcrCollection *collection);
Packit Service f02b19
Packit Service f02b19
gboolean            gcr_union_collection_have                    (GcrUnionCollection *self,
Packit Service f02b19
                                                                  GcrCollection *collection);
Packit Service f02b19
Packit Service f02b19
guint               gcr_union_collection_size                    (GcrUnionCollection *self);
Packit Service f02b19
Packit Service f02b19
GList *             gcr_union_collection_elements                (GcrUnionCollection *self);
Packit Service f02b19
Packit Service f02b19
G_END_DECLS
Packit Service f02b19
Packit Service f02b19
#endif /* __GCR_UNION_COLLECTION_H__ */