/[winpt]/trunk/Include/wptGPGME.h
ViewVC logotype

Contents of /trunk/Include/wptGPGME.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 133 - (show annotations)
Mon Jan 9 09:15:29 2006 UTC (19 years, 1 month ago) by twoaday
File MIME type: text/plain
File size: 1283 byte(s)
A lot of minor bug fixes.
New icons.

For a complete history, see the ChangeLog entries.


1 /* wptGPGME.h - Object oriented wrapper for GPGME
2 * Copyright (C) 2006 Timo Schulz
3 *
4 * This file is part of WinPT.
5 *
6 * WinPT is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * WinPT is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with WinPT; if not, write to the Free Software Foundation,
18 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21 #ifndef WPT_GPGME_H
22 #define WPT_GPGME_H
23
24 class GPGME {
25 private:
26 gpgme_ctx_t ctx;
27 bool chg_ver;
28
29 public:
30 ~GPGME ();
31 GPGME ();
32
33 void setChangeVersion (bool val);
34 bool getArmor (void);
35 void setArmor (bool val);
36
37 gpgme_error_t exportToBuffer (const char *patt, char **outdata);
38 gpgme_error_t exportToFile (const char *patt, const char *outfile);
39 gpgme_error_t exportToClipboard (const char *patt);
40 };
41
42 #endif /*WPT_GPGME_H*/

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26