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