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

Annotation of /trunk/Include/wptContext.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18 - (hide annotations)
Fri May 20 08:38:47 2005 UTC (19 years, 9 months ago) by twoaday
File MIME type: text/plain
File size: 2202 byte(s)


1 twoaday 2 /* 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 twoaday 18 unsigned int update:1;
37 twoaday 2 unsigned int flags;
38     struct {
39     listview_ctrl_t ctl;
40     int idx;
41     int new_val;
42     } callback;
43     };
44     typedef struct winpt_key_s * winpt_key_t;
45    
46     struct text_input_s {
47     char * data;
48     size_t length;
49     int type;
50     };
51    
52     struct date_s {
53     int cancel;
54     const char * text;
55     SYSTEMTIME st;
56     };
57    
58     struct md_file_s {
59     int mdalgo;
60     listview_ctrl_t lv;
61     };
62    
63     struct secdel_confirm_s {
64     unsigned int yes:1;
65     gpgme_recipients_t rset;
66     };
67    
68     struct import_status_s {
69     int import_res[14];
70     unsigned int rev_cert:1;
71     };
72    
73     struct progress_filter_s {
74 twoaday 4 HWND hwnd;
75 twoaday 2 HWND dlg;
76     HANDLE thread_hd;
77     int error;
78     const char * what;
79     int type;
80     unsigned curr;
81     unsigned total;
82     };
83    
84    
85 twoaday 18 struct URL_ctx_s {
86     const char *title;
87     const char *desc;
88 twoaday 2 char url[256];
89     char proxy[64];
90     int port;
91     int cancel;
92     };
93    
94     struct key_wizard_s {
95     int interactive;
96     };
97    
98     #endif /* WPT_CONTEXT_H */

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26