TemporalNow.h (725B)
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- 2 * vim: set ts=8 sts=2 et sw=2 tw=80: 3 * This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 7 #ifndef builtin_temporal_TemporalNow_h 8 #define builtin_temporal_TemporalNow_h 9 10 #include "vm/NativeObject.h" 11 12 struct JSClass; 13 14 namespace js { 15 struct ClassSpec; 16 } 17 18 namespace js::temporal { 19 20 class TemporalNowObject : public NativeObject { 21 public: 22 static const JSClass class_; 23 24 private: 25 static const ClassSpec classSpec_; 26 }; 27 28 } /* namespace js::temporal */ 29 30 #endif /* builtin_temporal_TemporalNow_h */