On Mon, Sep 26, 2011 at 12:07 PM, Olaf van der Spek <olafvds...@gmail.com> wrote: > On Mon, Sep 26, 2011 at 10:05 AM, Henrik Ingo <henrik.i...@avoinelama.fi> > wrote: >> What should we use for namespaces for plugin code? I took example from >> a plugin that is recent and written by a Drizzle authority figure: >> json_server. It uses this: > > Hi, > >> namespace drizzle_plugin >> { >> namespace json_server >> { > > This was used in the past. > >> You use this: >> namespace drizzled { >> namespace plugin { > > Most of the core code now uses this form. See also > http://wiki.drizzle.org/Coding_Standards#Namespaces_2
Ok, but that says "For classes in the drizzled/ directory..." Mine and Daniel's plugins are in plugins/ directory (*not* drizzled/plugins). Should we still use the same drizzled::plugin namespace? henrik -- henrik.i...@avoinelama.fi +358-40-8211286 skype: henrik.ingo irc: hingo www.openlife.cc My LinkedIn profile: http://www.linkedin.com/profile/view?id=9522559 _______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : drizzle-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp