Ejemplo n.º 1
0
bool Importer::Terminate()
{
   WriteImportItems();
   ImportPluginList{}.swap( mImportPluginList );
   UnusableImportPluginList{}.swap( mUnusableImportPluginList );

   return true;
}
Ejemplo n.º 2
0
Importer::~Importer()
{
   WriteImportItems();
   mImportPluginList->DeleteContents(true);
   delete mImportPluginList;
   mUnusableImportPluginList->DeleteContents(true);//JKC
   delete mUnusableImportPluginList;
   if (this->mExtImportItems != NULL)
      delete this->mExtImportItems;
}