Пример #1
0
ImageExporter::FormatList MagickImageExporter::supportedFormats() const {
    // uliss: FIXME this is stupid
    FormatList formats;
    formats.push_back(FORMAT_GIF);
    formats.push_back(FORMAT_JPEG);
    formats.push_back(FORMAT_PNG);
    return formats;
}
Пример #2
0
	FormatList Profile::getHIDWiegandFormatList()
	{
		FormatList formats;

		formats.push_back(boost::shared_ptr<Wiegand26Format>(new Wiegand26Format()));
		formats.push_back(boost::shared_ptr<Wiegand34Format>(new Wiegand34Format()));
		formats.push_back(boost::shared_ptr<Wiegand34WithFacilityFormat>(new Wiegand34WithFacilityFormat()));
		formats.push_back(boost::shared_ptr<Wiegand37Format>(new Wiegand37Format()));
		formats.push_back(boost::shared_ptr<Wiegand37WithFacilityFormat>(new Wiegand37WithFacilityFormat()));
		formats.push_back(boost::shared_ptr<DataClockFormat>(new DataClockFormat()));
		formats.push_back(boost::shared_ptr<Corporate1000Format>(new Corporate1000Format()));

		return formats;
	}
Пример #3
0
	FormatList ProxProfile::getSupportedFormatList()
	{
		FormatList list = Profile::getHIDWiegandFormatList();
		list.push_back(boost::shared_ptr<RawFormat>(new RawFormat()));
		return list;
	}