mirror of
https://github.com/dart-lang/sdk
synced 2024-09-06 00:59:09 +00:00
![Liam Appelbe](/assets/img/avatar_default.png)
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>
29 lines
709 B
C++
29 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_
|