1
// ImageFileItem.cs created with MonoDevelop
2
// User: dave at 8:27 PM 9/23/2007
4
// To change standard headers go to Edit->Preferences->Coding->Standard Headers
12
public class ImageFileItem : FileItem
15
* This was not being called because no other class references this
16
* class. I am guessing this will be called when FileItem subclasses
17
* are loaded from plugins. For now this code is moved to FileItem.cs
21
static string[] imageExtentions = { "jpg", "jpeg", "png", "gif" };
23
static ImageFileItem ()
25
foreach (string ext in imageExtentions) {
26
FileItem.RegisterExtensionForFileItemType (ext, typeof (ImageFileItem));
31
public ImageFileItem (string uri)
36
// ImageFileItems use themselves as their icons!
37
public override string Icon {