/*
Copyright (c) 2008 TrueCrypt Developers Association. All rights reserved.
Governed by the TrueCrypt License 3.0 the full text of which is contained in
the file License.txt included in TrueCrypt binary and source code distribution
packages.
*/
#ifndef TC_HEADER_Main_StringFormatter
#define TC_HEADER_Main_StringFormatter
#include "System.h"
#include "Main.h"
namespace VeraCrypt
{
class StringFormatterArg
{
public:
StringFormatterArg () : Empty (true) { }
StringFormatterArg (const char c) : Empty (false) { string s; s += c; StringArg = StringConverter::ToWide (s); }
StringFormatterArg (const wchar_t c) : Empty (false), Referenced (false), StringArg (c) { }
StringFormatterArg (const char *str) : Empty (false), Referenced (false), StringArg (StringConverter::ToWide (str)) { }
StringFormatterArg (const wchar_t *str) : Empty (false), Referenced (false), StringArg (str) { }
StringFormatterArg (const string &str) : Empty (false), Referenced (false), StringArg (StringConverter::ToWide (str)) { }
StringFormatterArg (const wstring &str) : Empty (false), Referenced