Export the WordList functions
authorKevin Ottens <kevin.ottens@nextcloud.com>
Thu, 8 Oct 2020 13:58:29 +0000 (15:58 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Thu, 8 Oct 2020 13:58:29 +0000 (15:58 +0200)
Now that they are used from gui/ they need to be properly exported so
that linking doesn't fail when visibility is activated (only on our
Windows build it seems).

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/libsync/wordlist.h

index b8891640b898126a7f81b2a417d5cbdc31dfdfec..6e11787ca01cb819b5dcdd22dff01c8c4317ba20 100644 (file)
@@ -4,10 +4,12 @@
 #include <QList>
 #include <QString>
 
+#include "owncloudlib.h"
+
 namespace OCC {
     namespace WordList {
-        QStringList getRandomWords(int nr);
-        QString getUnifiedString(const QStringList& l);
+        OWNCLOUDSYNC_EXPORT QStringList getRandomWords(int nr);
+        OWNCLOUDSYNC_EXPORT QString getUnifiedString(const QStringList& l);
     }
 }