mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-26 20:53:22 +03:00
c6ecc79c0d
restart if the X server connection was lost; since synergy is likely to be started by xdm or the user's xsession, it's better for synergy to simply terminate when the connection is lost. synergy will still restart due to other errors. also fixed numerous other minor bugs and cleaned some stuff up (like app error codes are now consistent and enumerated in Version.h, for lack of a better place). and boosted version and protocol numbers.
23 lines
779 B
C
23 lines
779 B
C
#ifndef VERSION_H
|
|
#define VERSION_H
|
|
|
|
#include "BasicTypes.h"
|
|
|
|
static const char* kCopyright = "Copyright (C) 2002 Chris Schoeneman";
|
|
static const char* kContact = "Chris Schoeneman crs23@bigfoot.com";
|
|
|
|
// build version. follows linux kernel style: minor number even implies
|
|
// a release version, odd implies development version.
|
|
static const SInt16 kMajorVersion = 0;
|
|
static const SInt16 kMinorVersion = 9;
|
|
static const SInt16 kReleaseVersion = 7;
|
|
|
|
// exit codes
|
|
static const int kExitSuccess = 0; // successful completion
|
|
static const int kExitFailed = 1; // general failure
|
|
static const int kExitTerminated = 2; // killed by signal
|
|
static const int kExitArgs = 3; // bad arguments
|
|
static const int kExitConfig = 4; // cannot read configuration
|
|
|
|
#endif
|