diff options
author | David Anderson <dvander@google.com> | 2019-09-09 17:56:22 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2019-09-09 18:07:52 -0700 |
commit | 83fdeca17d4aeb8a333b61f21a52a793804e0975 (patch) | |
tree | d00bd737055d2ec052679178d3120c29167d7345 /include/libgsi/libgsid.h | |
parent | e1eb268db19ed28baa13a58cae802ad37a30d36e (diff) | |
download | gsid-83fdeca17d4aeb8a333b61f21a52a793804e0975.tar.gz |
Factor GetGsiService into a helper library.
Bug: 140204341
Test: gsi_tool
Change-Id: I40fb2ff6ad58346d0711b971de5d1a7d3fba6774
Diffstat (limited to 'include/libgsi/libgsid.h')
-rw-r--r-- | include/libgsi/libgsid.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/libgsi/libgsid.h b/include/libgsi/libgsid.h new file mode 100644 index 0000000..46f8ef5 --- /dev/null +++ b/include/libgsi/libgsid.h @@ -0,0 +1,27 @@ +// +// Copyright (C) 2019 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + +#pragma once + +#include <android/gsi/IGsiService.h> + +namespace android { +namespace gsi { + +android::sp<IGsiService> GetGsiService(); + +} // namespace gsi +} // namespace android |