Huggle
build:^490^dce1e5c
Main Page
Related Pages
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Pages
hooks.hpp
1
//This program is free software: you can redistribute it and/or modify
2
//it under the terms of the GNU General Public License as published by
3
//the Free Software Foundation, either version 3 of the License, or
4
//(at your option) any later version.
5
6
//This program is distributed in the hope that it will be useful,
7
//but WITHOUT ANY WARRANTY; without even the implied warranty of
8
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9
//GNU General Public License for more details.
10
11
12
#ifndef HOOKS_H
13
#define HOOKS_H
14
15
#include <QString>
16
#include "wikipage.hpp"
17
#include "iextension.hpp"
18
#include "exception.hpp"
19
#include "wikiuser.hpp"
20
#include "wikiedit.hpp"
21
22
namespace
Huggle
23
{
24
class
WikiUser;
25
26
//! Hooks that can be used to attach some 3rd code to existing functions
27
class
Hooks
28
{
29
public
:
30
static
void
EditPreProcess(
WikiEdit
*Edit);
31
static
void
EditPostProcess(
WikiEdit
*Edit);
32
static
void
OnGood(
WikiEdit
*Edit);
33
static
void
OnRevert(
WikiEdit
*Edit);
34
static
void
OnWarning(
WikiUser
*User);
35
static
void
Suspicious(
WikiEdit
*Edit);
36
static
void
BadnessScore(
WikiUser
*User,
int
Score);
37
};
38
}
39
40
#endif // HOOKS_H
Huggle::WikiEdit
Wiki edit.
Definition:
wikiedit.hpp:67
Huggle::WikiUser
User.
Definition:
wikiuser.hpp:27
Huggle::Hooks
Hooks that can be used to attach some 3rd code to existing functions.
Definition:
hooks.hpp:27
repo
huggle3-qt-lx
huggle
hooks.hpp
Generated on Mon Nov 11 2013 08:00:09 for Huggle by
1.8.5