Page MenuHome GnuPG

No OneTemporary

diff --git a/context_glib.cpp b/context_glib.cpp
index c74e7ffe..30f94851 100644
--- a/context_glib.cpp
+++ b/context_glib.cpp
@@ -1,40 +1,43 @@
/*
context_glib.cpp - wraps a gpgme key context, gpgme-glib-specific functions
Copyright (C) 2007 Klarälvdalens Datakonsult AB
This file is part of GPGME++.
GPGME++ is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
GPGME++ is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with GPGME++; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include <config-gpgme++.h>
#include <gpgme++/global.h>
+#ifdef HAVE_GPGME_GET_FDPTR
+extern "C" GIOChannel * gpgme_get_fdptr( int );
+#endif
+
GIOChannel * GpgME::getGIOChannel( int fd ) {
#ifdef HAVE_GPGME_GET_FDPTR
- extern "C" GIOChannel * gpgme_get_fdptr( int );
return gpgme_get_fdptr( fd );
#else
(void)fd;
return 0;
#endif
}
QIODevice * GpgME::getQIODevice( int fd ) {
return 0;
}
diff --git a/context_qt.cpp b/context_qt.cpp
index 7e5d55eb..44bbc27d 100644
--- a/context_qt.cpp
+++ b/context_qt.cpp
@@ -1,40 +1,43 @@
/*
context_qt.cpp - wraps a gpgme key context, gpgme-qt-specific functions
Copyright (C) 2007 Klarälvdalens Datakonsult AB
This file is part of GPGME++.
GPGME++ is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
GPGME++ is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with GPGME++; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include <config-gpgme++.h>
#include <gpgme++/global.h>
+#ifdef HAVE_GPGME_GET_FDPTR
+extern "C" QIODevice * gpgme_get_fdptr( int );
+#endif
+
GIOChannel * GpgME::getGIOChannel( int ) {
return 0;
}
QIODevice * GpgME::getQIODevice( int fd ) {
#ifdef HAVE_GPGME_GET_FDPTR
- extern "C" QIODevice * gpgme_get_fdptr( int );
return gpgme_get_fdptr( fd );
#else
(void)fd;
return 0;
#endif
}

File Metadata

Mime Type
text/x-diff
Expires
Tue, Jan 20, 11:16 PM (1 h, 25 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fe/55/284d78966837c4dd0be8b0fe7919

Event Timeline