update boilerplate and include guards for other new files

This commit is contained in:
Stephen Birarda 2014-04-09 15:08:56 -07:00
parent 5a79079c09
commit 3fe5af1505
10 changed files with 51 additions and 33 deletions

View file

@ -9,8 +9,8 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef __hifi__DTLSServerSession__
#define __hifi__DTLSServerSession__
#ifndef hifi_DTLSServerSession_h
#define hifi_DTLSServerSession_h
#include <gnutls/dtls.h>
@ -21,4 +21,4 @@ public:
DTLSServerSession(QUdpSocket& dtlsSocket, HifiSockAddr& destinationSocket);
};
#endif /* defined(__hifi__DTLSServerSession__) */
#endif // hifi_DTLSServerSession_h

View file

@ -9,8 +9,8 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef __hifi__DTLSClientSession__
#define __hifi__DTLSClientSession__
#ifndef hifi_DTLSClientSession_h
#define hifi_DTLSClientSession_h
#include "DTLSSession.h"
@ -27,4 +27,4 @@ public:
static bool _wasGloballyInitialized;
};
#endif /* defined(__hifi__DTLSClientSession__) */
#endif // hifi_DTLSClientSession_h

View file

@ -9,8 +9,8 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef __hifi__DTLSSession__
#define __hifi__DTLSSession__
#ifndef hifi_DTLSSession_h
#define hifi_DTLSSession_h
#include <QtNetwork/QUdpSocket>
@ -41,4 +41,4 @@ protected:
bool _completedHandshake;
};
#endif /* defined(__hifi__DTLSSession__) */
#endif // hifi_DTLSSession_h

View file

@ -1,9 +1,12 @@
//
// DomainHandler.cpp
// hifi
// libraries/shared/src
//
// 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>

View file

@ -1,13 +1,16 @@
//
// DomainHandler.h
// hifi
// libraries/shared/src
//
// 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__
#define __hifi__DomainHandler__
#ifndef hifi_DomainHandler_h
#define hifi_DomainHandler_h
#include <QtCore/QObject>
#include <QtCore/QTimer>
@ -76,4 +79,4 @@ private:
QTimer* _handshakeTimer;
};
#endif /* defined(__hifi__DomainHandler__) */
#endif // hifi_DomainHandler_h

View file

@ -9,8 +9,8 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef __hifi__DummyDTLSSession__
#define __hifi__DummyDTLSSession__
#ifndef hifi_DummyDTLSSession_h
#define hifi_DummyDTLSSession_h
#include <QtNetwork/QUdpSocket>
@ -31,4 +31,4 @@ protected:
HifiSockAddr _destinationSocket;
};
#endif /* defined(__hifi__DummyDTLSSession__) */
#endif // hifi_DummyDTLSSession_h

View file

@ -1,9 +1,12 @@
//
// HifiConfigVariantMap.cpp
// hifi
// libraries/shared/src
//
// 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>

View file

@ -1,13 +1,16 @@
//
// HifiConfigVariantMap.h
// hifi
// libraries/shared/src
//
// 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__
#define __hifi__HifiConfigVariantMap__
#ifndef hifi_HifiConfigVariantMap_h
#define hifi_HifiConfigVariantMap_h
#include <QtCore/QStringList>
@ -16,4 +19,4 @@ public:
static QVariantMap mergeCLParametersWithJSONConfig(const QStringList& argumentList);
};
#endif /* defined(__hifi__HifiConfigVariantMap__) */
#endif // hifi_HifiConfigVariantMap_h

View file

@ -1,9 +1,12 @@
//
// LimitedNodeList.cpp
// hifi
// libraries/shared/src
//
// 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>

View file

@ -1,13 +1,16 @@
//
// LimitedNodeList.h
// hifi
// libraries/shared/src
//
// 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__
#define __hifi__LimitedNodeList__
#ifndef hifi_LimitedNodeList_h
#define hifi_LimitedNodeList_h
#ifdef _WIN32
#include "Syssocket.h"
@ -132,4 +135,4 @@ protected:
QElapsedTimer _packetStatTimer;
};
#endif /* defined(__hifi__LimitedNodeList__) */
#endif // hifi_LimitedNodeList_h