KVIrc 5.2.0
Developer APIs
KviUserAction.h
Go to the documentation of this file.
1#ifndef _KVI_USERACTION_H_
2#define _KVI_USERACTION_H_
3//=============================================================================
4//
5// File : KviUserAction.h
6// Creation date : Tue Mar 18 2003 13:36:12 by Szymon Stefanek
7//
8// This file is part of the KVIrc IRC client distribution
9// Copyright (C) 2003-2010 Szymon Stefanek (pragma at kvirc dot net)
10//
11// This program is FREE software. You can redistribute it and/or
12// modify it under the terms of the GNU General Public License
13// as published by the Free Software Foundation; either version 2
14// of the License, or (at your option) any later version.
15//
16// This program is distributed in the HOPE that it will be USEFUL,
17// but WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19// See the GNU General Public License for more details.
20//
21// You should have received a copy of the GNU General Public License
22// along with this program. If not, write to the Free Software Foundation,
23// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24//
25//=============================================================================
26
56#include "kvi_settings.h"
57
58#define KVI_USERACTION_ACTION 0
59#define KVI_USERACTION_PRIVMSG 1
60#define KVI_USERACTION_NOTICE 2
61#define KVI_USERACTION_TOPIC 3
62#define KVI_USERACTION_KICK 4
63#define KVI_USERACTION_NICK 5
64#define KVI_USERACTION_CHANMODE 6
65#define KVI_USERACTION_JOIN 7
66#define KVI_USERACTION_PART 8
67
68#define KVI_NUM_USERACTION_TYPES 9
69
70#define KVI_MAX_TEMPERATURE 150
71#define KVI_HOT_TEMPERATURE 100
72#define KVI_HALF_HOT_TEMPERATURE 40
73#define KVI_MID_TEMPERATURE 0
74#define KVI_HALF_COLD_TEMPERATURE -40
75#define KVI_COLD_TEMPERATURE -100
76#define KVI_MIN_TEMPERATURE -150
77
78//
79// ACTION 30
80// NOTICE 25
81// PRIVMSG 25
82// TOPIC 20
83// KICK 10
84// OP 5
85// VOICE 5
86// DEOP -5
87// DEVOICE -5
88// UNBAN -15
89// BAN -20
90// CHANMODE -25
91// NICK -30
92// JOIN -30
93//
94
95extern KVIRC_API int kvi_getUserActionTemperature(unsigned int uIdx);
96
97#endif // _KVI_USERACTION_H_
KVIRC_API int kvi_getUserActionTemperature(unsigned int uIdx)
Definition KviUserAction.cpp:39
This file contains compile time settings.
#define KVIRC_API
Definition kvi_settings.h:127