carriagereturn

adapter pattern

When inserting an abstract interface is infeasible because the target is third party software then insert your own interface / class between you and the software and make all interactions with it use that.

The inserted interface / class is an Adapter.