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

Diff of /trunk/Include/wptVersion.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 22 by twoaday, Wed Aug 10 11:33:35 2005 UTC revision 329 by twoaday, Fri Sep 25 16:08:14 2009 UTC
# Line 1  Line 1 
 /* wptVersion.h - WinPT version handling  
  *      Copyright (C) 2000-2005 Timo Schulz  
  *  
  * This file is part of WinPT.  
  *  
  * WinPT is free software; you can redistribute it and/or modify  
  * it under the terms of the GNU General Public License as published by  
  * the Free Software Foundation; either version 2 of the License, or  
  * (at your option) any later version.  
  *  
  * WinPT is distributed in the hope that it will be useful,  
  * but WITHOUT ANY WARRANTY; without even the implied warranty of  
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
  * GNU General Public License for more details.  
  *  
  * You should have received a copy of the GNU General Public License  
  * along with WinPT; if not, write to the Free Software Foundation,  
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA  
  */  
 #ifndef WPT_VERSION_H  
 #define WPT_VERSION_H  
   
 /* Application name */  
 #define PGM_NAME "WinPT"  
   
 /* Application version */  
 #define PGM_VERSION "0.10.0"  
 #define PGM_DATE "(2005-08-07)"  
   
 /* Package version string */  
 #define PACKAGE_VERSION "Version: "PGM_VERSION" "PGM_DATE  
   
 /*-- WinPT.cpp --*/  
 extern HINSTANCE glob_hinst;    /* Global HINSTANCE for tray window */  
 extern HWND glob_hwnd;          /* Global HWND for tray window */  
 extern HWND activ_hwnd;         /* Active window HWND (dialog) */  
 extern int debug;               /* Global debug mode */  
 extern int mobile;              /* Mobile mode activated? */  
 extern int scard_support;       /* Smartcard support available? */  
 extern int gpg_read_only;       /* GPG read-only keyring access? */  
   
 extern LOCK mo_file;  
 extern char gpgver[];  
   
 /* Privacy Tray Dynamic */  
 BOOL PTD_initialize (void);    
 void PTD_delete (void);  
 const char * PTD_get_version (void);  
 int PTD_jpg_show (HWND, POINT*, LPCSTR);  
   
 /*-- wptMainProc.cpp --*/  
 LRESULT CALLBACK winpt_main_proc (HWND hwnd, UINT msg, WPARAM wparam,  
                                   LPARAM lparam); /* Global main procedure */  
   
 #endif /* WPT_VERSION_H */  
1    /* wptVersion.h - WinPT version handling
2     *      Copyright (C) 2000-2005, 2008-2009 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    #ifndef WPT_VERSION_H
17    #define WPT_VERSION_H
18    
19    /* Application name */
20    #define PGM_NAME "WinPT"
21    
22    /* Application version */
23    #define PGM_VERSION "1.5.0"
24    #define PGM_DATE "("__DATE__")"
25    
26    /* Full package version string */
27    #define PACKAGE_FULL_VERSION "Version: "PGM_VERSION" "PGM_DATE
28    
29    /* Do not include seldom used W32 api parts. */
30    #define WIN32_LEAN_AND_MEAN
31        
32    /*-- WinPT.cpp --*/
33    extern HINSTANCE glob_hinst;    /* Global HINSTANCE for tray window */
34    extern HWND glob_hwnd;          /* Global HWND for tray window */
35    extern int debug;               /* Global debug mode */
36    extern int scard_support;       /* Smartcard support available? */
37    extern int gpg_read_only;       /* GPG read-only keyring access? */
38    extern int emulate_utf8_bug;    /* Emulate the utf8 encoding failure for pwds*/
39    
40    extern char gpgver[];           /* Contains gpg version (3 bytes) */
41    
42    /* Privacy Tray Dynamic */
43    #ifdef __cplusplus
44    extern "C" {
45    #endif
46    BOOL        PTD_initialize (void);  
47    void        PTD_delete (void);
48    HWND        PTD_get_curr_hwnd (void);
49    int         PTD_is_used (void);
50    BOOL        PTD_keyb_send (UINT *keys, UINT n_keys);
51    #ifdef __cplusplus
52    }
53    #endif
54    
55    int jpg_show (HWND, POINT*, LPCSTR);
56    
57    /*-- wptMainProc.cpp --*/
58    LRESULT CALLBACK winpt_main_proc (HWND hwnd, UINT msg, WPARAM wparam,
59                                      LPARAM lparam); /* Global main procedure */
60    
61    #endif /* WPT_VERSION_H */

Legend:
Removed from v.22  
changed lines
  Added in v.329

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26