Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 43 lines (30 sloc) 1.08 kb
53f4303 @jefflinwood first commit
authored
1 //
2 // DrupalPlugin.h
3 //
4 // Copyright 2011 Jeff Linwood.
5 // MIT License
6
7 #import <Foundation/Foundation.h>
8 #import <Foundation/Foundation.h>
9 #ifdef PHONEGAP_FRAMEWORK
10 #import <PhoneGap/PGPlugin.h>
11 #else
12 #import "PGPlugin.h"
13 #endif
14
15 #import "DIOSUser.h"
16 #import "DIOSConnect.h"
17
18
19
20 @interface DrupalPlugin : PGPlugin {
21 DIOSUser *currentUser;
22 DIOSConnect *currentSession;
23
24 }
25
26 @property(nonatomic,retain) DIOSUser *currentUser;
27 @property(nonatomic,retain) DIOSConnect *currentSession;
28
29 //user/system connect methods
30 - (void) openAnonymousSession:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
31 - (void) login:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
32 - (void) logout:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
33
34 //node methods
35 - (void) nodeGet:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
56e6482 @jefflinwood Added support for saving nodes
authored
36 - (void) nodeSave:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
53f4303 @jefflinwood first commit
authored
37
c623f48 @jefflinwood Added support for views
authored
38
39 //view methods
40 - (void) viewGet:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
41
53f4303 @jefflinwood first commit
authored
42 @end
Something went wrong with that request. Please try again.