1 /* 2 * This program is free software; you can redistribute it and/or modify 3 * it under the terms of the GNU General Public License as published by 4 * the Free Software Foundation; either version 2 of the License, or 5 * (at your option) any later version. 6 * 7 * This program is distributed in the hope that it will be useful, 8 * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * GNU Library General Public License for more details. 11 * 12 * You should have received a copy of the GNU General Public License 13 * along with this program; if not, write to the Free Software 14 * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA 15 */ 16 17 #ifndef ANJUTA_VCS_STATUS_H 18 #define ANJUTA_VCS_STATUS_H 19 20 /** 21 * IAnjutaVcsStatus: 22 * @ANJUTA_VCS_STATUS_NONE: File has unknown status 23 * @ANJUTA_VCS_STATUS_MODIFIED: File was modified locally 24 * @ANJUTA_VCS_STATUS_ADDED: File was added 25 * @ANJUTA_VCS_STATUS_DELETED: File was deleted 26 * @ANJUTA_VCS_STATUS_CONFLICTED: File has unresolved conflict 27 * @ANJUTA_VCS_STATUS_UPTODATE: File is up-to-date 28 * @ANJUTA_VCS_STATUS_LOCKED: File is locked 29 * @ANJUTA_VCS_STATUS_MISSING: File is missing 30 * @ANJUTA_VCS_STATUS_UNVERSIONED: File is ignored by VCS system 31 * 32 * This enumeration is used to specify the status of a file. 33 */ 34 typedef enum 35 { 36 /* Unversioned, ignored, or uninteresting items */ 37 ANJUTA_VCS_STATUS_NONE = 0, /*< skip >*/ 38 ANJUTA_VCS_STATUS_MODIFIED = 1 << 0, 39 ANJUTA_VCS_STATUS_ADDED = 1 << 1, 40 ANJUTA_VCS_STATUS_DELETED = 1 << 2, 41 ANJUTA_VCS_STATUS_CONFLICTED = 1 << 3, 42 ANJUTA_VCS_STATUS_UPTODATE = 1 << 4, 43 ANJUTA_VCS_STATUS_LOCKED = 1 << 5, 44 ANJUTA_VCS_STATUS_MISSING = 1 << 6, 45 ANJUTA_VCS_STATUS_UNVERSIONED = 1 << 7, 46 ANJUTA_VCS_STATUS_IGNORED = 1 << 8, 47 48 ANJUTA_VCS_STATUS_ALL = ~0 49 } AnjutaVcsStatus; 50 51 #endif // ANJUTA_VCS_STATUS_H 52 53 54 55 56