MiKTeX 26.5-next
A scalable TeX distribution
Loading...
Searching...
No Matches
text.h
1/* text.h: -*- C++ -*-
2
3 Copyright (C) 2001-2018 Christian Schenk
4
5 This file is part of MiKTeX Package Manager.
6
7 MiKTeX Package Manager is free software; you can redistribute it
8 and/or modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either version 2, or
10 (at your option) any later version.
11
12 MiKTeX Package Manager is distributed in the hope that it will be
13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
14 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with MiKTeX Package Manager; if not, write to the Free
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 02111-1307, USA. */
21
22#if !defined(FFF7DC1F73A048E59858E6E2935606FB)
23#define FFF7DC1F73A048E59858E6E2935606FB
24
25#include <miktex/Core/Quoter>
26#include <miktex/Core/Text>
27
28#define T_(x) MIKTEXTEXT(x)
29
30#define Q_(x) MiKTeX::Core::Quoter<char>(x).GetData()
31
32#if defined(MIKTEX_WINDOWS)
33# define WU_(x) MiKTeX::Util::CharBuffer<char>(x).GetData()
34# define UW_(x) MiKTeX::Util::CharBuffer<wchar_t>(x).GetData()
35#endif
36
37#endif