[Pkg-gnupg-commit] [gpgme] 279/412: Qt: Ensure all public classes are exported
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Sep 22 21:27:03 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gpgme.
commit 59e2251a083b0ed61b3ab6d47015cef7cc6ceb05
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Thu Aug 11 17:38:36 2016 +0200
Qt: Ensure all public classes are exported
* src/abstractimportjob.h,
src/cryptoconfig.h,
src/deletejob.h,
src/exportjob.h,
src/importfromkeyserverjob.h,
src/importjob.h,
src/keygenerationjob.h,
src/keylistjob.h,
src/listallkeysjob.h,
src/refreshkeysjob.h,
src/signencryptjob.h,
src/specialjob.h,
src/verifydetachedjob.h: Export classes.
--
This is an adoption of kde's libkleo commit: d6a71a4e
Thanks dvratil at kde.org
---
lang/qt/src/abstractimportjob.h | 4 +++-
lang/qt/src/cryptoconfig.h | 9 +++++----
lang/qt/src/deletejob.h | 3 ++-
lang/qt/src/exportjob.h | 3 ++-
lang/qt/src/importfromkeyserverjob.h | 3 ++-
lang/qt/src/importjob.h | 3 ++-
lang/qt/src/keygenerationjob.h | 3 ++-
lang/qt/src/keylistjob.h | 3 ++-
lang/qt/src/listallkeysjob.h | 3 ++-
lang/qt/src/refreshkeysjob.h | 3 ++-
lang/qt/src/signencryptjob.h | 3 ++-
lang/qt/src/specialjob.h | 3 ++-
lang/qt/src/verifydetachedjob.h | 1 +
13 files changed, 29 insertions(+), 15 deletions(-)
diff --git a/lang/qt/src/abstractimportjob.h b/lang/qt/src/abstractimportjob.h
index 33f6a2a..572f203 100644
--- a/lang/qt/src/abstractimportjob.h
+++ b/lang/qt/src/abstractimportjob.h
@@ -36,6 +36,8 @@
#include "job.h"
+#include "qgpgme_export.h"
+
namespace GpgME
{
class Error;
@@ -45,7 +47,7 @@ class ImportResult;
namespace QGpgME
{
-class AbstractImportJob : public Job
+class QGPGME_EXPORT AbstractImportJob : public Job
{
Q_OBJECT
protected:
diff --git a/lang/qt/src/cryptoconfig.h b/lang/qt/src/cryptoconfig.h
index 858dbb7..c3f0c7e 100644
--- a/lang/qt/src/cryptoconfig.h
+++ b/lang/qt/src/cryptoconfig.h
@@ -34,6 +34,7 @@
#ifndef CRYPTOCONFIG_H
#define CRYPTOCONFIG_H
+#include "qgpgme_export.h"
#ifdef __cplusplus
/* we read this file from a C compiler, and are only interested in the
* enums... */
@@ -50,7 +51,7 @@ namespace QGpgME
/**
* Description of a single option
*/
-class CryptoConfigEntry
+class QGPGME_EXPORT CryptoConfigEntry
{
public:
@@ -252,7 +253,7 @@ public:
/**
* Group containing a set of config options
*/
-class CryptoConfigGroup
+class QGPGME_EXPORT CryptoConfigGroup
{
public:
@@ -301,7 +302,7 @@ public:
/**
* Crypto config for one component (e.g. gpg-agent, dirmngr etc.)
*/
-class CryptoConfigComponent
+class QGPGME_EXPORT CryptoConfigComponent
{
public:
@@ -341,7 +342,7 @@ public:
/**
* Main interface to crypto configuration.
*/
-class CryptoConfig
+class QGPGME_EXPORT CryptoConfig
{
public:
diff --git a/lang/qt/src/deletejob.h b/lang/qt/src/deletejob.h
index 1f4e8cf..f8479b1 100644
--- a/lang/qt/src/deletejob.h
+++ b/lang/qt/src/deletejob.h
@@ -34,6 +34,7 @@
#ifndef __KLEO_DELETEJOB_H__
#define __KLEO_DELETEJOB_H__
+#include "qgpgme_export.h"
#include "job.h"
namespace GpgME
@@ -58,7 +59,7 @@ namespace QGpgME
After result() is emitted, the DeleteJob will schedule it's own
destruction by calling QObject::deleteLater().
*/
-class DeleteJob : public Job
+class QGPGME_EXPORT DeleteJob : public Job
{
Q_OBJECT
protected:
diff --git a/lang/qt/src/exportjob.h b/lang/qt/src/exportjob.h
index df21f03..583d4c0 100644
--- a/lang/qt/src/exportjob.h
+++ b/lang/qt/src/exportjob.h
@@ -34,6 +34,7 @@
#ifndef __QGPGME_EXPORTJOB_H__
#define __QGPGME_EXPORTJOB_H__
+#include "qgpgme_export.h"
#include "job.h"
#include <QtCore/QByteArray>
@@ -61,7 +62,7 @@ namespace QGpgME
After result() is emitted, the ExportJob will schedule it's own
destruction by calling QObject::deleteLater().
*/
-class ExportJob : public Job
+class QGPGME_EXPORT ExportJob : public Job
{
Q_OBJECT
protected:
diff --git a/lang/qt/src/importfromkeyserverjob.h b/lang/qt/src/importfromkeyserverjob.h
index 7ab13cb..f548ea7 100644
--- a/lang/qt/src/importfromkeyserverjob.h
+++ b/lang/qt/src/importfromkeyserverjob.h
@@ -35,6 +35,7 @@
#define __KLEO_IMPORTFROMKEYSERVERJOB_H__
#include "abstractimportjob.h"
+#include "qgpgme_export.h"
namespace GpgME
{
@@ -61,7 +62,7 @@ namespace QGpgME
After result() is emitted, the ImportJob will schedule it's own
destruction by calling QObject::deleteLater().
*/
-class ImportFromKeyserverJob : public AbstractImportJob
+class QGPGME_EXPORT ImportFromKeyserverJob : public AbstractImportJob
{
Q_OBJECT
protected:
diff --git a/lang/qt/src/importjob.h b/lang/qt/src/importjob.h
index d9f60d1..5c7b24d 100644
--- a/lang/qt/src/importjob.h
+++ b/lang/qt/src/importjob.h
@@ -35,6 +35,7 @@
#define __KLEO_IMPORTJOB_H__
#include "abstractimportjob.h"
+#include "qgpgme_export.h"
#include <QtCore/QByteArray>
@@ -60,7 +61,7 @@ namespace QGpgME
After result() is emitted, the ImportJob will schedule it's own
destruction by calling QObject::deleteLater().
*/
-class ImportJob : public AbstractImportJob
+class QGPGME_EXPORT ImportJob : public AbstractImportJob
{
Q_OBJECT
protected:
diff --git a/lang/qt/src/keygenerationjob.h b/lang/qt/src/keygenerationjob.h
index 90f29bf..a0beeac 100644
--- a/lang/qt/src/keygenerationjob.h
+++ b/lang/qt/src/keygenerationjob.h
@@ -35,6 +35,7 @@
#define __KLEO_KEYGENERATIONJOB_H__
#include "job.h"
+#include "qgpgme_export.h"
#include <QtCore/QByteArray>
@@ -60,7 +61,7 @@ namespace QGpgME
After result() is emitted, the KeyGenerationJob will schedule it's own
destruction by calling QObject::deleteLater().
*/
-class KeyGenerationJob : public Job
+class QGPGME_EXPORT KeyGenerationJob : public Job
{
Q_OBJECT
protected:
diff --git a/lang/qt/src/keylistjob.h b/lang/qt/src/keylistjob.h
index 6e62c4f..fc7a048 100644
--- a/lang/qt/src/keylistjob.h
+++ b/lang/qt/src/keylistjob.h
@@ -35,6 +35,7 @@
#define __KLEO_KEYLISTJOB_H__
#include "job.h"
+#include "qgpgme_export.h"
#ifdef BUILDING_QGPGME
# include "key.h"
@@ -70,7 +71,7 @@ namespace QGpgME
KeyListJob will schedule it's own destruction by calling
QObject::deleteLater().
*/
-class KeyListJob : public Job
+class QGPGME_EXPORT KeyListJob : public Job
{
Q_OBJECT
protected:
diff --git a/lang/qt/src/listallkeysjob.h b/lang/qt/src/listallkeysjob.h
index 9d4711d..4fbb469 100644
--- a/lang/qt/src/listallkeysjob.h
+++ b/lang/qt/src/listallkeysjob.h
@@ -35,6 +35,7 @@
#define __KLEO_LISTALLKEYSJOB_H__
#include "job.h"
+#include "qgpgme_export.h"
#ifdef BUILDING_QGPGME
# include "key.h"
@@ -69,7 +70,7 @@ namespace QGpgME
This is potentially much faster than a KeyListJob with empty
pattern.
*/
-class ListAllKeysJob : public Job
+class QGPGME_EXPORT ListAllKeysJob : public Job
{
Q_OBJECT
protected:
diff --git a/lang/qt/src/refreshkeysjob.h b/lang/qt/src/refreshkeysjob.h
index d0bc51f..a97de80 100644
--- a/lang/qt/src/refreshkeysjob.h
+++ b/lang/qt/src/refreshkeysjob.h
@@ -35,6 +35,7 @@
#define __KLEO_REFRESHKEYSJOB_H__
#include "job.h"
+#include "qgpgme_export.h"
#include <vector>
@@ -62,7 +63,7 @@ namespace QGpgME
After result() is emitted, the KeyListJob will schedule it's own
destruction by calling QObject::deleteLater().
*/
-class RefreshKeysJob : public Job
+class QGPGME_EXPORT RefreshKeysJob : public Job
{
Q_OBJECT
protected:
diff --git a/lang/qt/src/signencryptjob.h b/lang/qt/src/signencryptjob.h
index b0aafe3..4e07744 100644
--- a/lang/qt/src/signencryptjob.h
+++ b/lang/qt/src/signencryptjob.h
@@ -35,6 +35,7 @@
#define __KLEO_SIGNENCRYPTJOB_H__
#include "job.h"
+#include "qgpgme_export.h"
#ifdef BUILDING_QGPGME
# include "global.h"
@@ -75,7 +76,7 @@ namespace QGpgME
After result() is emitted, the SignEncryptJob will schedule it's
own destruction by calling QObject::deleteLater().
*/
-class SignEncryptJob : public Job
+class QGPGME_EXPORT SignEncryptJob : public Job
{
Q_OBJECT
protected:
diff --git a/lang/qt/src/specialjob.h b/lang/qt/src/specialjob.h
index 788371e..2c80f20 100644
--- a/lang/qt/src/specialjob.h
+++ b/lang/qt/src/specialjob.h
@@ -35,6 +35,7 @@
#define __KLEO_SPECIALJOB_H__
#include "job.h"
+#include "qgpgme_export.h"
namespace GpgME
{
@@ -65,7 +66,7 @@ namespace QGpgME
through the read-only result property, the latter of which needs
to be defined in each SpecialJob subclass.
*/
-class SpecialJob : public Job
+class QGPGME_EXPORT SpecialJob : public Job
{
Q_OBJECT
protected:
diff --git a/lang/qt/src/verifydetachedjob.h b/lang/qt/src/verifydetachedjob.h
index 0cb92e6..b339a8c 100644
--- a/lang/qt/src/verifydetachedjob.h
+++ b/lang/qt/src/verifydetachedjob.h
@@ -35,6 +35,7 @@
#define __KLEO_VERIFYDETACHEDJOB_H__
#include "job.h"
+#include "qgpgme_export.h"
#include <memory>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list