/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * * Authors: Michel Zucchi * * Copyright 2003 Ximian, Inc. (www.ximian.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 Street #330, Boston, MA 02111-1307, USA. * */ #ifndef __E_PROFILE_EVENT_H__ #define __E_PROFILE_EVENT_H__ #include #include #include "e-util/e-event.h" #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ struct _CamelFolder; struct _CamelMimeMessage; typedef struct _EProfileEvent EProfileEvent; typedef struct _EProfileEventClass EProfileEventClass; /* Current target description */ enum _e_profile_event_target_t { E_PROFILE_EVENT_TARGET, }; /* Flags that qualify a target (UNIMPLEMENTED) */ enum { E_PROFILE_EVENT_START = 1<< 0, E_PROFILE_EVENT_END = 1<< 1, E_PROFILE_EVENT_CANCEL = 1<< 2, }; typedef struct _EProfileEventTarget EProfileEventTarget; struct _EProfileEventTarget { EEventTarget target; struct timeval tv; char *id; /* id of event */ char *uid; /* uid of event (folder/message, etc) */ }; typedef struct _EEventItem EProfileEventItem; /* The object */ struct _EProfileEvent { EEvent popup; struct _EProfileEventPrivate *priv; }; struct _EProfileEventClass { EEventClass popup_class; }; GType e_profile_event_get_type(void); EProfileEvent *e_profile_event_peek(void); EProfileEventTarget *e_profile_event_target_new(EProfileEvent *emp, const char *id, const char *uid, guint32 flags); /* we don't want ANY rubbish code lying around if we have profiling off */ #ifdef ENABLE_PROFILING void e_profile_event_emit(const char *id, const char *uid, guint32 flags); #else #define e_profile_event_emit(a, b, c) #endif /* ********************************************************************** */ typedef struct _EProfileEventHook EProfileEventHook; typedef struct _EProfileEventHookClass EProfileEventHookClass; struct _EProfileEventHook { EEventHook hook; }; struct _EProfileEventHookClass { EEventHookClass hook_class; }; GType e_profile_event_hook_get_type(void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __E_PROFILE_EVENT_H__ */ ue='dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Fix build on 5.xahze2005-03-092-4/+18
* Fix plist.krion2005-01-081-0/+2
* BROKEN on 5.x: Does not compilekris2004-09-261-1/+7
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1
* SIZEify.trevor2004-01-301-0/+1
* Define USE_PERL5_BUILD, not erroneous USE_PERL.trevor2003-11-201-1/+1
* Define USE_PERL to make Perl available for (mostly deprecated)trevor2003-11-201-0/+1
* Use the FIND and XARGS macros introduced in bsd.port.mk 1.391.trevor2003-11-131-1/+1
* Fix build on python2.3perky2003-08-201-0/+13
* Let be hohest: I really don't have a time now to properly maintain allsobomax2003-07-291-1/+1
* Clear moonlight beckons.ade2003-03-072-1/+1
* Directory layouts of py-gtk and py-gnome packages have been changed, so thatsobomax2002-08-291-1/+1
* Use $PYNUMERIC in the dependencies.tg2002-07-151-9/+1
* Fix `make package'.sobomax2002-03-151-2/+0
* Backout previous change - it seems that new revision of the patch doesn'tsobomax2001-12-201-17/+8
* Don't filter libc_r on 5-CURRENT.sobomax2001-12-201-8/+17
* Update to 0.8.0.sobomax2001-12-057-149/+209
* Update to 0.7.1.sobomax2001-07-273-11/+37
* Unbroke with python2.0.sobomax2001-07-171-1/+1
* Kill extra \n.sobomax2001-07-041-1/+0
* Update to 0.7.0.sobomax2001-07-047-42/+74