Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ECFMP/plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyTWF committed Aug 17, 2023
2 parents 416238a + 76a7b5a commit 73593bc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ A Software Development Kit (SDK) for the ECFMP Flow Control API

## Integrating With The SDK

### CMake

You can integrate this SDK into your EuroScope plugin by adding its subdirectory in CMake, for example:

```cmake
add_subdirectory(third_party/ecfmp/src)
```

### Create a HTTP Client

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

### Disposing

You can dispose of the SDK by calling `Dispose()` on the SDK instance.

## Testing Your Integration

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

0 comments on commit 73593bc

Please sign in to comment.