/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */

/* 
 * Author : 
 *  Damon Chaplin <damon@ximian.com>
 *
 * Copyright 2000, Ximian, Inc.
 * Copyright 2000, Ximian, Inc.
 *
 * This program is free software; you can redistribute it and/or 
 * modify it under the terms of version 2 of the GNU 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 General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
 * USA
 */
#ifndef _E_CALENDAR_TABLE_H_
#define _E_CALENDAR_TABLE_H_

#include <gtk/gtktable.h>
#include <table/e-table-scrolled.h>
#include <misc/e-cell-date-edit.h>
#include "e-activity-handler.h"
#include "e-cal-model.h"

G_BEGIN_DECLS

/*
 * ECalendarTable - displays the iCalendar objects in a table (an ETable).
 * Used for calendar events and tasks.
 */


#define E_CALENDAR_TABLE(obj)          GTK_CHECK_CAST (obj, e_calendar_table_get_type (), ECalendarTable)
#define E_CALENDAR_TABLE_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, e_calendar_table_get_type (), ECalendarTableClass)
#define E_IS_CALENDAR_TABLE(obj)       GTK_CHECK_TYPE (obj, e_calendar_table_get_type ())


typedef struct _ECalendarTable       ECalendarTable;
typedef struct _ECalendarTableClass  ECalendarTableClass;


struct _ECalendarTable {
	GtkTable table;

	/* The model that we use */
	ECalModel *model;

	GtkWidget *etable;

	/* The ECell used to view & edit dates. */
	ECellDateEdit *dates_cell;

	/* Fields used for cut/copy/paste */
	icalcomponent *tmp_vcal;

	/* Activity ID for the EActivityHandler (i.e. the status bar).  */
	EActivityHandler *activity_handler;
	guint activity_id;
};

struct _ECalendarTableClass {
	GtkTableClass parent_class;

	/* Notification signals */
	void (* user_created) (ECalendarTable *cal_table);
};


GtkType	   e_calendar_table_get_type (void);
GtkWidget* e_calendar_table_new	(void);

ECalModel *e_calendar_table_get_model (ECalendarTable *cal_table);

ETable    *e_calendar_table_get_table (ECalendarTable *cal_table);

void       e_calendar_table_open_selected (ECalendarTable *cal_table);
void       e_calendar_table_complete_selected (ECalendarTable *cal_table);
void       e_calendar_table_delete_selected (ECalendarTable *cal_table);

GSList    *e_calendar_table_get_selected (ECalendarTable *cal_table);

/* Clipboard related functions */
void       e_calendar_table_cut_clipboard       (ECalendarTable *cal_table);
void       e_calendar_table_copy_clipboard      (ECalendarTable *cal_table);
void       e_calendar_table_paste_clipboard     (ECalendarTable *cal_table);

/* These load and save the state of the table (headers shown etc.) to/from
   the given file. */
void	   e_calendar_table_load_state		(ECalendarTable *cal_table,
						 gchar		*filename);
void	   e_calendar_table_save_state		(ECalendarTable *cal_table,
						 gchar		*filename);

void       e_calendar_table_set_activity_handler (ECalendarTable *cal_table,
						  EActivityHandler *activity_handler);
void       e_calendar_table_set_status_message (ECalendarTable *cal_table,
						const gchar *message,
						int percent);
void 	   e_calendar_table_open_task (ECalendarTable *cal_table, 
				       ECal *client,
				       icalcomponent *icalcomp,
				       gboolean assign);
ECalModelComponent * e_calendar_table_get_selected_comp (ECalendarTable *cal_table);
void e_calendar_table_hide_completed_tasks (ECalendarTable *table, GList *clients_list, gboolean config_changed);

void e_calendar_table_process_completed_tasks (ECalendarTable *table, GList *clients_list, gboolean config_changed);

G_END_DECLS

#endif /* _E_CALENDAR_TABLE_H_ */
/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2</option>
<option value='gnome-3.22'>gnome-3.22</option>
<option value='gnome-3.24' selected='selected'>gnome-3.24</option>
<option value='gnome-3.26'>gnome-3.26</option>
<option value='gnome-3.28'>gnome-3.28</option>
<option value='gnome-3.32'>gnome-3.32</option>
<option value='gnome-3.36'>gnome-3.36</option>
<option value='gstreamer'>gstreamer</option>
<option value='gstreamer-1.16'>gstreamer-1.16</option>
<option value='gstreamer0.10-removal'>gstreamer0.10-removal</option>
<option value='main'>main</option>
<option value='master'>master</option>
<option value='mate-1.16'>mate-1.16</option>
<option value='mate-1.18'>mate-1.18</option>
<option value='mate-1.20'>mate-1.20</option>
<option value='mate-1.22'>mate-1.22</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/about/?h=gnome-3.24'>about</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/?h=gnome-3.24'>summary</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/refs/?h=gnome-3.24&amp;id=493781b889f2548eff4cba4bb64b83c3c96cefa4'>refs</a><a class='active' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/emulators/uae?h=gnome-3.24'>log</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/tree/emulators/uae?h=gnome-3.24&amp;id=493781b889f2548eff4cba4bb64b83c3c96cefa4'>tree</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/emulators/uae?h=gnome-3.24&amp;id=493781b889f2548eff4cba4bb64b83c3c96cefa4'>commit</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/diff/emulators/uae?h=gnome-3.24&amp;id=493781b889f2548eff4cba4bb64b83c3c96cefa4'>diff</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/stats/emulators/uae?h=gnome-3.24'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/emulators/uae'>
<input type='hidden' name='h' value='gnome-3.24'/><input type='hidden' name='id' value='493781b889f2548eff4cba4bb64b83c3c96cefa4'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/?h=gnome-3.24&amp;id=493781b889f2548eff4cba4bb64b83c3c96cefa4'>root</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/emulators?h=gnome-3.24&amp;id=493781b889f2548eff4cba4bb64b83c3c96cefa4'>emulators</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/emulators/uae?h=gnome-3.24&amp;id=493781b889f2548eff4cba4bb64b83c3c96cefa4'>uae</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/emulators/uae?h=gnome-3.24&amp;id=493781b889f2548eff4cba4bb64b83c3c96cefa4&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/emulators/uae?h=gnome-3.24&amp;id=9f13096513a099d21b088786ee5855e242c2e37d'>Patch to use DOCSDIR and DATADIR</a></td><td>leeym</td><td><span title='2003-06-30 10:15:44 +0800'>2003-06-30</span></td><td>2</td><td><span class='deletions'>-34</span>/<span class='insertions'>+35</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/emulators/uae?h=gnome-3.24&amp;id=080216c4d330be033fad0dd7ae008060cb567135'>Remove USE_GNOMENG.</a></td><td>marcus</td><td><span title='2003-04-20 11:03:05 +0800'>2003-04-20</span></td><td>1</td><td><span class='deletions'>-1</span>/<span class='insertions'>+0</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/emulators/uae?h=gnome-3.24&amp;id=a05cabe4d4df8a2a4f6b5d89c67b5d662fc21279'>Allow UAE to build with gcc3.x.</a></td><td>mbr</td><td><span title='2003-02-25 07:54:29 +0800'>2003-02-25</span></td><td>4</td><td><span class='deletions'>-22</span>/<span class='insertions'>+31</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/emulators/uae?h=gnome-3.24&amp;id=cd63ab299ecbacc6d43a31ee82d010072422d9dd'>De-pkg-comment.</a></td><td>knu</td><td><span title='2003-02-21 20:06:51 +0800'>2003-02-21</span></td><td>2</td><td><span class='deletions'>-1</span>/<span class='insertions'>+1</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/emulators/uae?h=gnome-3.24&amp;id=62bf7c90ff082c5e144a6136d7d8e3a18b0e0178'>Build under -current again</a></td><td>pat</td><td><span title='2002-11-25 04:42:03 +0800'>2002-11-25</span></td><td>1</td><td><span class='deletions'>-0</span>/<span class='insertions'>+1</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/emulators/uae?h=gnome-3.24&amp;id=a4204a069e533d977e210d4b788d29e4218141cb'>PERL -&gt; REINPLACE</a></td><td>obraun</td><td><span title='2002-10-27 20:56:55 +0800'>2002-10-27</span>