diff options
Diffstat (limited to 'tdecore/tdehw/tdecryptographiccarddevice.h')
-rw-r--r-- | tdecore/tdehw/tdecryptographiccarddevice.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tdecore/tdehw/tdecryptographiccarddevice.h b/tdecore/tdehw/tdecryptographiccarddevice.h index 2ffdc1a75..299ad0741 100644 --- a/tdecore/tdehw/tdecryptographiccarddevice.h +++ b/tdecore/tdehw/tdecryptographiccarddevice.h @@ -22,12 +22,19 @@ #include "tdegenericdevice.h" -class x509_st; +#ifndef _TDECRYPTOGRAPHICCARDDEVICE_INTERNAL + #ifdef KSSL_HAVE_SSL + typedef struct x509_st X509; + #else + class X509; + #endif +#endif + class TQEventLoopThread; class CryptoCardDeviceWatcher; -typedef TQPtrList<x509_st> X509CertificatePtrList; -typedef TQPtrListIterator<x509_st> X509CertificatePtrListIterator; +typedef TQValueList<X509*> X509CertificatePtrList; +typedef TQValueListIterator<X509*> X509CertificatePtrListIterator; class TDECORE_EXPORT TDECryptographicCardDevice : public TDEGenericDevice { |