You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/huggle_core/wikiedit.hpp
+13-11Lines changed: 13 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,8 @@ namespace Huggle
38
38
enum WEStatus
39
39
{
40
40
StatusNone,
41
-
StatusProcessed,
42
-
StatusPostProcessed
41
+
StatusPreProcessed,
42
+
StatusProcessed
43
43
};
44
44
45
45
classQuery;
@@ -71,9 +71,10 @@ namespace Huggle
71
71
72
72
//! That means each edit has has one of 3 basic states in its lifecycle:
73
73
//! None - edit was just created and is not suitable for use elsewhere in the program as many attributes may be missing, these attributes are inserted during processing and post processing
74
-
//! Processed - edit was processed, that means the basic informations about the edit were properly set by various helper functions.
75
-
//! Processing is a very quick operation, it happens within the program, no external API calls are needed. It fills up most of essential properties, but not all of them.
76
-
//! Postprocessed - edit was processed by the processor thread which handles various API calls asynchronously in order to fetch all available detailed information about the edit and the detailed information.
74
+
//! PreProcessed - edit was preprocessed, that means the basic informations about the edit were properly set by various helper functions.
75
+
//! Preprocessing is only a very quick operation, it happens within the main thread, no external API calls are needed. It fills up only most of the essential properties, but not all of them.
76
+
//! Processed - edit was fully processed by the edit processing thread which handles various API calls, and regex parsing asynchronously in order to fetch all available detailed
77
+
//! information about the edit and the detailed information.
77
78
78
79
//! Edits are heavily cached across Huggle in order to avoid unnecessary API calls
79
80
@@ -103,7 +104,7 @@ namespace Huggle
103
104
QString GetFullUrl();
104
105
boolIsRangeOfEdits();
105
106
//! Return true in case this edit was post processed already
106
-
boolIsPostProcessed();
107
+
boolIsProcessed();
107
108
//! If edit is ready to be added to queue
108
109
boolIsReady();
109
110
//! Processes all score words in text
@@ -163,7 +164,7 @@ namespace Huggle
163
164
long Score = 0;
164
165
//! This score is used to determine if edit was done in good faith, even if it wasn't OK
165
166
long GoodfaithScore = 0;
166
-
//! Function to call when post processing of edit is finished
167
+
//! Function to call when processing of edit is finished
0 commit comments