AdapterIOSNative.cpp
1.37 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
//
//AdapterIOSNative.cpp
// LiveCam
//
// Created by sbc on 22/12/20.
// Copyright © 2020 roopam mishra. All rights reserved.
//
#include "AdapterIOSNative.hpp"
const char *tag = "AdapterIOSNative";
extern "C" {
AdapterIOSNative::AdapterIOSNative() {
cout << "AdapterIOSNative constructor";
};
AdapterIOSNative* AdapterIOSNative::initialise(string path,string id,string bundleId,string deviceModel,string deviceBrand,string filepath) {
cout << "AdapterIOSNative initialise" << endl;
this->filepath = filepath;
this->path = path;
this->deviceId = id;
this->bundleId = bundleId;
this->deviceModel = deviceModel;
this->deviceBrand = deviceBrand;
return this;
};
string AdapterIOSNative::getID(){
cout << "AdapterIOSNative getID " << deviceId << endl;
return deviceId;
};
string AdapterIOSNative::getPath(PATH_TYPE type) {
cout << "AdapterIOSNative getPath " << path << endl;
return path;
};
//to be changed to BundleID
string AdapterIOSNative::getBundleID(){
cout << "AdapterIOSNative getBundleID " << bundleId << endl;
return bundleId;
};
string AdapterIOSNative::getDeviceModel() {
cout << "AdapterIOSNative getDeviceModel " << deviceModel << endl;
return deviceModel;
};
string AdapterIOSNative::getDeviceBrand(){
cout << "AdapterIOSNative getDeviceBrand " << deviceBrand << endl;
return deviceBrand;
};
}