tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

Path.h (773B)


      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/. */
      6 
      7 /* Represents the native path format on the platform. */
      8 
      9 #ifndef mozilla_Path_h
     10 #define mozilla_Path_h
     11 
     12 namespace mozilla {
     13 namespace filesystem {
     14 
     15 /*
     16 * Mozilla vaiant of std::filesystem::path.
     17 * Only |value_type| is implemented at the moment.
     18 */
     19 class Path {
     20 public:
     21 #ifdef XP_WIN
     22  using value_type = char16_t;
     23 #else
     24  using value_type = char;
     25 #endif
     26 };
     27 
     28 } /* namespace filesystem */
     29 } /* namespace mozilla */
     30 
     31 #endif /* mozilla_Path_h */