dynamic_library_handle.h 379 B

1234567891011121314151617181920
  1. // Copyright The OpenTelemetry Authors
  2. // SPDX-License-Identifier: Apache-2.0
  3. #pragma once
  4. #include "opentelemetry/version.h"
  5. OPENTELEMETRY_BEGIN_NAMESPACE
  6. namespace plugin
  7. {
  8. /**
  9. * Manage the ownership of a dynamically loaded library.
  10. */
  11. class DynamicLibraryHandle
  12. {
  13. public:
  14. virtual ~DynamicLibraryHandle() = default;
  15. };
  16. } // namespace plugin
  17. OPENTELEMETRY_END_NAMESPACE