예제 #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));
 }