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

Annotation of /trunk/Include/wptContext.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations)
Mon Jan 31 11:02:21 2005 UTC (20 years, 1 month ago) by twoaday
File MIME type: text/plain
File size: 2109 byte(s)
WinPT initial checkin.


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     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 dlg;
74     HANDLE thread_hd;
75     int error;
76     const char * what;
77     int type;
78     unsigned curr;
79     unsigned total;
80     };
81    
82    
83     struct http_file_s {
84     char url[256];
85     char proxy[64];
86     int port;
87     int cancel;
88     };
89    
90     struct key_wizard_s {
91     int interactive;
92     };
93    
94     #endif /* WPT_CONTEXT_H */

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26