From a47c3e3b38c8a78a13cb9525c6087e09fd288689 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Thu, 19 Sep 2024 17:39:07 -0400 Subject: [PATCH] MTRDeviceControllerOverXPC should inherit from MTRDeviceController_Concrete for now. That's what it used to do, and for now we should just leave it be. Longer-term, we need to figure out what should happen with MTRDeviceControllerOverXPC; whether it should inherit from the base MTRDeviceController, or just not exist, or what. --- src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.h b/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.h index 9616e22b7a494c..669baea9588f57 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.h +++ b/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.h @@ -16,7 +16,8 @@ */ #import -#import + +#import "MTRDeviceController_Concrete.h" NS_ASSUME_NONNULL_BEGIN @@ -24,7 +25,7 @@ NS_ASSUME_NONNULL_BEGIN typedef NSXPCConnection * _Nonnull (^MTRXPCConnectBlock)(void); -@interface MTRDeviceControllerOverXPC : MTRDeviceController +@interface MTRDeviceControllerOverXPC : MTRDeviceController_Concrete - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE;