#ifndef COMMON_H
#define COMMON_H

enum E_FILTER_TYPE
{
    E_FILTER_TYPE_DATE=0,
    E_FILTER_TYPE_SEARCH,
    E_FILTER_TYPE_LENGTH,
    E_FILTER_TYPE_REPLACE,
    E_FILTER_TYPE_COUNTER,
};

enum E_ARTICLE
{
    E_ARTICLE_NONE = -1,
    E_ARTICLE_ALL = 0,
    E_ARTICLE_BODY = 1,
    E_ARTICLE_REPLY = 2,
};

enum E_SEARCH_KEYWORD
{
    E_SEARCH_KEYWORD_OR = 0,
    E_SEARCH_KEYWORD_AND,
    E_SEARCH_KEYWORD_CELL_DELETE_OR,
    E_SEARCH_KEYWORD_CELL_DELETE_AND,
};

enum E_SEARCH_METHOD
{
    E_SEARCH_METHOD_SENTENCE=0,
    E_SEARCH_METHOD_SPACE,
};

enum E_LENGTH_COMP
{
    E_LENGTH_COMP_GREATER = 0,
    E_LENGTH_COMP_LESS,
    E_LENGTH_COMP_EQUAL,
};

enum E_REPLACE
{
    E_REPLACE_SENTENCE=0,
    E_REPLACE_SPACE,
};

enum E_PROCSS_TYPE
{
    E_PROCSS_TYPE_LOAD = 0,
    E_PROCSS_TYPE_CATEGORY_MAKE,
    E_PROCSS_TYPE_SEND,
    E_PROCSS_TYPE_INFLUENCE_COUNT,
    E_PROCSS_TYPE_SPAMMERS_COUNT,
    E_PROCSS_TYPE_POWER_CAFE_COUNT,
};

#define D_NOT_SELECT -1

#include <QStringList>

struct SKeyword
{
    int m_nCatalog;
    int m_nKeyword;
    QStringList m_strListKeyword;
};

#endif // COMMON_H
