summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSofia Balicka <balicka@kolabsys.com>2012-12-20 09:06:07 (GMT)
committerSofia Balicka <balicka@kolabsys.com>2012-12-20 09:06:07 (GMT)
commita6a6dc1e0ab52db294584df6917b56a18a8fe34d (patch)
tree8176a117d1b5c0fcd7bd6319a8b1150a81b0ae2a
parent9bf311afa11da8b7aee1ec2099de5f3e3451fc13 (diff)
downloadlibkolab-mimeobject.tar.gz
added CMakeList.txt to git commit for the mimeobjecttestmimeobject
-rw-r--r--kolabformat/mimeobject.h22
-rw-r--r--tests/CMakeLists.txt1
2 files changed, 12 insertions, 11 deletions
diff --git a/kolabformat/mimeobject.h b/kolabformat/mimeobject.h
index cca42f0..e025947 100644
--- a/kolabformat/mimeobject.h
+++ b/kolabformat/mimeobject.h
@@ -37,23 +37,23 @@ class KOLAB_EXPORT MIMEObject
public:
explicit MIMEObject();
- std::string writeEvent(const Event &event, Version version, const std::string &productId = std::string());
+ std::string writeEvent(const Kolab::Event &event, Version version, const std::string &productId = std::string());
Kolab::Event readEvent(const std::string &s);
- std::string writeTodo(const Todo &todo, Version version, const std::string &productId = std::string());
- Todo readTodo(const std::string &s);
+ std::string writeTodo(const Kolab::Todo &todo, Version version, const std::string &productId = std::string());
+ Kolab::Todo readTodo(const std::string &s);
- std::string writeJournal(const Journal &journal, Version version, const std::string &productId = std::string());
- Journal readJournal(const std::string &s);
+ std::string writeJournal(const Kolab::Journal &journal, Version version, const std::string &productId = std::string());
+ Kolab::Journal readJournal(const std::string &s);
- std::string writeNote(const Note &note, Version version, const std::string &productId = std::string());
- Note readNote(const std::string &s);
+ std::string writeNote(const Kolab::Note &note, Version version, const std::string &productId = std::string());
+ Kolab::Note readNote(const std::string &s);
- std::string writeContact(const Contact &contact, Version version, const std::string &productId = std::string());
- Contact readContact(const std::string &s);
+ std::string writeContact(const Kolab::Contact &contact, Version version, const std::string &productId = std::string());
+ Kolab::Contact readContact(const std::string &s);
- std::string writeDistlist(const DistList &distlist, Version version, const std::string &productId = std::string());
- DistList readDistlist(const std::string &s);
+ std::string writeDistlist(const Kolab::DistList &distlist, Version version, const std::string &productId = std::string());
+ Kolab::DistList readDistlist(const std::string &s);
};
}
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 7362351..43f7499 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -20,3 +20,4 @@ addTest(calendaringtest)
addTest(icalendartest)
addTest(freebusytest)
addTest(kolabobjecttest)
+addTest(mimeobjecttest)