OLD | NEW |
---|---|
(Empty) | |
1 /* | |
2 * Copyright 2013 Google Inc. | |
epoger
2013/05/22 17:33:58
You might want to get Mike's blessing before addin
scroggo
2013/05/23 15:29:33
I believe we only need to add SK_API if code outsi
| |
3 * | |
4 * Use of this source code is governed by a BSD-style license that can be | |
5 * found in the LICENSE file. | |
6 */ | |
7 | |
8 class SkString; | |
9 | |
10 /** | |
11 * Assembles rootPath and relativePath into a single path, like this: | |
12 * rootPath/relativePath | |
13 * | |
14 * Uses SkPATH_SEPARATOR, to work on all platforms. | |
15 */ | |
16 SkString SkPathJoin(const char *rootPath, const char *relativePath); | |
17 | |
18 /** | |
19 * Return the name of the file, ignoring the directory structure. | |
20 * Does not create a new string. | |
21 * @param fullPath Full path to the file. | |
22 * @return string The basename of the file - anything beyond the | |
23 * final slash, or the full name if there is no slash. | |
24 */ | |
25 const char* SkBasename(const char* fullPath); | |
OLD | NEW |