1 #ifndef CSM_DOC_LOADER_H
2 #define CSM_DOC_LOADER_H
9 #include <QWaitCondition>
void message(CodeContainer &code, Literals &literals, const std::string &message, int buttons)
Definition: generator.cpp:537
static const struct @2 signals[]
QWaitCondition & hasThingsToDo()
Definition: loader.cpp:22
QTimer * mTimer
Definition: loader.hpp:32
void abortLoading(CSMDoc::Document *document)
Definition: loader.cpp:133
void nextStage(CSMDoc::Document *document, const std::string &name, int totalRecords)
Stage()
Definition: loader.cpp:10
Definition: loader.hpp:15
void documentLoaded(Document *document)
The ownership of document is not transferred.
bool mRecordsLeft
Definition: loader.hpp:23
void stop()
Definition: loader.cpp:27
void documentNotLoaded(Document *document, const std::string &error)
Loader()
Definition: loader.cpp:13
QWaitCondition mThingsToDo
Definition: loader.hpp:29
Definition: document.hpp:57
void loadMessage(CSMDoc::Document *document, const std::string &message)
Non-critical load error or warning.
Definition: loader.hpp:19
int mRecordsLoaded
Definition: loader.hpp:22
void nextRecord(CSMDoc::Document *document, int records)
int mFile
Definition: loader.hpp:21
void loadDocument(CSMDoc::Document *document)
The ownership of document is not transferred.
Definition: loader.cpp:128
QMutex mMutex
Definition: loader.hpp:28
std::vector< std::pair< Document *, Stage > > mDocuments
Definition: loader.hpp:30
bool mShouldStop
Definition: loader.hpp:33
void load()
Definition: loader.cpp:32
const char * name
Definition: crashcatcher.cpp:59