Commit 6aa2468
committed
[[ LicenseCheck ]] Add a simple license check API to externals V1 API.
The V1 externals API has been extended with a new API LicenseCheck().
This API takes the minimum edition (one of Community, Indy, Business)
which the external requires. If the engine is not licensed at that level
or above, it will cause the external handler to fail and raise an
error in the engine. If a call to the API fails in an external initialize
handler, then it will cause all future calls to the external to fail
with an error.
In addition to the new external API, the deploy command will now include
an edition byte in the standalone capsule - allowing license checks to
occur in standalones rather than just in the IDE.1 parent 3b764f0 commit 6aa2468
File tree
8 files changed
+364
-101
lines changed- engine/src
- lcidlc
- include
- src
8 files changed
+364
-101
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
368 | 403 | | |
369 | 404 | | |
370 | 405 | | |
371 | 406 | | |
372 | 407 | | |
373 | 408 | | |
374 | 409 | | |
| 410 | + | |
375 | 411 | | |
376 | 412 | | |
377 | 413 | | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
378 | 418 | | |
379 | 419 | | |
380 | 420 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2695 | 2695 | | |
2696 | 2696 | | |
2697 | 2697 | | |
| 2698 | + | |
| 2699 | + | |
| 2700 | + | |
2698 | 2701 | | |
2699 | 2702 | | |
2700 | 2703 | | |
| |||
0 commit comments