/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* camel-simple-data-wrapper.c : simple implementation of a data wrapper */ /* store the data in a glib byte array */ /* * * Author : * Bertrand Guiheneuf * * Copyright 1999, 2000 Helix Code, Inc. (http://www.helixcode.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * 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 General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA */ #ifndef CAMEL_SIMPLE_DATA_WRAPPER_H #define CAMEL_SIMPLE_DATA_WRAPPER_H 1 #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus }*/ #include #include "camel-types.h" #include "camel-data-wrapper.h" #define CAMEL_SIMPLE_DATA_WRAPPER_TYPE (camel_simple_data_wrapper_get_type ()) #define CAMEL_SIMPLE_DATA_WRAPPER(obj) (GTK_CHECK_CAST((obj), CAMEL_SIMPLE_DATA_WRAPPER_TYPE, CamelSimpleDataWrapper)) #define CAMEL_SIMPLE_DATA_WRAPPER_CLASS(k) (GTK_CHECK_CLASS_CAST ((k), CAMEL_SIMPLE_DATA_WRAPPER_TYPE, CamelSimpleDataWrapperClass)) #define CAMEL_IS_SIMPLE_DATA_WRAPPER(o) (GTK_CHECK_TYPE((o), CAMEL_SIMPLE_DATA_WRAPPER_TYPE)) struct _CamelSimpleDataWrapper { CamelDataWrapper parent_object; GByteArray *byte_array; gboolean has_byte_array_stream; }; typedef struct { CamelDataWrapperClass parent_class; } CamelSimpleDataWrapperClass; /* Standard Gtk function */ GtkType camel_simple_data_wrapper_get_type (void); /* public methods */ CamelSimpleDataWrapper *camel_simple_data_wrapper_new (void); void camel_simple_data_wrapper_set_text (CamelSimpleDataWrapper *simple_data_wrapper, const gchar *text); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CAMEL_SIMPLE_DATA_WRAPPER_H */ rge-4.6.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Fix a common grammar error: "can not" means the opposite of "cannot."adamw2018-08-021-1/+1
* Fix a grammaro (in four instances) in user-level messages around licensegerald2018-07-291-4/+4
* Makes the no-auto-accept case understandable by a human.mat2018-07-181-1/+1
* Fix copy&paste error.mat2018-07-181-1/+1
* Start a debug-license target.mat2018-07-181-0/+35
* Add LICENSE_FILE support for single license file containing multiple licensessunpoet2017-10-071-0/+7
* Remove superfluous spacesunpoet2017-03-041-12/+12
* ${RM} already has -f.mat2016-10-211-6/+6
* Replace the license dialog menu and "View license" screen with one --yesnotijl2016-03-211-11/+3
* Fix handling of licenses ending with plus sign on 9.xamdmi32016-01-131-13/+13
* Register license files with absolute pathbapt2014-09-231-6/+4
* Let pkg(8) track license directories by itselfbapt2014-09-221-7/+0
* - Add a comment to clean-restricted. This code has confused me every timebdrewery2014-08-221-0/+2
* Ask politely that people run changes to bsd.licences.mk and bsd.licenses.db.mkeadler2014-06-191-0/+2
* - Rewrite explanation of LICENSE_PERM components (dist-mirror dist-sellriggs2014-06-161-6/+10
* If using WRKDIRPREFIX, the licenses path will be made unusable.mat2014-05-251-0/+4
* Remove a mention to LICENSE_NOTES, it seems it never existed.mat2014-05-181-2/+2
* Remove more now useless fallback targetsbapt2014-01-041-3/+0
* Ensure correct ownership of the licenses directory to avoid "leftovers" [1]rene2014-01-031-0/+2
* Bring back bsd.licenses.mk to prior r336083 the ports tree is not yet ready f...bapt2013-12-111-1/+3
* Disable NO_ARCH for now as it prevent from upgrading from pkg 1.1 to pkg 1.2 ...bapt2013-12-111-4/+1
* - Similar to r328081, need to explicitly list the PREFIX that '@cwd' shouldbdrewery2013-09-251-2/+1
* Add support for staging area in the ports treebapt2013-09-231-5/+5
* - Set IGNORE if BATCH is set [1]tabthorpe2012-06-261-9/+10
* - Remove emacs mode, -*- mode: ...; -*- [1]miwi2012-05-231-1/+1
* Minor English correctioneadler2012-03-141-1/+1
* - Add code to support standard licenses [1]tabthorpe2012-02-281-6/+16
* - Make pkg_add honour -p/-Ptabthorpe2012-01-091-1/+2
* - Disable license checking with DISABLE_LICENSES [1]tabthorpe2011-03-311-5/+9