blob: a3769f6ef44639ad6c930191f3e71037c8e5d355 [file] [log] [blame]
// 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 int CurrentAbiVersion();
static int OldestSupportedAbiVersion();
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_