Temporal.h 422 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibJS/Runtime/Object.h>
  8. namespace JS::Temporal {
  9. class Temporal final : public Object {
  10. JS_OBJECT(Temporal, Object);
  11. public:
  12. virtual ThrowCompletionOr<void> initialize(Realm&) override;
  13. virtual ~Temporal() override = default;
  14. private:
  15. explicit Temporal(Realm&);
  16. };
  17. }