source: vendor/synergy/current/lib/common/Version.h

Last change on this file was 2749, checked in by bird, 19 years ago

synergy v1.3.1 sources (zip).

File size: 1.3 KB
Line 
1/*
2 * synergy -- mouse and keyboard sharing utility
3 * Copyright (C) 2002 Chris Schoeneman
4 *
5 * This package is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * found in the file COPYING that should have accompanied this file.
8 *
9 * This package is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14
15#ifndef VERSION_H
16#define VERSION_H
17
18#include "common.h"
19
20// set version macro if not set yet
21#if !defined(VERSION)
22# define VERSION "1.3.1"
23#endif
24
25// important strings
26extern const char* kApplication;
27extern const char* kCopyright;
28extern const char* kContact;
29extern const char* kWebsite;
30
31// build version. follows linux kernel style: an even minor number implies
32// a release version, odd implies development version.
33extern const char* kVersion;
34
35// application version
36extern const char* kAppVersion;
37
38// exit codes
39static const int kExitSuccess = 0; // successful completion
40static const int kExitFailed = 1; // general failure
41static const int kExitTerminated = 2; // killed by signal
42static const int kExitArgs = 3; // bad arguments
43static const int kExitConfig = 4; // cannot read configuration
44
45#endif
Note: See TracBrowser for help on using the repository browser.