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

Contents of /trunk/Include/wptContext.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations)
Sun Feb 6 11:11:40 2005 UTC (20 years ago) by twoaday
File MIME type: text/plain
File size: 2129 byte(s)
2005-02-02  Timo Schulz  <twoaday@freakmail.de>
                                                                                                                            
        * wptPassphraseDlg.cpp (passwd_dlg_proc): use center_window2, otherwise
        it is invisible.
        * wptPassphraseCB.cpp (passphrase_callback_proc): Do not cache symmetric
        passphrases.
        * Enable the progress dialog for symmetric encryption.
        * wptFileManager.cpp (fm_check_file_type): Also check for 'SYMKEYENC' in
        FM_ENCRYPT mode.
        * WinPT.cpp (WinMain): SETUP_EXISTING implemented.
        * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Reset 'Locale directory' when
        no value is entered.
                                                                                                                            
2005-02-04  Timo Schulz  <twoaday@freakmail.de>
                                                                                                                            
        * wptProgressDlg.cpp (progress_cb_thread): Set root window if available.
        If the progress window survives by accident, it will be closed when the
        File Manager (root window) is closed.
                                                                                                                            


1 /* wptContext.h - Internal file to store private contexts
2 * Copyright (C) 2001-2005 Timo Schulz
3 *
4 * This file is part of WinPT.
5 *
6 * WinPT is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (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
14 * GNU 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_CONTEXT_H
22 #define WPT_CONTEXT_H
23
24 struct subclass_s {
25 HWND dlg;
26 WNDPROC old;
27 WNDPROC current;
28 void * opaque;
29 };
30
31 struct winpt_key_s {
32 const char * uid;
33 const char * keyid;
34 unsigned int key_pair:1;
35 unsigned int is_protected:1;
36 unsigned int flags;
37 struct {
38 listview_ctrl_t ctl;
39 int idx;
40 int new_val;
41 } callback;
42 };
43 typedef struct winpt_key_s * winpt_key_t;
44
45 struct text_input_s {
46 char * data;
47 size_t length;
48 int type;
49 };
50
51 struct date_s {
52 int cancel;
53 const char * text;
54 SYSTEMTIME st;
55 };
56
57 struct md_file_s {
58 int mdalgo;
59 listview_ctrl_t lv;
60 };
61
62 struct secdel_confirm_s {
63 unsigned int yes:1;
64 gpgme_recipients_t rset;
65 };
66
67 struct import_status_s {
68 int import_res[14];
69 unsigned int rev_cert:1;
70 };
71
72 struct progress_filter_s {
73 HWND hwnd;
74 HWND dlg;
75 HANDLE thread_hd;
76 int error;
77 const char * what;
78 int type;
79 unsigned curr;
80 unsigned total;
81 };
82
83
84 struct http_file_s {
85 char url[256];
86 char proxy[64];
87 int port;
88 int cancel;
89 };
90
91 struct key_wizard_s {
92 int interactive;
93 };
94
95 #endif /* WPT_CONTEXT_H */

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26