summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-06 19:50:36 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-06 19:50:36 (GMT)
commit6a74866b315dafaf6df157acdb5d2e96deacad57 (patch)
tree0d6851f7650ce845d4be0ea37715470424853271
parentf795f669adc73b92e26cd769d8c574cb31ca9169 (diff)
Start to create lib for import/export plugins
-rw-r--r--CMakeLists.txt1
-rw-r--r--kaddressbookimportexport/CMakeLists.txt1
-rw-r--r--kaddressbookimportexport/src/CMakeLists.txt1
-rw-r--r--kaddressbookimportexport/src/kaddressbookimportexportplugin.cpp25
-rw-r--r--kaddressbookimportexport/src/kaddressbookimportexportplugin.h31
-rw-r--r--kdepim-apps-lib.categories1
6 files changed, 60 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1f90a5e..0874a75 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -61,6 +61,7 @@ add_subdirectory(libfollowupreminder)
add_subdirectory(libkdepimdbusinterfaces)
add_subdirectory(libsendlater)
add_subdirectory(kaddressbookgrantlee)
+add_subdirectory(kaddressbookimportexport)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
install( FILES kdepim-apps-lib.renamecategories kdepim-apps-lib.categories DESTINATION ${KDE_INSTALL_CONFDIR} )
diff --git a/kaddressbookimportexport/CMakeLists.txt b/kaddressbookimportexport/CMakeLists.txt
new file mode 100644
index 0000000..febd4f0
--- /dev/null
+++ b/kaddressbookimportexport/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory(src)
diff --git a/kaddressbookimportexport/src/CMakeLists.txt b/kaddressbookimportexport/src/CMakeLists.txt
new file mode 100644
index 0000000..6c7957a
--- /dev/null
+++ b/kaddressbookimportexport/src/CMakeLists.txt
@@ -0,0 +1 @@
+add_definitions(-DTRANSLATION_DOMAIN=\"libkaddressbookimportexport\")
diff --git a/kaddressbookimportexport/src/kaddressbookimportexportplugin.cpp b/kaddressbookimportexport/src/kaddressbookimportexportplugin.cpp
new file mode 100644
index 0000000..65f6f4e
--- /dev/null
+++ b/kaddressbookimportexport/src/kaddressbookimportexportplugin.cpp
@@ -0,0 +1,25 @@
+/*
+ Copyright (C) 2016 Montel Laurent <montel@kde.org>
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This program 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
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; see the file COPYING. If not, write to
+ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
+*/
+
+#include "kaddressbookimportexportplugin.h"
+
+KAddressBookImportExportPlugin::KAddressBookImportExportPlugin()
+{
+
+}
diff --git a/kaddressbookimportexport/src/kaddressbookimportexportplugin.h b/kaddressbookimportexport/src/kaddressbookimportexportplugin.h
new file mode 100644
index 0000000..035548f
--- /dev/null
+++ b/kaddressbookimportexport/src/kaddressbookimportexportplugin.h
@@ -0,0 +1,31 @@
+/*
+ Copyright (C) 2016 Montel Laurent <montel@kde.org>
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This program 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
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; see the file COPYING. If not, write to
+ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
+*/
+
+
+#ifndef KADDRESSBOOKIMPORTEXPORTPLUGIN_H
+#define KADDRESSBOOKIMPORTEXPORTPLUGIN_H
+
+
+class KAddressBookImportExportPlugin
+{
+public:
+ KAddressBookImportExportPlugin();
+};
+
+#endif // KADDRESSBOOKIMPORTEXPORTPLUGIN_H
diff --git a/kdepim-apps-lib.categories b/kdepim-apps-lib.categories
index 5734ede..d68c04e 100644
--- a/kdepim-apps-lib.categories
+++ b/kdepim-apps-lib.categories
@@ -1,3 +1,4 @@
# kdepim-apps-lib
org.kde.pim.libsendlater kdepim-apps-lib (libsendlater)
org.kde.pim.kdepimdbusinterface kdepim-apps-lib (kdepimdbusinterface)
+org.kde.pim.kaddressbookimportexport kdepim-apps-lib (kaddressbookimportexport)