/* * Copyright © 2020 Benjamin Otte * * 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: Benjamin Otte */ #ifndef __OTTIE_GROUP_SHAPE_PRIVATE_H__ #define __OTTIE_GROUP_SHAPE_PRIVATE_H__ #include "ottieshapeprivate.h" #include G_BEGIN_DECLS #define OTTIE_TYPE_GROUP_SHAPE (ottie_group_shape_get_type ()) #define OTTIE_GROUP_SHAPE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), OTTIE_TYPE_GROUP_SHAPE, OttieGroupShape)) #define OTTIE_GROUP_SHAPE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), OTTIE_TYPE_GROUP_SHAPE, OttieGroupShapeClass)) #define OTTIE_IS_GROUP_SHAPE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), OTTIE_TYPE_GROUP_SHAPE)) #define OTTIE_IS_GROUP_SHAPE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), OTTIE_TYPE_GROUP_SHAPE)) #define OTTIE_GROUP_SHAPE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), OTTIE_TYPE_GROUP_SHAPE, OttieGroupShapeClass)) typedef struct _OttieGroupShape OttieGroupShape; typedef struct _OttieGroupShapeClass OttieGroupShapeClass; GType ottie_group_shape_get_type (void) G_GNUC_CONST; OttieShape * ottie_group_shape_new (void); OttieShape * ottie_group_shape_parse (JsonReader *reader); gboolean ottie_group_shape_parse_shapes (JsonReader *reader, gsize offset, gpointer data); G_END_DECLS #endif /* __OTTIE_GROUP_SHAPE_PRIVATE_H__ */