2012-12-08 13:44:03 +00:00
|
|
|
#ifndef CSM_DOC_STATE_H
|
|
|
|
#define CSM_DOC_STATE_H
|
|
|
|
|
|
|
|
namespace CSMDoc
|
|
|
|
{
|
2014-05-10 10:04:36 +00:00
|
|
|
enum State
|
|
|
|
{
|
|
|
|
State_Modified = 1,
|
|
|
|
State_Locked = 2,
|
|
|
|
State_Operation = 4,
|
2014-09-02 09:56:35 +00:00
|
|
|
State_Running = 8,
|
2012-12-08 13:44:03 +00:00
|
|
|
|
2014-09-02 09:56:35 +00:00
|
|
|
State_Saving = 16,
|
|
|
|
State_Verifying = 32,
|
|
|
|
State_Compiling = 64, // not implemented yet
|
|
|
|
State_Searching = 128, // not implemented yet
|
|
|
|
State_Loading = 256 // pseudo-state; can not be encountered in a loaded document
|
2014-05-10 10:04:36 +00:00
|
|
|
};
|
2012-12-08 13:44:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|