WSAStartupSingleton.h 589 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) 2014, Oculus VR, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. *
  9. */
  10. #ifndef __WSA_STARTUP_SINGLETON_H
  11. #define __WSA_STARTUP_SINGLETON_H
  12. class WSAStartupSingleton
  13. {
  14. public:
  15. WSAStartupSingleton();
  16. ~WSAStartupSingleton();
  17. static void AddRef(void);
  18. static void Deref(void);
  19. protected:
  20. static int refCount;
  21. };
  22. #endif
粤ICP备19079148号