Backed out changeset ebc60855035e (bug 1829026) as requested for causing Bug 1869760...
[gecko.git] / mfbt / Path.h
blobeed687dd0637da2ca3a0ac6e8c2380d5bae33555
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 /* Represents the native path format on the platform. */
9 #ifndef mozilla_Path_h
10 #define mozilla_Path_h
12 namespace mozilla {
13 namespace filesystem {
16 * Mozilla vaiant of std::filesystem::path.
17 * Only |value_type| is implemented at the moment.
19 class Path {
20 public:
21 #ifdef XP_WIN
22 using value_type = char16_t;
23 #else
24 using value_type = char;
25 #endif
28 } /* namespace filesystem */
29 } /* namespace mozilla */
31 #endif /* mozilla_Path_h */