oss4: Convert to C++ plugin declaration.