2012-06-29 11:33:21 +00:00
|
|
|
/*
|
|
|
|
|
* 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
|
2012-07-02 13:45:52 +00:00
|
|
|
|
|
|
|
|
enum EIpcMessage {
|
2012-07-05 18:05:35 +00:00
|
|
|
kIpcHello,
|
2012-07-02 15:28:23 +00:00
|
|
|
kIpcLogLine,
|
2012-07-05 18:05:35 +00:00
|
|
|
kIpcCommand,
|
|
|
|
|
kIpcShutdown,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
enum EIpcClientType {
|
|
|
|
|
kIpcClientUnknown,
|
|
|
|
|
kIpcClientGui,
|
|
|
|
|
kIpcClientNode,
|
2012-07-02 13:45:52 +00:00
|
|
|
};
|
2012-07-11 18:06:10 +00:00
|
|
|
|
|
|
|
|
extern const char* kIpcMsgHello;
|
|
|
|
|
extern const char* kIpcMsgLogLine;
|
|
|
|
|
extern const char* kIpcMsgCommand;
|
|
|
|
|
extern const char* kIpcMsgShutdown;
|