#include <gtk/gtk.h>
#include <scroom/scroominterface.hh>
Go to the source code of this file.
◆ create()
185 throw std::invalid_argument(
"Unable to create requested presentation");
Referenced by BOOST_AUTO_TEST_CASE(), Operations1bpp::cache(), Operations8bpp::cache(), Operations24bpp::cache(), Operations::cache(), OperationsColormapped::cache(), Operations1bppClipped::cacheZoom(), on_new_activate(), anonymous_namespace{tiledbitmappresentation.cc}::OpenTiledBitmapAsPresentation::open(), TransparentOverlayViewInfo::redraw(), TEST(), and Scroom::TiledBitmap::ToOpenPresentationInterface().
◆ destroyGtkFileFilterList()
| void destroyGtkFileFilterList |
( |
std::list< GtkFileFilter * > & |
l | ) |
|
50 GtkFileFilter* f = l.front();
◆ load() [1/2]
| void load |
( |
const GtkFileFilterInfo & |
info | ) |
|
◆ load() [2/2]
| void load |
( |
const std::string & |
filename | ) |
|
◆ loadPresentation() [1/2]
196 static std::map<boost::filesystem::path, PresentationInterface::WeakPtr> loadedPresentations;
198 const std::map<OpenPresentationInterface::Ptr, std::string>& openPresentationInterfaces =
201 #ifdef HAVE_BOOST_FILESYSTEM_CANONICAL
202 boost::filesystem::path key(canonical(boost::filesystem::path(info.filename)));
204 boost::filesystem::path
const key(absolute(boost::filesystem::path(info.filename)));
211 for(
auto const& cur: openPresentationInterfaces)
213 std::list<GtkFileFilter*>
const filters = cur.first->getFilters();
216 presentation = cur.first->open(info.filename);
220 loadedPresentations[key] = presentation;
233 throw std::invalid_argument(
"Don't know how to load presentation " + std::string(info.filename));
◆ loadPresentation() [2/2]