Updating linux build.
[Widgit.git] / IFileOperations.cs
blob7b7ac033b6a59daff8185ac72e4cb1faa3206b7c
1 //Widgit is free software; you can redistribute it and/or modify
2 //it under the terms of the GNU General Public License as published by
3 //the Free Software Foundation; either version 2 of the License, or
4 //(at your option) any later version.
6 //Widgit is distributed in the hope that it will be useful,
7 //but WITHOUT ANY WARRANTY; without even the implied warranty of
8 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 //GNU General Public License for more details.
11 //You should have received a copy of the GNU General Public License
12 //along with Widgit; if not, write to the Free Software
13 //Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USAusing System;
15 using System;
16 using System.Collections.Generic;
17 using System.Text;
19 namespace Widgit
21 public class SelectedStatesChangedEvent : EventArgs
23 public SelectedStatesChangedEvent(int selectedStates)
25 m_selectedStates = selectedStates;
27 protected int m_selectedStates;
28 public int SelectedStates { get { return m_selectedStates; } }
31 public delegate void SelectedStatesChangedHandler(RepoToolStrip sender, SelectedStatesChangedEvent evt);
33 public interface IFileOperations
35 event SelectedStatesChangedHandler StatesChanged;
36 event EventHandler Add;
37 event EventHandler Copy;
38 event EventHandler Delete;
39 event EventHandler RenameOrMove;
40 event EventHandler Revert;
41 event EventHandler RefreshFiles;
42 event EventHandler DiffHead;
43 event EventHandler DiffOther;
44 event EventHandler View;
45 event EventHandler ViewPrevious;