mirror of https://github.com/Gnucash/gnucash
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.6 KiB
44 lines
1.6 KiB
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
/*
|
|
* gsf-input-textline.h: a utility wrapper to pull in text, line by line.
|
|
*
|
|
* Copyright (C) 2002-2004 Jody Goldberg (jody@gnome.org)
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of version 2.1 of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation.
|
|
*
|
|
* This program 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 General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
|
|
* USA
|
|
*/
|
|
|
|
#ifndef GSF_INPUT_TEXTLINE_H
|
|
#define GSF_INPUT_TEXTLINE_H
|
|
|
|
#include "gsf-input.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define GSF_INPUT_TEXTLINE_TYPE (gsf_input_textline_get_type ())
|
|
#define GSF_INPUT_TEXTLINE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_INPUT_TEXTLINE_TYPE, GsfInputTextline))
|
|
#define GSF_IS_INPUT_TEXTLINE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_INPUT_TEXTLINE_TYPE))
|
|
|
|
typedef struct _GsfInputTextline GsfInputTextline;
|
|
|
|
GType gsf_input_textline_get_type (void);
|
|
|
|
GsfInput *gsf_input_textline_new (GsfInput *source);
|
|
unsigned char *gsf_input_textline_ascii_gets (GsfInputTextline *input);
|
|
guint8 *gsf_input_textline_utf8_gets (GsfInputTextline *input);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* GSF_INPUT_TEXTLINE_H */
|