aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-msg-composer-attachment.h
blob: 07dd7f247df29a67ee135125c77aae48f50310e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* e-msg-composer-attachment.h
 *
 * Copyright (C) 1999  Helix Code, Inc.
 *
 * 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.
 *
 * Author: Ettore Perazzoli
 */
#ifndef __E_MSG_COMPOSER_ATTACHMENT_H__
#define __E_MSG_COMPOSER_ATTACHMENT_H__

#include <gnome.h>
#include <glade/glade-xml.h>

#ifdef __cplusplus
extern "C" {
#pragma }
#endif /* __cplusplus */

#define E_TYPE_MSG_COMPOSER_ATTACHMENT          (e_msg_composer_attachment_get_type ())
#define E_MSG_COMPOSER_ATTACHMENT(obj)          (GTK_CHECK_CAST ((obj), E_TYPE_MSG_COMPOSER_ATTACHMENT, EMsgComposerAttachment))
#define E_MSG_COMPOSER_ATTACHMENT_CLASS(klass)      (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_MSG_COMPOSER_ATTACHMENT, EMsgComposerAttachmentClass))
#define E_IS_MSG_COMPOSER_ATTACHMENT(obj)       (GTK_CHECK_TYPE ((obj), E_TYPE_MSG_COMPOSER_ATTACHMENT))
#define E_IS_MSG_COMPOSER_ATTACHMENT_CLASS(klass)   (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_MSG_COMPOSER_ATTACHMENT))


typedef struct _EMsgComposerAttachment       EMsgComposerAttachment;
typedef struct _EMsgComposerAttachmentClass  EMsgComposerAttachmentClass;

struct _EMsgComposerAttachment {
    GtkObject parent;

    GladeXML *editor_gui;

    gchar *file_name;
    gchar *description;
    gchar *mime_type;
};

struct _EMsgComposerAttachmentClass {
    GtkObjectClass parent_class;

    /* Signals go here */
    void (*changed) (EMsgComposerAttachment *msg_composer_attachment);
};


GtkType e_msg_composer_attachment_get_type (void);
EMsgComposerAttachment *e_msg_composer_attachment_new (const gchar *file_name);
void e_msg_composer_attachment_edit (EMsgComposerAttachment *attachment,
                     GtkWidget *parent);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __E_MSG_COMPOSER_ATTACHMENT_H__ */
re in the pool for some time now and nobody stepped up so I'll give it a shot. * The FreeBSD graphics/x11 team proudly presentszeising2013-09-306-4/+58 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a kwm, zeising production: MESA 9.1.6 Starring: Mesa 9.1.6, including libGL, libGLU and dri (new xorg only) Addition of libEGL and libglesv2 KMS support for ATI graphics cards in 10-current (new xorg only) Improved sparc64 support for new xorg. [1] pixman 0.30.2, including shlib bump and portrevision bumps libX11 1.6.2 Make absolute pointing devices work with x11-drivers/xf86-input-mouse x11-drivers/xf86-video-ati 7.2.0 for 10-current (KMS aware ati driver) Also starring: Updates to drivers and other libraries and utilities Additional notes: When updating MESA related ports (libGL, dri) you need to remove old versions first. See UPDATING for details. PR: ports/181962 [2] Submitted by: marius [1] zeising [2] Exp-run by: bdrewery Approved by: portmgr (bdrewery) Thanks to all who helped testing! * - Support stagingmadpilot2013-09-291-8/+2 | | | | | - Convert to new LIB_DEPENDS format - Use options helpers * - Support stagingmadpilot2013-09-291-7/+0 | * - Support stagingmadpilot2013-09-291-2/+1 | | | | - Convert to new LIB_DEPENDS format * Bump PORTEPOCH as vlc-2.0.8.a,3 is < vlc-2.0.8,3 .nox2013-09-271-1/+1 | | | | Submitted by: erwin, Thomas Mueller <tmueller@sysgo.com> * multimedia/x264: Remove PGO as a default OPTION, Big cleanup.koobs2013-09-262-54/+23 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove PGO as a default option, because RESTRICTED DISTFILES is causing >500 package builds to be skipped/ignored. I've found a number of more liberally licensed test sequences that can be used in a future update. - Bump PORTREVISION While I'm here: - Rename GCC44 option to GCC (4.4 is no longer the default) - Split out GCC and ASM options, allowing a user to select to use a modern GCC version, and continue to opt-in-or-out of ASM optimizations for performance comparisons, benchmarks or the like. - Honour WITH_DEBUG from make.conf in DEBUG option - Replace USE_GMAKE with USES=gmake - pkg-descr: Tab -> space in WWW: - Remove LICENSE_FILE for those listed in bsd.licenses.db.mk - Remove unused MASTER_SITE_SUBDIR - Fix COMMENT conditional assignment since there's no slave port - Remove other vestigial SLAVE_PORT items - Remove avc2avi related entries (no references in source) - Remove TARGET_ARCH from CONFIGURE/MAKE environment (no references) - Remove CFLAGS/LDFLAGS from CONFIGURE_ARGS causing duplication - Remove pre. and post. mk includes, theyre not needed - Remove unecessary MGCC sections related to setting COMPILER_PATH - Remove NO_STAGE=yes, since this port is staging compatible aready - Whitespace alignment PR: ports/171542 Reported by: tijl Reviewed by: tijl, bapt * Update to 2.0.8a . (bugfix release)nox2013-09-262-7/+9 | * - Remove NO_STAGE as these have been tested to be safebdrewery2013-09-258-8/+0 | | | | With hat: portmgr * Needs pkgconf for successful buildmakc2013-09-251-1/+1 | * Remove NO_STAGE to ports natively stage ready shown by a FORCE_STAGE exp-runbapt2013-09-241-2/+1 | | | | Exp-run by: bdrewery * Fix packaging after conversion to stagebapt2013-09-241-1/+1 | | | | | PR: ports/182334 Submitted by: "O. Hartmann" <ohartman@zedat.fu-berlin.de> * Update to 2.2.1bapt2013-09-243-15/+9 | | | | | Support stage Do not remove directory that we do not install (stage allows not to pollute anymore * Support stagingbapt2013-09-242-7/+5 | | | | Convert USE_GMAKE to USES=gmake * - Bump PORTREVISION to fix missing PORTEXAMPLES,PORTDOCS,PORTDATAbdrewery2013-09-231-1/+1 | | | | | | after r327999 fixed these for stage support Approved by: maintainer (bapt) * Remove cruftbapt2013-09-231-3/+0 | | | | Reported by: az * Use stage, modernize LIB_DEPENDSbapt2013-09-232-6/+9 | * Use stagebapt2013-09-232-9/+8 | * Use stagebapt2013-09-231-2/+2 | * Fix NO_STAGE attributionbapt2013-09-231-1/+1 | * - fix misplaced NO_STAGE in slaveports and ifdefsdinoex2013-09-213-3/+5 | * multimedia/x264: Take maintainershipkoobs2013-09-211-1/+1 | | | | - Take maintainership * Returning maintainership on my multimedia ports to ports@freebsd.orgmm2013-09-217-7/+7 | * Add NO_STAGE all over the place in preparation for the staging support (cat: ↵bapt2013-09-21