1 |
werner |
37 |
/* wptVersion.h - WinPT version handling |
2 |
twoaday |
458 |
* Copyright (C) 2000-2005, 2008-2009, 2012 Timo Schulz |
3 |
werner |
37 |
* |
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 |
twoaday |
458 |
#ifdef HAVE_CONFIG_H |
20 |
|
|
#include <config.h> |
21 |
|
|
#endif |
22 |
|
|
|
23 |
twoaday |
73 |
/* Application name */ |
24 |
twoaday |
329 |
#define PGM_NAME "WinPT" |
25 |
werner |
37 |
|
26 |
|
|
/* Application version */ |
27 |
twoaday |
458 |
#define PGM_VERSION PACKAGE_VERSION |
28 |
twoaday |
73 |
#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 |
|
|
extern int debug; /* Global debug mode */ |
40 |
|
|
extern int scard_support; /* Smartcard support available? */ |
41 |
|
|
extern int gpg_read_only; /* GPG read-only keyring access? */ |
42 |
|
|
|
43 |
|
|
extern char gpgver[]; /* Contains gpg version (3 bytes) */ |
44 |
|
|
|
45 |
|
|
/* Privacy Tray Dynamic */ |
46 |
werner |
48 |
#ifdef __cplusplus |
47 |
|
|
extern "C" { |
48 |
|
|
#endif |
49 |
werner |
37 |
BOOL PTD_initialize (void); |
50 |
twoaday |
335 |
void PTD_delete_hook (void); |
51 |
werner |
48 |
#ifdef __cplusplus |
52 |
|
|
} |
53 |
|
|
#endif |
54 |
werner |
37 |
|
55 |
twoaday |
329 |
int jpg_show (HWND, POINT*, LPCSTR); |
56 |
|
|
|
57 |
werner |
37 |
/*-- 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 */ |