1 /* 2 Copyright (c) 2005-2012 Alon Bar-Lev <alon.barlev@gmail.com> 3 Copyright (c) 2005-2012 Andrey Dubovik <andu@inbox.ru> 4 All rights reserved. 5 6 This program is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License version 2 8 as published by the Free Software Foundation. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program (see the file COPYING.GPL included with this 17 distribution); if not, write to the Free Software Foundation, Inc., 18 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 */ 20 21 #ifndef MESSAGES_H 22 #define MESSAGES_H 23 24 #include <string> 25 26 namespace msg { 27 extern const char* copyright; 28 extern const char* usage; 29 extern const char* wrong_senc; 30 extern const char* wrong_1enc; 31 extern const char* wrong_2enc; 32 extern const char* enc_error; 33 extern const char* nosenc; 34 extern const char* seehelp; 35 extern const char* nofiles; 36 extern const char* v1unicode; 37 38 std::string nofile(const std::string filename); 39 std::string emptyfile(const std::string filename); 40 std::string writefail(const std::string filename); 41 std::string filedone(const std::string filename); 42 std::string error(const std::string message); 43 } 44 45 #endif 46