mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
79cec0e864
Change-Id: I26d455d96c87010293a6dcb9f6c0eecfcaf3c816 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/157102 Reviewed-by: Alexander Thomas <athom@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Liam Appelbe <liama@google.com>
28 lines
709 B
C++
28 lines
709 B
C++
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
#ifndef RUNTIME_VM_VERSION_H_
|
|
#define RUNTIME_VM_VERSION_H_
|
|
|
|
#include "vm/allocation.h"
|
|
|
|
namespace dart {
|
|
|
|
class Version : public AllStatic {
|
|
public:
|
|
static const char* String();
|
|
static const char* SnapshotString();
|
|
static const char* CommitString();
|
|
static const char* SdkHash();
|
|
|
|
private:
|
|
static const char* str_;
|
|
static const char* snapshot_hash_;
|
|
static const char* commit_;
|
|
static const char* git_short_hash_;
|
|
};
|
|
|
|
} // namespace dart
|
|
|
|
#endif // RUNTIME_VM_VERSION_H_
|