mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-24 19:38:55 -04:00
31 lines
756 B
Objective-C
31 lines
756 B
Objective-C
//
|
|
// FLEXSystemLogMessage.h
|
|
// FLEX
|
|
//
|
|
// Created by Ryan Olson on 1/25/15.
|
|
// Copyright (c) 2020 FLEX Team. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <asl.h>
|
|
#import "ActivityStreamAPI.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface FLEXSystemLogMessage : NSObject
|
|
|
|
+ (instancetype)logMessageFromASLMessage:(aslmsg)aslMessage;
|
|
+ (instancetype)logMessageFromDate:(NSDate *)date text:(NSString *)text;
|
|
|
|
// ASL specific properties
|
|
@property (nonatomic, readonly, nullable) NSString *sender;
|
|
@property (nonatomic, readonly, nullable) aslmsg aslMessage;
|
|
|
|
@property (nonatomic, readonly) NSDate *date;
|
|
@property (nonatomic, readonly) NSString *messageText;
|
|
@property (nonatomic, readonly) long long messageID;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|