mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 18:56:55 +02:00
update boilerplate and include guards for other new files
This commit is contained in:
parent
5a79079c09
commit
3fe5af1505
10 changed files with 51 additions and 33 deletions
|
@ -9,8 +9,8 @@
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef __hifi__DTLSServerSession__
|
#ifndef hifi_DTLSServerSession_h
|
||||||
#define __hifi__DTLSServerSession__
|
#define hifi_DTLSServerSession_h
|
||||||
|
|
||||||
#include <gnutls/dtls.h>
|
#include <gnutls/dtls.h>
|
||||||
|
|
||||||
|
@ -21,4 +21,4 @@ public:
|
||||||
DTLSServerSession(QUdpSocket& dtlsSocket, HifiSockAddr& destinationSocket);
|
DTLSServerSession(QUdpSocket& dtlsSocket, HifiSockAddr& destinationSocket);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* defined(__hifi__DTLSServerSession__) */
|
#endif // hifi_DTLSServerSession_h
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef __hifi__DTLSClientSession__
|
#ifndef hifi_DTLSClientSession_h
|
||||||
#define __hifi__DTLSClientSession__
|
#define hifi_DTLSClientSession_h
|
||||||
|
|
||||||
#include "DTLSSession.h"
|
#include "DTLSSession.h"
|
||||||
|
|
||||||
|
@ -27,4 +27,4 @@ public:
|
||||||
static bool _wasGloballyInitialized;
|
static bool _wasGloballyInitialized;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* defined(__hifi__DTLSClientSession__) */
|
#endif // hifi_DTLSClientSession_h
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef __hifi__DTLSSession__
|
#ifndef hifi_DTLSSession_h
|
||||||
#define __hifi__DTLSSession__
|
#define hifi_DTLSSession_h
|
||||||
|
|
||||||
#include <QtNetwork/QUdpSocket>
|
#include <QtNetwork/QUdpSocket>
|
||||||
|
|
||||||
|
@ -41,4 +41,4 @@ protected:
|
||||||
bool _completedHandshake;
|
bool _completedHandshake;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* defined(__hifi__DTLSSession__) */
|
#endif // hifi_DTLSSession_h
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
//
|
//
|
||||||
// DomainHandler.cpp
|
// DomainHandler.cpp
|
||||||
// hifi
|
// libraries/shared/src
|
||||||
//
|
//
|
||||||
// Created by Stephen Birarda on 2/18/2014.
|
// Created by Stephen Birarda on 2/18/2014.
|
||||||
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved.
|
// 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 <gnutls/dtls.h>
|
#include <gnutls/dtls.h>
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
//
|
//
|
||||||
// DomainHandler.h
|
// DomainHandler.h
|
||||||
// hifi
|
// libraries/shared/src
|
||||||
//
|
//
|
||||||
// Created by Stephen Birarda on 2/18/2014.
|
// Created by Stephen Birarda on 2/18/2014.
|
||||||
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved.
|
// 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__DomainHandler__
|
#ifndef hifi_DomainHandler_h
|
||||||
#define __hifi__DomainHandler__
|
#define hifi_DomainHandler_h
|
||||||
|
|
||||||
#include <QtCore/QObject>
|
#include <QtCore/QObject>
|
||||||
#include <QtCore/QTimer>
|
#include <QtCore/QTimer>
|
||||||
|
@ -76,4 +79,4 @@ private:
|
||||||
QTimer* _handshakeTimer;
|
QTimer* _handshakeTimer;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* defined(__hifi__DomainHandler__) */
|
#endif // hifi_DomainHandler_h
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef __hifi__DummyDTLSSession__
|
#ifndef hifi_DummyDTLSSession_h
|
||||||
#define __hifi__DummyDTLSSession__
|
#define hifi_DummyDTLSSession_h
|
||||||
|
|
||||||
#include <QtNetwork/QUdpSocket>
|
#include <QtNetwork/QUdpSocket>
|
||||||
|
|
||||||
|
@ -31,4 +31,4 @@ protected:
|
||||||
HifiSockAddr _destinationSocket;
|
HifiSockAddr _destinationSocket;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* defined(__hifi__DummyDTLSSession__) */
|
#endif // hifi_DummyDTLSSession_h
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
//
|
//
|
||||||
// HifiConfigVariantMap.cpp
|
// HifiConfigVariantMap.cpp
|
||||||
// hifi
|
// libraries/shared/src
|
||||||
//
|
//
|
||||||
// Created by Stephen Birarda on 2014-04-08.
|
// Created by Stephen Birarda on 2014-04-08.
|
||||||
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved.
|
// 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/QDebug>
|
#include <QtCore/QDebug>
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
//
|
//
|
||||||
// HifiConfigVariantMap.h
|
// HifiConfigVariantMap.h
|
||||||
// hifi
|
// libraries/shared/src
|
||||||
//
|
//
|
||||||
// Created by Stephen Birarda on 2014-04-08.
|
// Created by Stephen Birarda on 2014-04-08.
|
||||||
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved.
|
// 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__HifiConfigVariantMap__
|
#ifndef hifi_HifiConfigVariantMap_h
|
||||||
#define __hifi__HifiConfigVariantMap__
|
#define hifi_HifiConfigVariantMap_h
|
||||||
|
|
||||||
#include <QtCore/QStringList>
|
#include <QtCore/QStringList>
|
||||||
|
|
||||||
|
@ -16,4 +19,4 @@ public:
|
||||||
static QVariantMap mergeCLParametersWithJSONConfig(const QStringList& argumentList);
|
static QVariantMap mergeCLParametersWithJSONConfig(const QStringList& argumentList);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* defined(__hifi__HifiConfigVariantMap__) */
|
#endif // hifi_HifiConfigVariantMap_h
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
//
|
//
|
||||||
// LimitedNodeList.cpp
|
// LimitedNodeList.cpp
|
||||||
// hifi
|
// libraries/shared/src
|
||||||
//
|
//
|
||||||
// Created by Stephen Birarda on 2/15/13.
|
// Created by Stephen Birarda on 2/15/13.
|
||||||
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved.
|
// Copyright 2013 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 <cstring>
|
#include <cstring>
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
//
|
//
|
||||||
// LimitedNodeList.h
|
// LimitedNodeList.h
|
||||||
// hifi
|
// libraries/shared/src
|
||||||
//
|
//
|
||||||
// Created by Stephen Birarda on 2/15/13.
|
// Created by Stephen Birarda on 2/15/13.
|
||||||
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved.
|
// Copyright 2013 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__LimitedNodeList__
|
#ifndef hifi_LimitedNodeList_h
|
||||||
#define __hifi__LimitedNodeList__
|
#define hifi_LimitedNodeList_h
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include "Syssocket.h"
|
#include "Syssocket.h"
|
||||||
|
@ -132,4 +135,4 @@ protected:
|
||||||
QElapsedTimer _packetStatTimer;
|
QElapsedTimer _packetStatTimer;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* defined(__hifi__LimitedNodeList__) */
|
#endif // hifi_LimitedNodeList_h
|
||||||
|
|
Loading…
Reference in a new issue