示例#1
0
文件: packed.cpp 项目: djdron/zxtune
 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);
 }
示例#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);
   return ArchivePlugin::Ptr(new CommonArchivePlugin(description, decoder));
 }