summaryrefslogtreecommitdiff
path: root/src/libical/icalproperty_cxx.h
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2015-02-14 18:33:41 -0500
committerAllen Winter <allen.winter@kdab.com>2015-02-14 18:33:41 -0500
commit5e23e5e5f5369045c2893f3e57a0f60066366c5f (patch)
tree5f84b95c78cd7f297b11fe29aa6dbdefd18d7c67 /src/libical/icalproperty_cxx.h
parent560c49abe4cc4b0d35760ab4ef453c8bfed51aa1 (diff)
downloadlibical-git-5e23e5e5f5369045c2893f3e57a0f60066366c5f.tar.gz
first attempt at fixing visibility for C++
as well as re-arraning the CMakeLists.txt for each of the libs.
Diffstat (limited to 'src/libical/icalproperty_cxx.h')
-rwxr-xr-x[-rw-r--r--]src/libical/icalproperty_cxx.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libical/icalproperty_cxx.h b/src/libical/icalproperty_cxx.h
index a979460b..b86dad54 100644..100755
--- a/src/libical/icalproperty_cxx.h
+++ b/src/libical/icalproperty_cxx.h
@@ -20,6 +20,8 @@
#ifndef ICALPROPERTY_CXX_H
#define ICALPROPERTY_CXX_H
+#include "libical_ical_export.h"
+
extern "C" {
#include <libical/ical.h>
};
@@ -30,7 +32,7 @@ typedef char *string; // Will use the string library from STL
class ICalParameter;
class ICalValue;
-class ICalProperty
+class LIBICAL_ICAL_EXPORT ICalProperty
{
public:
ICalProperty();
@@ -85,7 +87,7 @@ public:
static void set_x_name(ICalProperty &prop, const string name);
static string get_x_name(ICalProperty &prop);
- static icalvalue_kind icalparameter_value_to_value_kind(icalparameter_value val);
+ static icalvalue_kind value_to_value_kind(icalparameter_value val);
/* Convert kinds to string and get default value type */
static icalvalue_kind kind_to_value_kind(icalproperty_kind kind);