diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2019-10-03 15:22:21 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2019-10-03 15:22:21 +0200 |
commit | 5204e98502aa1d0dc4a05c5d3f15b7c39c8d832c (patch) | |
tree | cf732995c187d192ce8eab868c5f60cd0982184e /src/Commands.vala | |
parent | 4b884ce062be787b9e64836146133a1066b679e3 (diff) | |
parent | de88de73ad9d13cc2a54668aa4bc6523c196ffa9 (diff) |
Update upstream source from tag 'upstream/0.30.7'
Update to upstream version '0.30.7'
with Debian dir 9549ff4a34004ef1e2ea60b54b2fb65fe1ddf75e
Diffstat (limited to 'src/Commands.vala')
-rw-r--r-- | src/Commands.vala | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Commands.vala b/src/Commands.vala index 6924f82..2b9eac1 100644 --- a/src/Commands.vala +++ b/src/Commands.vala @@ -12,7 +12,7 @@ public abstract class PageCommand : Command { private Photo library_photo = null; private CollectionPage collection_page = null; - public PageCommand(string name, string explanation) { + protected PageCommand(string name, string explanation) { base (name, explanation); page = AppWindow.get_instance().get_current_page(); @@ -103,7 +103,7 @@ public abstract class PageCommand : Command { public abstract class SingleDataSourceCommand : PageCommand { protected DataSource source; - public SingleDataSourceCommand(DataSource source, string name, string explanation) { + protected SingleDataSourceCommand(DataSource source, string name, string explanation) { base(name, explanation); this.source = source; @@ -130,7 +130,7 @@ public abstract class SimpleProxyableCommand : PageCommand { private SourceProxy proxy; private Gee.HashSet<SourceProxy> proxies = new Gee.HashSet<SourceProxy>(); - public SimpleProxyableCommand(Proxyable proxyable, string name, string explanation) { + protected SimpleProxyableCommand(Proxyable proxyable, string name, string explanation) { base (name, explanation); proxy = proxyable.get_proxy(); @@ -183,7 +183,7 @@ public abstract class SimpleProxyableCommand : PageCommand { public abstract class SinglePhotoTransformationCommand : SingleDataSourceCommand { private PhotoTransformationState state; - public SinglePhotoTransformationCommand(Photo photo, string name, string explanation) { + protected SinglePhotoTransformationCommand(Photo photo, string name, string explanation) { base(photo, name, explanation); state = photo.save_transformation_state(); @@ -207,7 +207,7 @@ public abstract class GenericPhotoTransformationCommand : SingleDataSourceComman private PhotoTransformationState original_state = null; private PhotoTransformationState transformed_state = null; - public GenericPhotoTransformationCommand(Photo photo, string name, string explanation) { + protected GenericPhotoTransformationCommand(Photo photo, string name, string explanation) { base(photo, name, explanation); } @@ -282,7 +282,7 @@ public abstract class MultipleDataSourceCommand : PageCommand { private Gee.ArrayList<DataSource> acted_upon = new Gee.ArrayList<DataSource>(); private Gee.HashSet<SourceCollection> hooked_collections = new Gee.HashSet<SourceCollection>(); - public MultipleDataSourceCommand(Gee.Iterable<DataView> iter, string progress_text, + protected MultipleDataSourceCommand(Gee.Iterable<DataView> iter, string progress_text, string undo_progress_text, string name, string explanation) { base(name, explanation); @@ -414,7 +414,7 @@ public abstract class MultipleDataSourceAtOnceCommand : PageCommand { private Gee.HashSet<DataSource> sources = new Gee.HashSet<DataSource>(); private Gee.HashSet<SourceCollection> hooked_collections = new Gee.HashSet<SourceCollection>(); - public MultipleDataSourceAtOnceCommand(Gee.Collection<DataSource> sources, string name, + protected MultipleDataSourceAtOnceCommand(Gee.Collection<DataSource> sources, string name, string explanation) { base (name, explanation); @@ -490,7 +490,7 @@ public abstract class MultiplePhotoTransformationCommand : MultipleDataSourceCom private Gee.HashMap<Photo, PhotoTransformationState> map = new Gee.HashMap< Photo, PhotoTransformationState>(); - public MultiplePhotoTransformationCommand(Gee.Iterable<DataView> iter, string progress_text, + protected MultiplePhotoTransformationCommand(Gee.Iterable<DataView> iter, string progress_text, string undo_progress_text, string name, string explanation) { base(iter, progress_text, undo_progress_text, name, explanation); @@ -963,7 +963,7 @@ public abstract class MovePhotosCommand : Command { protected RealMovePhotosCommand real_command; - public MovePhotosCommand(string name, string explanation) { + protected MovePhotosCommand(string name, string explanation) { base(name, explanation); } |