2002-08-02 23:57:46 +04:00
|
|
|
/*
|
|
|
|
* synergy -- mouse and keyboard sharing utility
|
|
|
|
* Copyright (C) 2002 Chris Schoeneman
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2002-06-04 16:26:23 +04:00
|
|
|
#ifndef CPLATFORM_H
|
|
|
|
#define CPLATFORM_H
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
2002-06-19 15:23:49 +04:00
|
|
|
#if WINDOWS_LIKE
|
2002-06-04 16:26:23 +04:00
|
|
|
|
|
|
|
#include "CWin32Platform.h"
|
|
|
|
typedef CWin32Platform CPlatform;
|
|
|
|
|
2002-06-19 15:23:49 +04:00
|
|
|
#elif UNIX_LIKE
|
2002-06-04 16:26:23 +04:00
|
|
|
|
|
|
|
#include "CUnixPlatform.h"
|
|
|
|
typedef CUnixPlatform CPlatform;
|
|
|
|
|
2002-06-19 15:23:49 +04:00
|
|
|
#else
|
|
|
|
|
|
|
|
#error Unsupported platform
|
|
|
|
|
2002-06-04 16:26:23 +04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|