-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMWMSdkStub.m
43 lines (37 loc) · 1010 Bytes
/
MWMSdkStub.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// MWMSdkStub.m
// eeg_meditation
//
// Created by Alex Lokk on 28.04.2020.
// Copyright © 2020 Alex Lokk. All rights reserved.
//
// A stub to build the app for simulator
// - FIXME the switch does not work??
#if TARGET_IPHONE_SIMULATOR
#import <Foundation/Foundation.h>
#import "MWMSdk/MWMEnum.h"
#import "MWMSdk/MWMDelegate.h"
#import "MWMSdk/MWMDevice.h"
@implementation MWMDevice
+ (MWMDevice *)sharedInstance {
return [[MWMDevice alloc] init];
}
- (void)deviceFound:(NSString *)devName MfgID:(NSString *)mfgID DeviceID:(NSString *)deviceID {}
- (void)didConnect {}
- (void)didDisconnect {}
- (void)connectDevice:(NSString *)deviceID {}
- (void)disconnectDevice {}
- (void)enableConsoleLog:(BOOL)enabled {}
- (NSString *)enableLoggingWithOptions:(unsigned int)option {
return @"---";
}
- (NSString *)getVersion {
return @"STUB";
}
- (void)readConfig {}
- (void)scanDevice {}
- (void)stopLogging {}
- (void)stopScanDevice {}
- (void)writeConfig:(TGMWMConfigCMD)cmd {}
@end
#endif