WFCUFaceBoard.h 830 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // FaceBoard.h
  3. //
  4. // Created by blue on 12-9-26.
  5. // Copyright (c) 2012年 blue. All rights reserved.
  6. // Email - 360511404@qq.com
  7. // http://github.com/bluemood
  8. #import <UIKit/UIKit.h>
  9. #define FACE_NAME_HEAD @"/s"
  10. // 表情转义字符的长度( /s占2个长度,xxx占3个长度,共5个长度 )
  11. #define FACE_NAME_LEN 5
  12. @protocol WFCUFaceBoardDelegate <NSObject>
  13. @optional
  14. - (void)didTouchEmoj:(NSString *)emojString;
  15. - (void)didTouchBackEmoj;
  16. - (void)didTouchSendEmoj;
  17. - (void)didSelectedSticker:(NSString *)stickerPath;
  18. - (void)didEmojSettingBtn;
  19. @end
  20. @interface WFCUFaceBoard : UIView<UIScrollViewDelegate>
  21. + (NSString *)getStickerCachePath;
  22. + (NSString *)getStickerBundleName;
  23. @property (nonatomic, weak) id<WFCUFaceBoardDelegate> delegate;
  24. @property (nonatomic, assign) BOOL disableSticker;
  25. @end