Skip to content

Commit 73593bc

Browse files
committed
Merge branch 'main' of github.com:ECFMP/plugin
2 parents 416238a + 76a7b5a commit 73593bc

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ A Software Development Kit (SDK) for the ECFMP Flow Control API
44

55
## Integrating With The SDK
66

7+
### CMake
8+
9+
You can integrate this SDK into your EuroScope plugin by adding its subdirectory in CMake, for example:
10+
11+
```cmake
12+
add_subdirectory(third_party/ecfmp/src)
13+
```
14+
715
### Create a HTTP Client
816

917
Rather than ship with an opinionated viewpoint as to what you should use for HTTP requests, this SDK
@@ -53,6 +61,10 @@ auto eventListener = std::make_shared<MyListener<ECFMP::Plugin::FlowMeasureActiv
5361
ecfmp.EventBus().Subscribe<ECFMP::Plugin::FlowMeasureActivatedEvent>(eventListener);
5462
```
5563

64+
### Disposing
65+
66+
You can dispose of the SDK by calling `Dispose()` on the SDK instance.
67+
5668
## Testing Your Integration
5769

5870
You can test your integration by making use of the mocks provided by the SDK. These mocks will allow you to simulate

0 commit comments

Comments
 (0)