HGPhotoWall.h 856 Bytes
//
//  HGPhotoWall.h
//  PhotoDemo
//
//  Created by Harry on 12-12-6.
//  Copyright (c) 2012年 Harry. All rights reserved.
//

#import <UIKit/UIKit.h>
@class HGPhoto;
@protocol HGPhotoWallDelegate <NSObject>

- (void)photoWallPhotoDel:(NSUInteger )index; //删除
- (void)photoWallPhotoTaped:(HGPhoto *)hgPhoto; //扩大图片
- (void)photoWallMovePhotoFromIndex:(NSInteger)index toIndex:(NSInteger)newIndex;
- (void)photoWallAddAction;
- (void)photoWallAddFinish;
- (void)photoWallDeleteFinish;

- (void)photowallChoosePhontoes;//从相册或相机中取照片

@end

@interface HGPhotoWall : UIView

@property (assign) id<HGPhotoWallDelegate> delegate;


- (void)setPhotos:(NSArray*)photos;
- (void)setEditModel:(BOOL)canEdit;
- (void)addPhoto:(NSString*)string;
- (void)addPhotoImg: (UIImage *)img;
- (void)deletePhotoByIndex:(NSUInteger)index;

@end