forked from everettjf/XSourceNote
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathXSourceNoteDataset.h
More file actions
48 lines (36 loc) · 1.15 KB
/
Copy pathXSourceNoteDataset.h
File metadata and controls
48 lines (36 loc) · 1.15 KB
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
//
// XSourceNoteDataset.h
// XSourceNote
//
// Created by everettjf on 16/3/10.
// Copyright © 2016年 everettjf. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef NS_OPTIONS(NSUInteger, XSourceNoteEntityType) {
XSourceNoteEntityTypeBasicInformation = 0,
XSourceNoteEntityTypeProjectNote = 1,
XSourceNoteEntityTypeLineNote = 2,
XSourceNoteEntityTypeSummarize = 3,
XSourceNoteEntityTypeTool = 4,
};
@interface XSourceNoteEntityObject : NSObject
@property (assign) XSourceNoteEntityType type;
-(NSString*) title;
@end
@interface XSourceNoteLineEntity : XSourceNoteEntityObject
@property (copy) NSString *uniqueID;
@property (copy) NSString *source;
@property (copy) NSString *localPath;
@property (assign) NSUInteger begin;
@property (assign) NSUInteger end;
@property (copy) NSString *content;
@property (copy) NSString *code;
@end
@interface XSourceNoteBasicInformationEntity : XSourceNoteEntityObject
@end
@interface XSourceNoteProjectNoteEntity : XSourceNoteEntityObject
@end
@interface XSourceNoteProjectSummarizeEntity : XSourceNoteEntityObject
@end
@interface XSourceNoteProjectToolEntity : XSourceNoteEntityObject
@end