Przeglądaj źródła

Export the WordList functions

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>
Kevin Ottens 5 lat temu
rodzic
commit
a53a87a3eb
1 zmienionych plików z 4 dodań i 2 usunięć
  1. 4 2
      src/libsync/wordlist.h

+ 4 - 2
src/libsync/wordlist.h

@@ -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);
     }
 }