30 lines
718 B
Objective-C
30 lines
718 B
Objective-C
//
|
|
// MessageToolbarView.h
|
|
// xplan-ios
|
|
//
|
|
// Created by 冯硕 on 2022/4/20.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class MessageMenuModel;
|
|
@protocol CHSessionToolbarViewDelegate <NSObject>
|
|
|
|
- (void)keyboardWillChangeFrame:(CGRect)rect;
|
|
- (void)sendTextMessage:(NSString *)text;
|
|
- (void)audioRecordCompletion:(NSString *)recordPath;
|
|
- (void)didSelectMenuItem:(MessageMenuModel *)info;
|
|
@end
|
|
|
|
@interface CHSessionToolbarView : UIView
|
|
///代理
|
|
@property (nonatomic,weak) id<CHSessionToolbarViewDelegate> delegate;
|
|
@property(nonatomic,assign) int model;
|
|
@property (nonatomic, assign, getter=isSendDisabled) BOOL sendDisabled;
|
|
///折叠 菜单view
|
|
- (void)foldToolMenuView;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|