summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-19 23:20:45 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-19 23:20:45 (GMT)
commit222b5a2388355c0bc2166e92a741e2130a96690a (patch)
tree6d8c1712947a47beeedc9127906d0de83f7d7648
parent33328f720d0549fce6ea73756787b36fbfb01d90 (diff)
Add new class to search full job
-rw-r--r--webengineviewer/src/CMakeLists.txt2
-rw-r--r--webengineviewer/src/checkphishingurl/searchfullhashjob.cpp37
-rw-r--r--webengineviewer/src/checkphishingurl/searchfullhashjob.h39
3 files changed, 78 insertions, 0 deletions
diff --git a/webengineviewer/src/CMakeLists.txt b/webengineviewer/src/CMakeLists.txt
index c1a4329..b566cba 100644
--- a/webengineviewer/src/CMakeLists.txt
+++ b/webengineviewer/src/CMakeLists.txt
@@ -37,6 +37,7 @@ set(libwebengineviewer_checkphishingurl_SRCS
checkphishingurl/checkphishingurlfromlocaldatabasejob.cpp
checkphishingurl/localdatabasemanager.cpp
checkphishingurl/checkphishingurlutil.cpp
+ checkphishingurl/searchfullhashjob.cpp
)
set(libwebengineviewer_interceptor_SRCS
@@ -153,6 +154,7 @@ ecm_generate_headers(WebEngineViewer_Camelcasewebengine_checkurl_HEADERS
CreatePhishingUrlDataBaseJob
CheckPhishingUrlFromLocalDataBaseJob
LocalDataBaseManager
+ SearchFullHashJob
REQUIRED_HEADERS WebEngineViewer_webengine_checkurl_HEADERS
PREFIX WebEngineViewer
RELATIVE checkphishingurl
diff --git a/webengineviewer/src/checkphishingurl/searchfullhashjob.cpp b/webengineviewer/src/checkphishingurl/searchfullhashjob.cpp
new file mode 100644
index 0000000..41307e3
--- /dev/null
+++ b/webengineviewer/src/checkphishingurl/searchfullhashjob.cpp
@@ -0,0 +1,37 @@
+/*
+ Copyright (C) 2016 Laurent Montel <montel@kde.org>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
+*/
+
+#include "searchfullhashjob.h"
+using namespace WebEngineViewer;
+
+SearchFullHashJob::SearchFullHashJob(QObject *parent)
+ : QObject(parent)
+{
+
+}
+
+SearchFullHashJob::~SearchFullHashJob()
+{
+
+}
+
+void SearchFullHashJob::start()
+{
+
+}
diff --git a/webengineviewer/src/checkphishingurl/searchfullhashjob.h b/webengineviewer/src/checkphishingurl/searchfullhashjob.h
new file mode 100644
index 0000000..463644c
--- /dev/null
+++ b/webengineviewer/src/checkphishingurl/searchfullhashjob.h
@@ -0,0 +1,39 @@
+/*
+ Copyright (C) 2016 Laurent Montel <montel@kde.org>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
+*/
+
+#ifndef SEARCHFULLHASHJOB_H
+#define SEARCHFULLHASHJOB_H
+
+#include <QObject>
+#include "webengineviewer_export.h"
+
+namespace WebEngineViewer
+{
+class WEBENGINEVIEWER_EXPORT SearchFullHashJob : public QObject
+{
+ Q_OBJECT
+public:
+ explicit SearchFullHashJob(QObject *parent = Q_NULLPTR);
+ ~SearchFullHashJob();
+ void start();
+
+};
+}
+
+#endif // SEARCHFULLHASHJOB_H