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

Legend:
Removed from v.36  
changed lines
  Added in v.189

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26