/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
- //
- // User.h
- // StoffiRemote
- //
- // Created by Fredrik Gadnell on 9/29/11.
- // Copyright 2011 __MyCompanyName__. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "GaddREST.h"
- #import "Configuration.h"
- #define kUserIDUnknown -1
- @interface User : NSObject<RestRequestDelegate> {
- int userID;
- Configuration *configuration;
- }
- @property (readonly) int userID;
- @property (retain) Configuration *configuration;
- + (User *)newUser;
- + (User *)currentUser;
- - (void)pullConfiguration;
- - (void)pushConfiguration;
- @end