Skip to content

Commit

Permalink
Remove unused methods (#30)
Browse files Browse the repository at this point in the history
Remove unused methods
  • Loading branch information
danirabbit authored and Alecaddd committed Jul 20, 2018
1 parent cebe960 commit 0c7781d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions src/API/IFileAccess.vala
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ namespace Taxi {

public abstract void open_file (Soup.URI uri);

public abstract void edit_file (Soup.URI uri);

public abstract File get_current_file ();
}
}
2 changes: 0 additions & 2 deletions src/API/IFileOperations.vala
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,5 @@ namespace Taxi {
FileCopyFlags flags = FileCopyFlags.NONE,
Cancellable? cancellable = null
) throws Error;

public async abstract bool rename_file (File file, string new_name) throws Error;
}
}
3 changes: 0 additions & 3 deletions src/Backend/FileAccess.vala
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ namespace Taxi {
}
}

public virtual void edit_file (Soup.URI uri) {
}

public virtual File get_current_file () {
return file_handle;
}
Expand Down
4 changes: 0 additions & 4 deletions src/Backend/FileOperations.vala
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,5 @@ namespace Taxi {
warning ("Unrecognised file type" + file_type.to_string ());
}
}

public async bool rename_file (File file, string new_name) throws Error {
return false;
}
}
}

0 comments on commit 0c7781d

Please sign in to comment.