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

Contents of /trunk/Include/wptVersion.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 34 - (show annotations)
Wed Oct 26 11:20:09 2005 UTC (19 years, 4 months ago) by twoaday
File MIME type: text/plain
File size: 1995 byte(s)
2005-10-25  Timo Schulz  <twoaday@g10code.com>
                                                                                
        * wptGPGUtil.cpp (create_process): Hide window.
        * wptKeyPropsDlg.cpp (get_photo_tmpname): New.
        * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove
        static var 'enable'.
        * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
        (gpg_genkey_params): Make sure all primary keys are capable
        for signing and certification.
        * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.
        * wptGPG.cpp (gnupg_access_keyring): Check return value for
        NULL. Noted by Ralf.
        (get_gnupg_prog): Simplified.
        (check_homedir): Fixed. Return 0 when the dir is successfully created.
        * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to
        indicate a pending GPG process.
        * wptFileManager.cpp (op_begin, op_end): New. Indicate an start
        and and of an operation. For now just the cursor changes.
        (fm_parse_command_line): Remove debug output. Thanks to Ralf again.
        * WinPT.cpp (WinMain): Check if there is already an instance and
        set a variable early as possible.
        (load_gettext): If a previous instance was found, do not output
        any errors. Kudos to Ralf.


1 /* wptVersion.h - WinPT version handling
2 * Copyright (C) 2000-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 #ifndef WPT_VERSION_H
21 #define WPT_VERSION_H
22
23 /* Application name */
24 #define PGM_NAME "WinPT"
25
26 /* Application version */
27 #define PGM_VERSION "0.10.3-beta"
28 #define PGM_DATE "(2005-10-25)"
29
30 /* Package version string */
31 #define PACKAGE_VERSION "Version: "PGM_VERSION" "PGM_DATE
32
33 /*-- WinPT.cpp --*/
34 extern HINSTANCE glob_hinst; /* Global HINSTANCE for tray window */
35 extern HWND glob_hwnd; /* Global HWND for tray window */
36 extern HWND activ_hwnd; /* Active window HWND (dialog) */
37 extern int debug; /* Global debug mode */
38 extern int mobile; /* Mobile mode activated? */
39 extern int scard_support; /* Smartcard support available? */
40 extern int gpg_read_only; /* GPG read-only keyring access? */
41
42 extern LOCK mo_file;
43 extern char gpgver[]; /* Contains gpg version (3 bytes) */
44
45 /* Privacy Tray Dynamic */
46 BOOL PTD_initialize (void);
47 void PTD_delete (void);
48 const char* PTD_get_version (void);
49 int PTD_jpg_show (HWND, POINT*, LPCSTR);
50
51 /*-- wptMainProc.cpp --*/
52 LRESULT CALLBACK winpt_main_proc (HWND hwnd, UINT msg, WPARAM wparam,
53 LPARAM lparam); /* Global main procedure */
54
55 #endif /* WPT_VERSION_H */

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26