Example #1
0
 ArchivePlugin::Ptr CreateContainerPlugin(const String& id, uint_t caps, Formats::Archived::Decoder::Ptr decoder)
 {
   const Plugin::Ptr description = CreatePluginDescription(id, decoder->GetDescription(), caps);
   return ArchivePlugin::Ptr(new ArchivedContainerPlugin(description, decoder));
 }
Example #2
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);
 }
Example #3
0
 RawScaner()
   : Description(CreatePluginDescription(ID, INFO, CAPS))
 {
 }