From cac30a7e1469a8f061f64712dbea100a012dd788 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Thu, 1 Jan 2009 17:50:41 +0000 Subject: cut/paste feature aded fixed a 2-years old bug that made repeated items with exceptions to load uncorrectly in some cases (thanks Jan for reporting it) --- src/apoint.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/apoint.h') diff --git a/src/apoint.h b/src/apoint.h index ca3b4b3..d51829c 100755 --- a/src/apoint.h +++ b/src/apoint.h @@ -1,8 +1,8 @@ -/* $calcurse: apoint.h,v 1.15 2008/12/28 13:13:59 culot Exp $ */ +/* $calcurse: apoint.h,v 1.16 2009/01/01 17:50:41 culot Exp $ */ /* * Calcurse - text-based organizer - * Copyright (c) 2004-2008 Frederic Culot + * Copyright (c) 2004-2009 Frederic Culot * * 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 @@ -59,6 +59,7 @@ apoint_llist_t; extern apoint_llist_t *alist_p; +void apoint_free_bkp (void); void apoint_llist_init (void); void apoint_llist_free (void); void apoint_hilt_set (int); @@ -68,6 +69,8 @@ int apoint_hilt (void); apoint_llist_node_t *apoint_new (char *, char *, long, long, char); void apoint_add (void); void apoint_delete (conf_t *, unsigned *, unsigned *); +void apoint_cut (unsigned *, unsigned *); +void apoint_paste (unsigned *, unsigned *); unsigned apoint_inday (apoint_llist_node_t *, long); void apoint_sec2str (apoint_llist_node_t *, int, long, char *, char *); @@ -81,5 +84,6 @@ struct notify_app_s *apoint_check_next (struct notify_app_s *, long); apoint_llist_node_t *apoint_recur_s2apoint_s (recur_apoint_llist_node_t *); void apoint_switch_notify (void); void apoint_update_panel (int); +void apoint_paste_item (void); #endif /* CALCURSE_APOINT_H */ -- cgit v1.2.3-54-g00ecf