Re: How to write a plugin?
On Jul 1, 2012, at 10:18 PM, cwd wrote:
> I've wanted to build QS and write plugins for a while. I've finally got Lion installed and the latest XCode
and I've been able to get QS built as well as the Flashlight Interface plugin, but when I try and build the
OmniWeb module I get a lot of errors (screenshot attached). Do you have any suggestions on where I can find
some notes about getting started with plugins?
I assume you know about the reference?
http://projects.skurfer.com/QuicksilverPlug-inReference.mdown
Looks like Patrick fixed that one, but “duplicate definition” errors can be cleared up by just
cleaning (⇧⌘K) and building again. I think they result from #import statements for things that are
already imported by the xcconfig settings. Most times, the plug-in doesn’t need to import anything
from Quicksilver or OS X itself, but many do.
> What I'm actually trying to do is expand upon your QSDownloads / QSMostRecentDownloadProxy (I believe
that used to be part of the Proxy Objects plugin which has been pulled into the QS core)
Proxy objects actually come from a variety of plug-ins and always have. It’s confusing and we’ve made a
note of that. https://github.com/quicksilver/Quicksilver/issues/757
> and set it up so I can use the a "most recent" proxy object for more than just the downloads folder. I think I
can do that by modifying the core code, but of course it would be better if I can figure out how to do it a via a plugin.
Yes, the Latest Download proxy is provided by the Core Support plug-in, which is bundled with the
application. Whether or not your changes should go there depends on what they are.
It’s always nice to see more people taking an interest in making plug-ins. Let me know if you have any
questions. (As Patrick said, probably best to do it on the dev list.)
--
--
Rob McBroom
<http://www.skurfer.com/>
-- You received this message because you are subscribed to the Google Groups Quicksilver group. To post to
this group, send email to
blacktree-quicksilver@... To unsubscribe from
this group, send email to
blacktree-quicksilver+unsubscribe@... For
more options, visit this group at https://groups.google.com/d/forum/blacktree-quicksilver?hl=en