Difference between revisions of "Development:Third-Party Preference Panes"
Jump to navigation
Jump to search
(→How do I build a prefPane for Camino?: does that sound better?) |
(link to stuart's article about how not to write a camino haxie) |
||
Line 2: | Line 2: | ||
==How do I build a prefPane for Camino?== | ==How do I build a prefPane for Camino?== | ||
+ | * When thinking about building a third-party add-on for Camino, please keep the principles laid out in [http://www.escapedthoughts.com/weblog/camino/P070227caminohacks.writeback this blog post] in mind; they will save you and the Camino team a lot of grief in the future. | ||
+ | |||
* In order to make your prefPane as visually consistent with the Camino UI experience as possible, we suggest using the guidelines laid out in [[Development:Editing_Nibs]] when designing the UI of your prefPane. | * In order to make your prefPane as visually consistent with the Camino UI experience as possible, we suggest using the guidelines laid out in [[Development:Editing_Nibs]] when designing the UI of your prefPane. | ||
Revision as of 10:37, 9 March 2007
This page is very much under development
Contents
How do I build a prefPane for Camino?
- When thinking about building a third-party add-on for Camino, please keep the principles laid out in this blog post in mind; they will save you and the Camino team a lot of grief in the future.
- In order to make your prefPane as visually consistent with the Camino UI experience as possible, we suggest using the guidelines laid out in Development:Editing_Nibs when designing the UI of your prefPane.
Error messages
Undefined Symbols
it compiles ok, but if it's in deployment mode I get an undefined symbol error
- Get info on your target (or project) and set "Other Linker Flags" to "-undefined dynamic_lookup" for all configurations
- You only need the appropriate header files (the header files for the classes you're using/subclassing) if you're using -undefined dynamic_lookup; you don't need to link against the Gecko code (often, this is just PrefPaneBase.h)
Camino doesn't like my prefPane; it says it has to have a 'MOZC' signature
- Get Info on your prefpane target
- Go to "Properties"
- Change the "Creator" field to "MOZC" (without quotes)