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

Annotation of /trunk/Include/wptVersion.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 279 - (hide annotations)
Mon Jan 15 22:02:32 2007 UTC (18 years, 1 month ago) by twoaday
File MIME type: text/plain
File size: 2085 byte(s)


1 werner 37 /* 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 twoaday 73 /* Application name */
24 werner 37 #define PGM_NAME PACKAGE_NAME
25    
26     /* Application version */
27 twoaday 73 #define PGM_VERSION PACKAGE_VERSION
28     #define PGM_DATE "("__DATE__")"
29 werner 37
30 twoaday 73 /* Full package version string */
31     #define PACKAGE_FULL_VERSION "Version: "PGM_VERSION" "PGM_DATE
32 werner 37
33 twoaday 80 /* Do not include seldom used W32 api parts. */
34     #define WIN32_LEAN_AND_MEAN
35    
36 werner 37 /*-- WinPT.cpp --*/
37     extern HINSTANCE glob_hinst; /* Global HINSTANCE for tray window */
38     extern HWND glob_hwnd; /* Global HWND for tray window */
39 twoaday 208 extern int admin_user;
40 werner 37 extern int debug; /* Global debug mode */
41     extern int scard_support; /* Smartcard support available? */
42     extern int gpg_read_only; /* GPG read-only keyring access? */
43    
44     extern char gpgver[]; /* Contains gpg version (3 bytes) */
45    
46     /* Privacy Tray Dynamic */
47 werner 48 #ifdef __cplusplus
48     extern "C" {
49     #endif
50 werner 37 BOOL PTD_initialize (void);
51     void PTD_delete (void);
52     int PTD_jpg_show (HWND, POINT*, LPCSTR);
53 werner 48 HWND PTD_get_curr_hwnd (void);
54     int PTD_is_used (void);
55     BOOL PTD_keyb_send (UINT *keys, UINT n_keys);
56     #ifdef __cplusplus
57     }
58     #endif
59 werner 37
60     /*-- wptMainProc.cpp --*/
61     LRESULT CALLBACK winpt_main_proc (HWND hwnd, UINT msg, WPARAM wparam,
62     LPARAM lparam); /* Global main procedure */
63    
64     #endif /* WPT_VERSION_H */

Properties

Name Value
svn:eol-style native

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26