Branch data Line data Source code
1 : : /* 2 : : * Copyright (C) 2023 James Westman <james@jwestman.net> 3 : : * 4 : : * This library is free software; you can redistribute it and/or 5 : : * modify it under the terms of the GNU Lesser General Public 6 : : * License as published by the Free Software Foundation; either 7 : : * version 2.1 of the License, or (at your option) any later version. 8 : : * 9 : : * This library is distributed in the hope that it will be useful, 10 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 : : * Lesser General Public License for more details. 13 : : * 14 : : * You should have received a copy of the GNU Lesser General Public 15 : : * License along with this library; if not, see <https://www.gnu.org/licenses/>. 16 : : */ 17 : : 18 : : #pragma once 19 : : 20 : : #include "shumate-vector-reader-iter.h" 21 : : 22 : : G_BEGIN_DECLS 23 : : 24 : : #define SHUMATE_TYPE_VECTOR_READER (shumate_vector_reader_get_type ()) 25 [ + - + - : 60 : G_DECLARE_FINAL_TYPE (ShumateVectorReader, shumate_vector_reader, SHUMATE, VECTOR_READER, GObject) + + + - ] 26 : : 27 : : ShumateVectorReader *shumate_vector_reader_new (GBytes *bytes); 28 : : ShumateVectorReaderIter *shumate_vector_reader_iterate (ShumateVectorReader *self); 29 : : 30 : : ShumateVectorReader *shumate_vector_reader_iter_get_reader (ShumateVectorReaderIter *self); 31 : : 32 : : G_END_DECLS