summaryrefslogtreecommitdiffstats
path: root/libtdenetwork/gpgmepp/context.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-05-05 17:48:46 +0900
committerMichele Calgaro <[email protected]>2024-05-06 16:02:34 +0900
commit7bfa0fb6156e976c839bb0d61459fd4bf6a0aa4e (patch)
treef63d015ae98a52b2020591c440eeceae38698c4c /libtdenetwork/gpgmepp/context.h
parent62c95d25331f3e2d652e2ae995ff51f7cb1f2bcf (diff)
downloadtdepim-7bfa0fb6156e976c839bb0d61459fd4bf6a0aa4e.tar.gz
tdepim-7bfa0fb6156e976c839bb0d61459fd4bf6a0aa4e.zip
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit d6705bac5da767ff271b66c0f01ff6ed6352515e)
Diffstat (limited to 'libtdenetwork/gpgmepp/context.h')
-rw-r--r--libtdenetwork/gpgmepp/context.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/libtdenetwork/gpgmepp/context.h b/libtdenetwork/gpgmepp/context.h
index 2eaee6601..ec01f20d7 100644
--- a/libtdenetwork/gpgmepp/context.h
+++ b/libtdenetwork/gpgmepp/context.h
@@ -46,7 +46,7 @@ namespace GpgME {
class EngineInfo;
- class KDE_EXPORT Error {
+ class TDE_EXPORT Error {
public:
Error( int e=0 ) : mErr( e ) {}
@@ -64,9 +64,9 @@ namespace GpgME {
int mErr;
};
- KDE_EXPORT std::ostream & operator<<( std::ostream & os, Error err );
+ TDE_EXPORT std::ostream & operator<<( std::ostream & os, Error err );
- class KDE_EXPORT Context {
+ class TDE_EXPORT Context {
Context( gpgme_ctx_t );
public:
enum Protocol { OpenPGP, CMS, Unknown };
@@ -283,12 +283,12 @@ namespace GpgME {
const Context & operator=( const Context & );
};
- KDE_EXPORT std::ostream & operator<<( std::ostream & os, Context::Protocol proto );
- KDE_EXPORT std::ostream & operator<<( std::ostream & os, Context::CertificateInclusion incl );
- KDE_EXPORT std::ostream & operator<<( std::ostream & os, Context::KeyListMode mode );
- KDE_EXPORT std::ostream & operator<<( std::ostream & os, Context::SignatureMode mode );
- KDE_EXPORT std::ostream & operator<<( std::ostream & os, Context::EncryptionFlags flags );
- KDE_EXPORT std::ostream & operator<<( std::ostream & os, Context::AuditLogFlags flags );
+ TDE_EXPORT std::ostream & operator<<( std::ostream & os, Context::Protocol proto );
+ TDE_EXPORT std::ostream & operator<<( std::ostream & os, Context::CertificateInclusion incl );
+ TDE_EXPORT std::ostream & operator<<( std::ostream & os, Context::KeyListMode mode );
+ TDE_EXPORT std::ostream & operator<<( std::ostream & os, Context::SignatureMode mode );
+ TDE_EXPORT std::ostream & operator<<( std::ostream & os, Context::EncryptionFlags flags );
+ TDE_EXPORT std::ostream & operator<<( std::ostream & os, Context::AuditLogFlags flags );
//
//
@@ -296,19 +296,19 @@ namespace GpgME {
//
//
- KDE_EXPORT void initializeLibrary();
+ TDE_EXPORT void initializeLibrary();
- KDE_EXPORT GpgME::Error setDefaultLocale( int category, const char * value );
+ TDE_EXPORT GpgME::Error setDefaultLocale( int category, const char * value );
- KDE_EXPORT Context * wait( GpgME::Error & e, bool hang=true );
+ TDE_EXPORT Context * wait( GpgME::Error & e, bool hang=true );
typedef void (*IdleFunction)(void);
- KDE_EXPORT IdleFunction registerIdleFunction( IdleFunction idleFunction );
+ TDE_EXPORT IdleFunction registerIdleFunction( IdleFunction idleFunction );
typedef void (*IOCallback)( void * data, int fd );
- KDE_EXPORT EngineInfo engineInfo( Context::Protocol proto );
+ TDE_EXPORT EngineInfo engineInfo( Context::Protocol proto );
- KDE_EXPORT GpgME::Error checkEngine( Context::Protocol proto );
+ TDE_EXPORT GpgME::Error checkEngine( Context::Protocol proto );
enum Feature {
ValidatingKeylistModeFeature = 0x00000001,
@@ -319,7 +319,7 @@ namespace GpgME {
FeatureMaxValue = 0x80000000
};
- KDE_EXPORT bool hasFeature( unsigned long feature );
+ TDE_EXPORT bool hasFeature( unsigned long feature );
} // namespace GpgME