Files
libreoffice/shell/inc/filepath.hxx
Mike Kaganski e80aef4e03 shell: use Unicode on Windows
Change-Id: I9f7962db320f8832879ba327108425a7592b4b77
Reviewed-on: https://gerrit.libreoffice.org/42885
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-09-28 08:55:04 +02:00

30 lines
736 B
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_SHELL_INC_INTERNAL_FILEPATH_HXX
#define INCLUDED_SHELL_INC_INTERNAL_FILEPATH_HXX
// typedefs to allow using Unicode paths on Windows
#include <string>
#if defined _WIN32
typedef wchar_t Filepath_char_t;
typedef std::wstring Filepath_t;
#else
typedef char Filepath_char_t;
typedef std::string Filepath_t;
#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */