Exemple #1
0
 ArchivePlugin::Ptr CreateArchivePlugin(const String& id, uint_t caps, Formats::Packed::Decoder::Ptr decoder)
 {
   const Plugin::Ptr description = CreatePluginDescription(id, decoder->GetDescription(), caps | Capabilities::Category::CONTAINER);
   return MakePtr<CommonArchivePlugin>(description, decoder);
 }
 ArchivePlugin::Ptr CreateArchivePlugin(const String& id, uint_t caps, Formats::Packed::Decoder::Ptr decoder)
 {
   const Plugin::Ptr description = CreatePluginDescription(id, decoder->GetDescription(), caps);
   return ArchivePlugin::Ptr(new CommonArchivePlugin(description, decoder));
 }