Hi development team. I was have been updating my Bibtex plugin to work with v0.8 and i have some queries about the "correct way" to do things. (side question, is there a deadline for me to merge with the code for the 0.8 release?)
I want to populate my Do universe with Items that represent Files, i also want to attach a small bit of meta data. I have gotten this to work with the following interfaces public class BibtexItem : Item, IFileItem, IOpenableItem This is fine, however i have copied and pasted 4 functions directly from Do.Platform.Linux/src/Do.Universe/FileItem.cs namely, Uri, Open, Icon (this is awesome) and mimetype. this means that in my plugin i am importing using Do.Universe.Linux; using Gnome; using Mono.Unix; which i dont think i should have to, (such a simple plugin should be system agnostic, no?) another way would be for me to extend the FileItem class but this is in Do.Platform.Linux which i couldnt (within 10 minutes) figure out which assembly i needed to Reference. and also i would still have to import Do.Platform.Linux which i think i shouldnt have to do. am i thinking about this the correct way? if not how should i be doing things? is there some classes i have not noticed? other i would suggest for a future version that there be a class in Do.Platform called FileItem that checked the system type and called up the appropriate system dependent code. On a similar note, the interface IConfigurable seems to be in Do.Platform.Linux to me that seems odd that it is in a system dependant package and not in Do.Platform for example. These are just some observations from someone not too familiar with the code and i have to admit i dont have time to program much these days so my ideas must be a bit wrong. any advice would be greatly appreciated. Thanks, Niall Murphy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GNOME Do" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gnome-do?hl=en -~----------~----~----~----~------~----~------~--~---
