-
Notifications
You must be signed in to change notification settings - Fork 0
/
nnEvernoteClient.h
62 lines (45 loc) · 1.29 KB
/
nnEvernoteClient.h
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
//
// nnEvernoteClient.h
// cloudlist
//
// Created by Brice Tebbs on 5/12/10.
// Copyright 2010 northNitch Studios, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "EvernoteSession.h"
#import "EvernoteUserStore.h"
#import "EvernoteNoteStore.h"
@class EDAMUser;
@class EDAMNote;
#import "nnListItem.h"
#import "nnTableViewDataProvider.h"
#import "nnRemoteSyncManager.h"
@interface nnEvernoteClient : NSObject <nnRemoteDataSourceDelegate, nnRemoteSyncTrackingInfoDelegate> {
NSString *consumerKey;
NSString *consumerSecret;
EDAMUser *edamUser;
EvernoteUserStore *userStore;
EvernoteNoteStore *noteStore;
BOOL isSetup;
NSString* appName;
NSString* noteTag;
}
-(void)setup:(NSString*)applicationName withTag: (NSString*) tagName;
-(void)setupClient;
-(nnErrorCode)handleOAuth: (UIViewController*) view;
-(nnErrorCode)logout;
-(BOOL)isAuthenticated;
-(NSString*)getUser;
@property (nonatomic, readonly) BOOL isSetup;
@end
@interface nnEvernoteTODOParser : NSObject <NSXMLParserDelegate>
{
nnListItem *currentItem;
BOOL lineBreakerFound;
NSMutableArray* parseList;
NSString* header;
NSMutableArray* todoBuffer;
}
-(id)initWithBuffer: (NSMutableArray*) buffer;
@property (nonatomic, retain) NSString* header;
@end