Files
keyboard/Pods/LookinServer/Src/Main/Shared/LookinHierarchyInfo.h

48 lines
1.0 KiB
C
Raw Normal View History

2025-10-28 10:18:10 +08:00
#ifdef SHOULD_COMPILE_LOOKIN_SERVER
//
// LookinDisplayInfo.h
// WeRead
//
// Created by Li Kai on 2018/10/22.
// Copyright © 2018年 tencent. All rights reserved.
//
#import "LookinDefines.h"
#import "TargetConditionals.h"
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#elif TARGET_OS_MAC
#import <Appkit/Appkit.h>
#endif
@class LookinDisplayItem, LookinAttributesGroup, LookinAppInfo;
@interface LookinHierarchyInfo : NSObject <NSSecureCoding, NSCopying>
#if TARGET_OS_IPHONE
/// version 可能为 nil此时说明 Client 版本号 < 1.0.4
+ (instancetype)staticInfoWithLookinVersion:(NSString *)version;
+ (instancetype)exportedInfo;
#endif
/// 这里其实就是顶端的那几个 UIWindow
@property(nonatomic, copy) NSArray<LookinDisplayItem *> *displayItems;
@property(nonatomic, copy) NSDictionary<NSString *, id> *colorAlias;
@property(nonatomic, copy) NSArray<NSString *> *collapsedClassList;
@property(nonatomic, strong) LookinAppInfo *appInfo;
@property(nonatomic, assign) int serverVersion;
@end
#endif /* SHOULD_COMPILE_LOOKIN_SERVER */