mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-09 16:02:46 +08:00
40 lines
1.0 KiB
C
40 lines
1.0 KiB
C
/*
|
|
* synergy -- mouse and keyboard sharing utility
|
|
* Copyright (C) 2012 Nick Bolton
|
|
*
|
|
* This package is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* found in the file COPYING that should have accompanied this file.
|
|
*
|
|
* This package is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define IPC_HOST "127.0.0.1"
|
|
#define IPC_PORT 24801
|
|
|
|
enum EIpcMessage {
|
|
kIpcHello,
|
|
kIpcLogLine,
|
|
kIpcCommand,
|
|
kIpcShutdown,
|
|
};
|
|
|
|
enum EIpcClientType {
|
|
kIpcClientUnknown,
|
|
kIpcClientGui,
|
|
kIpcClientNode,
|
|
};
|
|
|
|
extern const char* kIpcMsgHello;
|
|
extern const char* kIpcMsgLogLine;
|
|
extern const char* kIpcMsgCommand;
|
|
extern const char* kIpcMsgShutdown;
|