Warning: That file was not part of the compilation database. It may have many parsing errors.
1 | /* |
---|---|
2 | context_glib.cpp - wraps a gpgme key context, gpgme-glib-specific functions |
3 | Copyright (C) 2007 Klarälvdalens Datakonsult AB |
4 | |
5 | This file is part of GPGME++. |
6 | |
7 | GPGME++ is free software; you can redistribute it and/or |
8 | modify it under the terms of the GNU Library General Public |
9 | License as published by the Free Software Foundation; either |
10 | version 2 of the License, or (at your option) any later version. |
11 | |
12 | GPGME++ is distributed in the hope that it will be useful, |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | GNU Library General Public License for more details. |
16 | |
17 | You should have received a copy of the GNU Library General Public License |
18 | along with GPGME++; see the file COPYING.LIB. If not, write to the |
19 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 | Boston, MA 02110-1301, USA. |
21 | */ |
22 | |
23 | #include <config-gpgme++.h> |
24 | |
25 | #include <gpgme++/global.h> |
26 | |
27 | #ifdef HAVE_GPGME_GET_FDPTR |
28 | extern "C"GIOChannel * gpgme_get_fdptr( int ); |
29 | #endif |
30 | |
31 | GIOChannel * GpgME::getGIOChannel( int fd ) { |
32 | #ifdef HAVE_GPGME_GET_FDPTR |
33 | return gpgme_get_fdptr( fd ); |
34 | #else |
35 | (void)fd; |
36 | return 0; |
37 | #endif |
38 | } |
39 | |
40 | QIODevice * GpgME::getQIODevice( int fd ) { |
41 | return 0; |
42 | } |
43 | |
44 |
Warning: That file was not part of the compilation database. It may have many parsing errors.