1/* 2 * This file is part of gitg 3 * 4 * Copyright (C) 2012 - Jesse van den Kieboom 5 * 6 * gitg is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * gitg is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with gitg. If not, see <http://www.gnu.org/licenses/>. 18 */ 19namespace Gitg 20{ 21 22public class RefBase : Ggit.Ref, Ref 23{ 24 protected ParsedRefName d_parsed_name { get; set; } 25 26 protected List<Ref>? d_pushes { get; owned set; } 27 28 public RefState state { get; set; } 29 public bool working { get; set; } 30 31 public new Gitg.Repository get_owner() 32 { 33 return (Gitg.Repository)base.get_owner(); 34 } 35} 36 37} 38 39// ex:set ts=4 noet 40