+ return i->second;
+ }
+
+
+ //========================================================================
+ /// Add the files to the tree handler
+ void Gimmick::AddFiles(const std::string& d,
+ const std::vector<std::string>& filenames)
+ {
+ GimmickMessage(2,"Adding files to '"<<d<<"'"<<std::endl);
+
+ mImageAdder.SetTreeHandler(GetTreeHandler(d));
+ mImageAdder.AddFiles(filenames);
+