//
//  IMContentBaseConfig.swift

//
//  Created by Leon on 2025/8/18.
//

class IMContentBaseConfig:NSObject, SessionCellContentDelegate{
    required override init() {
        super.init()
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func contentSize(model: SessionBaseModel) -> CGSize {
        return .zero
    }
    
    func cellInsets(model: SessionBaseModel) -> UIEdgeInsets {
        return UIEdgeInsets(top: 0, left: 16, bottom: 0, right: 16)
    }
    
    func contentInsets(model: SessionBaseModel) -> UIEdgeInsets {
        return UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0)
    }
    
    func onlyShowContent(model: SessionBaseModel) -> Bool {
        return false
    }
    
    func contentViewClass(model: SessionBaseModel) -> IMContentBaseView.Type {
        return IMContentBaseView.self
    }
}
