Changeset 3348 in ntrip
- Timestamp:
- Aug 22, 2011, 11:56:38 AM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncsslconfig.cpp
r3347 r3348 5 5 * Class: bncSslConfig 6 6 * 7 * Purpose: 7 * Purpose: Singleton Class that inherits QSslConfiguration class 8 8 * 9 9 * Author: L. Mervart … … 25 25 QSslCertificate::fromPath("/home/mervart/certs/bkg.crt"); 26 26 std::cout << "caCerts: " << caCerts.size() << std::endl; 27 this->setCaCertificates(caCerts); 27 28 } 28 29 -
trunk/BNC/bncsslconfig.h
r3347 r3348 4 4 #include <QtNetwork> 5 5 6 // Singleton Class 7 // --------------- 6 8 class bncSslConfig : public QSslConfiguration { 7 9 public: 10 static bncSslConfig& Instance() { 11 static bncSslConfig _sslConfig; 12 return _sslConfig; 13 } 14 private: 8 15 bncSslConfig(); 9 virtual ~bncSslConfig(); 10 private: 16 ~bncSslConfig(); 11 17 }; 12 18
Note:
See TracChangeset
for help on using the changeset viewer.