mirror of
https://github.com/TomHarte/CLK.git
synced 2024-08-17 07:29:04 +00:00
23 lines
505 B
C
23 lines
505 B
C
|
//
|
||
|
// TestMachine.h
|
||
|
// Clock Signal
|
||
|
//
|
||
|
// Created by Thomas Harte on 03/06/2017.
|
||
|
// Copyright © 2017 Thomas Harte. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
@class CSTestMachine;
|
||
|
|
||
|
@protocol CSTestMachineTrapHandler
|
||
|
- (void)testMachine:(nonnull CSTestMachine *)testMachine didTrapAtAddress:(uint16_t)address;
|
||
|
@end
|
||
|
|
||
|
@interface CSTestMachine : NSObject
|
||
|
|
||
|
@property(nonatomic, weak, nullable) id<CSTestMachineTrapHandler> trapHandler;
|
||
|
- (void)addTrapAddress:(uint16_t)trapAddress;
|
||
|
|
||
|
@end
|