File indexing completed on 2024-04-21 15:55:43
0001 /************************************************************************************ 0002 begin : mon 3-11 20:40:00 CEST 2003 0003 copyright : (C) 2003 by Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net) 0004 ************************************************************************************/ 0005 0006 /*************************************************************************** 0007 * * 0008 * This program is free software; you can redistribute it and/or modify * 0009 * it under the terms of the GNU General Public License as published by * 0010 * the Free Software Foundation; either version 2 of the License, or * 0011 * (at your option) any later version. * 0012 * * 0013 ***************************************************************************/ 0014 0015 #ifndef KILETOOL_ENUMS_H 0016 #define KILETOOL_ENUMS_H 0017 0018 #define OKULAR_LIBRARY_NAME "okularpart" 0019 0020 namespace KileTool 0021 { 0022 /** 0023 * KileTool can send several types of messages 0024 * Error 0025 * Warning 0026 * Info 0027 **/ 0028 enum { Error = 0, Warning, Info, ProblemError, ProblemWarning, ProblemBadBox }; 0029 0030 enum { NeedTargetDirExec = 0x01, NeedTargetDirWrite = 0x02, NeedTargetExists = 0x04, NeedTargetRead = 0x08, 0031 NeedActiveDoc = 0x10, NeedMasterDoc = 0x20, NoUntitledDoc = 0x40, NeedSourceExists = 0x80, NeedSourceRead = 0x100, NeedSaveAll = 0x200 0032 }; 0033 0034 enum { Running = 0, ConfigureFailed, NoLauncherInstalled, NoValidTarget, NoValidSource, TargetHasWrongPermissions, NoValidPrereqs, CouldNotLaunch, SelfCheckFailed}; 0035 0036 enum { Success = 0, Failed = 1, AbnormalExit = 2, Aborted = 3, Silent = 4 }; 0037 } 0038 #endif