mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 12:12:39 +02:00
add the ice server
This commit is contained in:
parent
d6572c3e2e
commit
ae90b38172
5 changed files with 77 additions and 0 deletions
|
@ -58,6 +58,7 @@ endforeach()
|
|||
# targets on all platforms
|
||||
add_subdirectory(assignment-client)
|
||||
add_subdirectory(domain-server)
|
||||
add_subdirectory(ice-server)
|
||||
add_subdirectory(interface)
|
||||
add_subdirectory(tests)
|
||||
add_subdirectory(tools)
|
||||
|
|
9
ice-server/CMakeLists.txt
Normal file
9
ice-server/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
set(TARGET_NAME ice-server)
|
||||
|
||||
# setup the project and link required Qt modules
|
||||
setup_hifi_project(Network)
|
||||
|
||||
# link the shared hifi libraries
|
||||
link_hifi_libraries(networking shared)
|
||||
|
||||
link_shared_dependencies()
|
18
ice-server/src/IceServer.cpp
Normal file
18
ice-server/src/IceServer.cpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
//
|
||||
// IceServer.cpp
|
||||
// ice-server/src
|
||||
//
|
||||
// Created by Stephen Birarda on 2014-10-01.
|
||||
// Copyright 2014 High Fidelity, Inc.
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
#include "IceServer.h"
|
||||
|
||||
IceServer::IceServer(int argc, char* argv[]) :
|
||||
QCoreApplication(argc, argv)
|
||||
{
|
||||
|
||||
}
|
22
ice-server/src/IceServer.h
Normal file
22
ice-server/src/IceServer.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
//
|
||||
// IceServer.h
|
||||
// ice-server/src
|
||||
//
|
||||
// Created by Stephen Birarda on 2014-10-01.
|
||||
// Copyright 2014 High Fidelity, Inc.
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
#ifndef hifi_IceServer_h
|
||||
#define hifi_IceServer_h
|
||||
|
||||
#include <QCoreApplication>
|
||||
|
||||
class IceServer : public QCoreApplication {
|
||||
public:
|
||||
IceServer(int argc, char* argv[]);
|
||||
};
|
||||
|
||||
#endif // hifi_IceServer_h
|
27
ice-server/src/main.cpp
Normal file
27
ice-server/src/main.cpp
Normal file
|
@ -0,0 +1,27 @@
|
|||
//
|
||||
// main.cpp
|
||||
// ice-server/src
|
||||
//
|
||||
// Created by Stephen Birarda on 10/01/12.
|
||||
// Copyright 2014 High Fidelity, Inc.
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
#include <QtCore/QCoreApplication>
|
||||
|
||||
#include <Logging.h>
|
||||
|
||||
#include "IceServer.h"
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
#ifndef WIN32
|
||||
setvbuf(stdout, NULL, _IOLBF, 0);
|
||||
#endif
|
||||
|
||||
qInstallMessageHandler(Logging::verboseMessageHandler);
|
||||
|
||||
IceServer iceServer(argc, argv);
|
||||
return iceServer.exec();
|
||||
}
|
Loading…
Reference in a new issue