ExternalLibraryBase.h 728 B

1234567891011121314151617181920212223
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #pragma once
  6. namespace Js
  7. {
  8. class ExternalLibraryBase
  9. {
  10. public:
  11. ExternalLibraryBase();
  12. void Initialize(JavascriptLibrary* library);
  13. void Close(); // remove itself from the list.
  14. protected:
  15. ExternalLibraryBase* next;
  16. JavascriptLibrary* javascriptLibrary;
  17. ScriptContext* scriptContext;
  18. };
  19. }