| 39 LDDocument* createNew(); |
39 LDDocument* createNew(); |
| 40 LDDocument* findDocumentByName (QString name); |
40 LDDocument* findDocumentByName (QString name); |
| 41 QString findDocumentPath (QString relpath, bool subdirs); |
41 QString findDocumentPath (QString relpath, bool subdirs); |
| 42 LDDocument* getDocumentByName (QString filename); |
42 LDDocument* getDocumentByName (QString filename); |
| 43 bool isSafeToCloseAll(); |
43 bool isSafeToCloseAll(); |
| 44 void loadFileContents(QIODevice* fp, Model& model, int* numWarnings, bool* ok); |
|
| 45 void loadLogoedStuds(); |
44 void loadLogoedStuds(); |
| 46 LDDocument* openDocument (QString path, bool search, bool implicit, LDDocument* fileToOverride = nullptr, |
45 LDDocument* openDocument (QString path, bool search, bool implicit, LDDocument* fileToOverride = nullptr); |
| 47 bool* aborted = nullptr); |
|
| 48 QFile* openLDrawFile (QString relpath, bool subdirs, QString* pathpointer); |
46 QFile* openLDrawFile (QString relpath, bool subdirs, QString* pathpointer); |
| 49 void openMainModel (QString path); |
47 void openMainModel (QString path); |
| 50 bool preInline (LDDocument* doc, Model& model, bool deep, bool renderinline); |
48 bool preInline (LDDocument* doc, Model& model, bool deep, bool renderinline); |
| 51 |
49 |
| 52 static const QStringList specialSubdirectories; |
50 static const QStringList specialSubdirectories; |