nsPluginsDir::nsPluginsDir() {   nsSpecialSystemDirectory appdir( nsSpecialSystemDirectory::OS_CurrentProcessDirectory); appdir += "plugins";  if( !appdir.Exists()) appdir.CreateDirectory();  *(nsFileSpec*)this = appdir; }
nsPluginsDir(nsFileSpec plugDir) : nsFileSpec(plugDir) {  }
nsPluginsDir::nsPluginsDir(){   // XXX This isn't right for the embedded case, but it's as close   //     as we can do right now.   nsSpecialSystemDirectory appdir( nsSpecialSystemDirectory::OS_CurrentProcessDirectory);   appdir += "plugins";   if( !appdir.Exists())      appdir.CreateDirectory();   *(nsFileSpec*)this = appdir;}