PageRenderTime 16ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Mobile/iPhone/StoffiRemote/StoffiRemote/User.h

http://yet-another-music-application.googlecode.com/
C++ Header | 30 lines | 15 code | 8 blank | 7 comment | 0 complexity | 904ec9dea6f06710bc9884a3a0563415 MD5 | raw file
 1//
 2//  User.h
 3//  StoffiRemote
 4//
 5//  Created by Fredrik Gadnell on 9/29/11.
 6//  Copyright 2011 __MyCompanyName__. All rights reserved.
 7//
 8
 9#import <Foundation/Foundation.h>
10#import "GaddREST.h"
11#import "Configuration.h"
12
13
14#define kUserIDUnknown -1
15
16@interface User : NSObject<RestRequestDelegate> {
17    int userID;
18    Configuration *configuration;
19}
20
21@property (readonly) int userID;
22@property (retain) Configuration *configuration;
23
24+ (User *)newUser;
25+ (User *)currentUser;
26
27- (void)pullConfiguration;
28- (void)pushConfiguration;
29
30@end