/*
* libosinfo: a list of software products
*
* Copyright (C) 2009-2012 Red Hat, Inc.
*
* 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, see
* .
*
* Authors:
* Arjun Roy
* Daniel P. Berrange
*/
#include
#include
#include
#ifndef __OSINFO_PRODUCTLIST_H__
#define __OSINFO_PRODUCTLIST_H__
/*
* Type macros.
*/
#define OSINFO_TYPE_PRODUCTLIST (osinfo_productlist_get_type ())
#define OSINFO_PRODUCTLIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), OSINFO_TYPE_PRODUCTLIST, OsinfoProductList))
#define OSINFO_IS_PRODUCTLIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), OSINFO_TYPE_PRODUCTLIST))
#define OSINFO_PRODUCTLIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), OSINFO_TYPE_PRODUCTLIST, OsinfoProductListClass))
#define OSINFO_IS_PRODUCTLIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), OSINFO_TYPE_PRODUCTLIST))
#define OSINFO_PRODUCTLIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), OSINFO_TYPE_PRODUCTLIST, OsinfoProductListClass))
typedef struct _OsinfoProductList OsinfoProductList;
typedef struct _OsinfoProductListClass OsinfoProductListClass;
typedef struct _OsinfoProductListPrivate OsinfoProductListPrivate;
/* object */
struct _OsinfoProductList
{
OsinfoList parent_instance;
/* public */
/* private */
OsinfoProductListPrivate *priv;
};
/* class */
struct _OsinfoProductListClass
{
/*< private >*/
OsinfoListClass parent_class;
/* class members */
};
GType osinfo_productlist_get_type(void);
OsinfoProductList *osinfo_productlist_new(void);
G_DEPRECATED_FOR(osinfo_list_new_copy)
OsinfoProductList *osinfo_productlist_new_copy(OsinfoProductList *source);
G_DEPRECATED_FOR(osinfo_list_new_filtered)
OsinfoProductList *osinfo_productlist_new_filtered(OsinfoProductList *source, OsinfoFilter *filter);
G_DEPRECATED_FOR(osinfo_list_new_intersection)
OsinfoProductList *osinfo_productlist_new_intersection(OsinfoProductList *sourceOne, OsinfoProductList *sourceTwo);
G_DEPRECATED_FOR(osinfo_list_new_union)
OsinfoProductList *osinfo_productlist_new_union(OsinfoProductList *sourceOne, OsinfoProductList *sourceTwo);
#endif /* __OSINFO_PRODUCTLIST_H__ */
/*
* Local variables:
* indent-tabs-mode: nil
* c-indent-level: 4
* c-basic-offset: 4
* End:
*/