another.im-ios/Monal/Classes/MLXEPSlashMeHandler.h
2024-11-18 15:53:52 +01:00

33 lines
641 B
Objective-C

//
// MLXEPSlashMeHandler.h
// Monal
//
// Created by jimtsai (poormusic2001@gmail.com) on 2020/9/16.
// Copyright © 2020 Monal.im. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "DataLayer.h"
NS_ASSUME_NONNULL_BEGIN
@class MLMessage;
@class UIFont;
@interface MLXEPSlashMeHandler : NSObject
+ (MLXEPSlashMeHandler* )sharedInstance;
/*
By using NSString without attributes.
*/
-(NSString*) stringSlashMeWithMessage:(MLMessage*) msg;
/*
By using NSString with attributes.
*/
-(NSMutableAttributedString*) attributedStringSlashMeWithMessage:(MLMessage*) msg andFont:(UIFont*) font;
@end
NS_ASSUME_NONNULL_END