File: util.h

package info (click to toggle)
trustedqsl 2.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 38,156 kB
  • sloc: cpp: 36,377; xml: 7,984; javascript: 6,989; ansic: 634; sh: 149; makefile: 19; python: 18
file content (29 lines) | stat: -rw-r--r-- 1,054 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/***************************************************************************
                          util.h  -  description
                             -------------------
    begin                : Sun Jun 23 2002
    copyright            : (C) 2002 by ARRL
    author               : Jon Bloom
    email                : jbloom@arrl.org
    revision             : $Id$
 ***************************************************************************/

#ifndef __util_h
#define __util_h

#ifdef HAVE_CONFIG_H
#include "sysconfig.h"
#endif

class CertTreeItemData;
class LocTreeItemData;
void displayCertProperties(CertTreeItemData *item, wxWindow *parent = 0);
void displayLocProperties(LocTreeItemData *item, wxWindow *parent = 0);
int getPassword(char *buf, int bufsiz, void *);
void displayTQSLError(const char *pre);
wxMenu *makeCertificateMenu(bool enable, bool keyonly = false, const char* callsign = NULL);
wxMenu *makeLocationMenu(bool enable);

#define DEFAULT_CERT_FUZZ 180		// How many days past expiry do we allow renewal

#endif	// __util_h