Today's Menu  Portugal
journal and plan nutrition
Z5GoogleDriveController.h
Go to the documentation of this file.
1 //
2 // Z5GoogleDriveController.h
3 // TodaysMenu
4 //
5 // Created by Don Zeek on 4/16/18.
6 // Copyright © 2018 net.dzeek.y2015.ios.portfolio. All rights reserved.
7 //
8 #import <Foundation/Foundation.h>
9 #import <GTLRDrive.h>
10 
12 
13 @protocol V7GoogDriveAPIProtocol <NSObject>
14 
15 typedef enum {
21 } QueryStage;
22 
23 // @property (nonatomic, strong) GTLRDriveService *service;
24 
25 - (void) ticketCompleted:(GTLRServiceTicket *)ticket;
26 - (void) resultStage: (QueryStage)stage returnedFiles: (NSArray *)files;
27 
28 @end
29 
30 
31 @interface Z5GoogleDriveController : NSObject <Z5GoogleLoginListener>
32 
33 @property (nonatomic, strong) GTLRDriveService *service;
34 
35 // - (instancetype) initWithDelegate:(id <V7GoogDriveAPIProtocol>)delegate;
36 // - (GTLRServiceTicket *)listRoot;
37 - (void) listRootFor:(id<V7GoogDriveAPIProtocol>)reqstor;
38 // - (GTLRServiceTicket *)listJournalRoot:(NSString *)journalRootId;
39 - (void) listJournalRootFor:(id<V7GoogDriveAPIProtocol>)reqstor;
40 - (NSArray *)listJournalItemRoot:(NSArray<GTLRDrive_File *> *)itemFiles;
41 - (GTLRServiceTicket *)listJournaItemPartRoot:(NSString *)journalItemPartRootId;
42 
43 - (void) placeRecipe;
44 
45 @end