| 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 | 
|---|
| 26 | extern const char* kApplication; | 
|---|
| 27 | extern const char* kCopyright; | 
|---|
| 28 | extern const char* kContact; | 
|---|
| 29 | extern const char* kWebsite; | 
|---|
| 30 |  | 
|---|
| 31 | // build version.  follows linux kernel style:  an even minor number implies | 
|---|
| 32 | // a release version, odd implies development version. | 
|---|
| 33 | extern const char* kVersion; | 
|---|
| 34 |  | 
|---|
| 35 | // application version | 
|---|
| 36 | extern const char* kAppVersion; | 
|---|
| 37 |  | 
|---|
| 38 | // exit codes | 
|---|
| 39 | static const int kExitSuccess           = 0;    // successful completion | 
|---|
| 40 | static const int kExitFailed            = 1;    // general failure | 
|---|
| 41 | static const int kExitTerminated        = 2;    // killed by signal | 
|---|
| 42 | static const int kExitArgs                      = 3;    // bad arguments | 
|---|
| 43 | static const int kExitConfig            = 4;    // cannot read configuration | 
|---|
| 44 |  | 
|---|
| 45 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.