00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #import <Foundation/Foundation.h>
00017 #import "S3Permission.h"
00018 #import "S3Grantee.h"
00019
00027 @interface S3Grant : NSObject {
00028 S3Grantee *grantee;
00029 S3Permission *permission;
00030 }
00031
00033 @property(nonatomic, retain) S3Grantee* grantee;
00034
00036 @property(nonatomic, retain) S3Permission* permission;
00037
00044 -(id)initWithGrantee:(S3Grantee *)theGrantee withPermission:(S3Permission *)thePermission;
00045
00052 +(id)grantWithGrantee:(S3Grantee *)theGrantee withPermission:(S3Permission *)thePermission;
00053
00055 -(NSString *)toXml;
00056
00057 @end