blob: e616ad1ee811de8571eee66a4932ec84559781b7 [file] [log] [blame]
Andrew Walbran3d2c1972020-04-07 12:24:26 +01001//===-- SystemInitializer.h -------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_INITIALIZATION_SYSTEM_INITIALIZER_H
10#define LLDB_INITIALIZATION_SYSTEM_INITIALIZER_H
11
12#include "llvm/Support/Error.h"
13
14#include <string>
15
16namespace lldb_private {
17
18class SystemInitializer {
19public:
20 SystemInitializer();
21 virtual ~SystemInitializer();
22
23 virtual llvm::Error Initialize() = 0;
24 virtual void Terminate() = 0;
25};
26}
27
28#endif