effectprocess 추가

git-svn-id: svn://192.168.0.12/source@306 8346c931-da38-4b9b-9d4c-e48b93cbd075
This commit is contained in:
admin
2016-10-28 10:10:05 +00:00
parent 6d62c97b54
commit 9b479f3e9a
19 changed files with 560 additions and 129 deletions

View File

@@ -31,7 +31,7 @@ enum class E_CRAWL_STATE:unsigned short
NO
};
enum class E_ERROR_CODE:unsigned short
enum class E_ERROR_CODE
{
DB_OPEN_ERROR = 0,
DB_FULL_ERROR,
@@ -161,6 +161,58 @@ enum E_LOG_COLUMN
ERROR_MSG
};
enum E_COLUMN
{
PLATFORM_NAME = 0,
PLATFORM_FORM,
PLATFORM_TITLE,
ARTICLE_FORM,
ARTICLE_PARENT,
ARTICLE_ID,
ARTICLE_NICKNAME,
ARTICLE_TITLE,
ARTICLE_DATA,
ARTICLE_URL,
ARTICLE_HIT,
ARTICLE_DATE,
ARTICLE_ORDER,
ARTICLE_PROFILE,
ARTICLE_PROFILEURL,
PLATFORM_ID,
KEYWORD_ID,
REPLY_URL,
ETC,
TOTAL_COUNT,
};
struct DataForm
{
QString data[TOTAL_COUNT];
};
struct EffectData
{
DataForm body;
QVector<DataForm> reply;
};
struct State_s1_effect
{
int event_num;
QString view_buzz;
QString replybuzz;
int replycount;
int likecount;
int viewcount;
int interactioncount;
int reachcount;
int engagementcount;
State_s1_effect():event_num(0),replycount(0),likecount(0),viewcount(0),
interactioncount(0),reachcount(0),engagementcount(0)
{
}
};
#endif // SUTILCLASS