blob: 8eb594138478e7588923f3dc2ef20f5ea6a65351 [file] [log] [blame]
Elliott Hughes338698e2021-07-13 17:15:19 -07001/*
2 * Copyright (C) 2005 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#pragma once
18
19// This file contains cruft that used to be in libutils' String8, that's only
20// used for aapt.
21
22#include <utils/String8.h>
23
24// Converts all separators in this string to /, the default path
25// separator.
26// If the default OS separator is backslash, this converts all
27// backslashes to slashes, in-place. Otherwise it does nothing.
28void convertToResPath(android::String8&);