blob: 9166fa926cc794d0c47601af71f4ef0c41b48dea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
/* Copyright 2016 Software Freedom Conservancy Inc.
*
* This software is licensed under the GNU Lesser General Public License
* (version 2.1 or later). See the COPYING file in this distribution.
*/
public class ThumbnailView : DataView {
public virtual signal void thumbnail_altered() {
}
public ThumbnailView(ThumbnailSource source) {
base(source);
}
public virtual void notify_thumbnail_altered() {
// fire signal on self
thumbnail_altered();
}
}
public class PhotoView : ThumbnailView {
public PhotoView(PhotoSource source) {
base(source);
}
public PhotoSource get_photo_source() {
return (PhotoSource) get_source();
}
}
public class VideoView : ThumbnailView {
public VideoView(VideoSource source) {
base(source);
}
public VideoSource get_video_source() {
return (VideoSource) get_source();
}
}
public class EventView : ThumbnailView {
public EventView(EventSource source) {
base(source);
}
public EventSource get_event_source() {
return (EventSource) get_source();
}
}
|