LibreOffice Module shell (master) 1
filepath.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef INCLUDED_SHELL_INC_INTERNAL_FILEPATH_HXX
11#define INCLUDED_SHELL_INC_INTERNAL_FILEPATH_HXX
12
13// typedefs to allow using Unicode paths on Windows
14
15#include <string>
16
17#if defined _WIN32
18typedef wchar_t Filepath_char_t;
19typedef std::wstring Filepath_t;
20#else
21typedef char Filepath_char_t;
22typedef std::string Filepath_t;
23#endif
24
25#endif
26
27/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
char Filepath_char_t
Definition: filepath.hxx:21
std::string Filepath_t
Definition: filepath.hxx:22