summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-05-31 13:55:49 +0200
committerMontel Laurent <[email protected]>2016-05-31 13:59:31 +0200
commit70a83dca95f59956b0655ed39fd48470b82a6627 (patch)
tree4184457bc18e994adc083939d45b293f68ceeffc
parentd62c048654643b0d458c59eb716034129eb431a1 (diff)
Add other class for kaddressbook domain
-rw-r--r--kaddressbook/src/domain/CMakeLists.txt2
-rw-r--r--kaddressbook/src/domain/contact.cpp29
-rw-r--r--kaddressbook/src/domain/contact.h34
3 files changed, 64 insertions, 1 deletions
diff --git a/kaddressbook/src/domain/CMakeLists.txt b/kaddressbook/src/domain/CMakeLists.txt
index ba918dd..c4ed083 100644
--- a/kaddressbook/src/domain/CMakeLists.txt
+++ b/kaddressbook/src/domain/CMakeLists.txt
@@ -1,4 +1,4 @@
-set(kaddressbook_domain_SRCS contactgroup.cpp)
+set(kaddressbook_domain_SRCS contactgroup.cpp contact.cpp)
add_library(kaddressbookdomain ${kaddressbook_domain_SRCS})
generate_export_header(kaddressbookdomain BASE_NAME kaddressbookdomain)
diff --git a/kaddressbook/src/domain/contact.cpp b/kaddressbook/src/domain/contact.cpp
new file mode 100644
index 0000000..94475c6
--- /dev/null
+++ b/kaddressbook/src/domain/contact.cpp
@@ -0,0 +1,29 @@
+/*
+ This file is part of KAddressBook.
+
+ Copyright (c) 2016 Laurent Montel <[email protected]>
+
+ 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; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
+
+
+#include "contact.h"
+
+using namespace Domain;
+
+Contact::Contact()
+{
+
+}
diff --git a/kaddressbook/src/domain/contact.h b/kaddressbook/src/domain/contact.h
new file mode 100644
index 0000000..51b4a2a
--- /dev/null
+++ b/kaddressbook/src/domain/contact.h
@@ -0,0 +1,34 @@
+/*
+ This file is part of KAddressBook.
+
+ Copyright (c) 2016 Laurent Montel <[email protected]>
+
+ 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; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
+
+
+#ifndef CONTACT_H
+#define CONTACT_H
+
+namespace Domain
+{
+class Contact
+{
+public:
+ Contact();
+};
+}
+
+#endif // CONTACT_H