/[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 14 by twoaday, Wed May 4 07:59:42 2005 UTC revision 59 by twoaday, Wed Nov 2 13:50:48 2005 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.9.93-cvs"  
 #define PGM_DATE "(2005-04-21)"  
   
 /* 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 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    #ifdef WINPT_MODERN_BUILD
24    
25    #define PGM_NAME PACKAGE_NAME
26    #define PGM_VERSION PACKAGE_VERSION
27    #define PGM_DATE "(xxxx?-x?-x?)"  /* FIXME */
28    
29    #else
30    /* Application name */
31    #define PGM_NAME "WinPT"
32    
33    /* Application version */
34    #define PGM_VERSION "0.10.3-beta"
35    #define PGM_DATE "(2005-10-25)"
36    
37    /* Package version string */
38    #define PACKAGE_VERSION "Version: "PGM_VERSION" "PGM_DATE
39    #endif
40    
41    /*-- WinPT.cpp --*/
42    extern HINSTANCE glob_hinst;    /* Global HINSTANCE for tray window */
43    extern HWND glob_hwnd;          /* Global HWND for tray window */
44    extern HWND activ_hwnd;         /* Active window HWND (dialog) */
45    extern int debug;               /* Global debug mode */
46    extern int mobile;              /* Mobile mode activated? */
47    extern int scard_support;       /* Smartcard support available? */
48    extern int gpg_read_only;       /* GPG read-only keyring access? */
49    
50    extern LOCK mo_file;
51    extern char gpgver[];           /* Contains gpg version (3 bytes) */
52    
53    /* Privacy Tray Dynamic */
54    #ifdef __cplusplus
55    extern "C" {
56    #endif
57    BOOL        PTD_initialize (void);  
58    void        PTD_delete (void);
59    int         PTD_jpg_show (HWND, POINT*, LPCSTR);
60    HWND        PTD_get_curr_hwnd (void);
61    int         PTD_is_used (void);
62    BOOL        PTD_keyb_send (UINT *keys, UINT n_keys);
63    #ifdef __cplusplus
64    }
65    #endif
66    
67    /*-- wptMainProc.cpp --*/
68    LRESULT CALLBACK winpt_main_proc (HWND hwnd, UINT msg, WPARAM wparam,
69                                      LPARAM lparam); /* Global main procedure */
70    
71    #endif /* WPT_VERSION_H */

Legend:
Removed from v.14  
changed lines
  Added in v.59

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26