27 lines
563 B
C++
27 lines
563 B
C++
/*
|
|
* Copyright (c) 2014, Oculus VR, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*
|
|
*/
|
|
|
|
#ifndef __WSA_STARTUP_SINGLETON_H
|
|
#define __WSA_STARTUP_SINGLETON_H
|
|
|
|
class WSAStartupSingleton
|
|
{
|
|
public:
|
|
WSAStartupSingleton();
|
|
~WSAStartupSingleton();
|
|
static void AddRef(void);
|
|
static void Deref(void);
|
|
|
|
protected:
|
|
static int refCount;
|
|
};
|
|
|
|
#endif
|