Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 60 lines (54 sloc) 2.541 kb
faf535c Got basic CRUD operations working locally.
Charles Jones authored
1 /**
353a1b4 @ginatrapani Standardize and clarify license header text
authored
2 * This file is part of Todo.txt Touch, an iOS app for managing your todo.txt file.
faf535c Got basic CRUD operations working locally.
Charles Jones authored
3 *
353a1b4 @ginatrapani Standardize and clarify license header text
authored
4 * @author Todo.txt contributors <todotxt@yahoogroups.com>
ca7cf6d @ginatrapani Update copyright year to 2012
authored
5 * @copyright 2011-2012 Todo.txt contributors (http://todotxt.com)
353a1b4 @ginatrapani Standardize and clarify license header text
authored
6 *
7 * Dual-licensed under the GNU General Public License and the MIT License
faf535c Got basic CRUD operations working locally.
Charles Jones authored
8 *
353a1b4 @ginatrapani Standardize and clarify license header text
authored
9 * @license GNU General Public License http://www.gnu.org/licenses/gpl.html
faf535c Got basic CRUD operations working locally.
Charles Jones authored
10 *
11 * Todo.txt Touch is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
12 * License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any
13 * later version.
14 *
15 * Todo.txt Touch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
16 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
17 * details.
18 *
19 * You should have received a copy of the GNU General Public License along with Todo.txt Touch. If not, see
20 * <http://www.gnu.org/licenses/>.
21 *
22 *
353a1b4 @ginatrapani Standardize and clarify license header text
authored
23 * @license The MIT License http://www.opensource.org/licenses/mit-license.php
faf535c Got basic CRUD operations working locally.
Charles Jones authored
24 *
25 * Permission is hereby granted, free of charge, to any person obtaining
26 * a copy of this software and associated documentation files (the
27 * "Software"), to deal in the Software without restriction, including
28 * without limitation the rights to use, copy, modify, merge, publish,
29 * distribute, sublicense, and/or sell copies of the Software, and to
30 * permit persons to whom the Software is furnished to do so, subject to
31 * the following conditions:
32 *
33 * The above copyright notice and this permission notice shall be
34 * included in all copies or substantial portions of the Software.
35 *
36 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
37 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
38 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
39 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
40 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
41 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
42 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
43 */
44
45 #import <Foundation/Foundation.h>
46
47
48 @protocol LocalTaskRepository <NSObject>
49
64ec46f @chuckbjones Added archive function and syncing of done.txt file.
chuckbjones authored
50 - (BOOL) todoFileModifiedSince:(NSDate*)date;
51 - (BOOL) doneFileModifiedSince:(NSDate*)date;
faf535c Got basic CRUD operations working locally.
Charles Jones authored
52 - (void) create;
53 - (void) purge;
54 - (NSMutableArray*) load;
55 - (void) store:(NSArray*)tasks;
64ec46f @chuckbjones Added archive function and syncing of done.txt file.
chuckbjones authored
56 - (void) archive:(NSArray*)tasks;
57 - (void) loadDoneTasksWithFile:(NSString*)file;
faf535c Got basic CRUD operations working locally.
Charles Jones authored
58
59 @end
Something went wrong with that request. Please try again.