19 #ifndef OST_GUI_FILE_LOADER_HH
20 #define OST_GUI_FILE_LOADER_HH
41 namespace ost {
namespace gui {
46 enum ErrorType { DEFAULT = 0,
60 static void RunScript(
const QString& filename);
61 static void LoadPDB(
const QString& filename,
const QString& selection=QString());
62 static void AddToScene(
const QString& filename,
gfx::GfxObjP obj);
64 static gfx::GfxObjP NoHandlerFound(
const QString& filename);
70 static QList<img::ImageHandle> loaded_images_;
74 static void LoadObject(
const QString& filename,
const QString& selection=QString());
75 static void LoadFrom(
const QString&
id,
const QString& site=QString(),
const QString& selection=QString());
76 static std::vector<String> GetSiteLoaderIdents();