Util_SystemGUI.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /************************************************************************************
  2. Filename : Util_SystemGUI.h
  3. Content : OS GUI access, usually for diagnostics.
  4. Created : October 20, 2014
  5. Copyright : Copyright 2014 Oculus VR, LLC All Rights reserved.
  6. Licensed under the Oculus VR Rift SDK License Version 3.2 (the "License");
  7. you may not use the Oculus VR Rift SDK except in compliance with the License,
  8. which is provided at the time of installation or download, or which
  9. otherwise accompanies this software in either electronic or hard copy form.
  10. You may obtain a copy of the License at
  11. http://www.oculusvr.com/licenses/LICENSE-3.2
  12. Unless required by applicable law or agreed to in writing, the Oculus VR SDK
  13. distributed under the License is distributed on an "AS IS" BASIS,
  14. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. See the License for the specific language governing permissions and
  16. limitations under the License.
  17. *************************************************************************************/
  18. #ifndef OVR_Util_SystemGUI_h
  19. #define OVR_Util_SystemGUI_h
  20. #include <stdarg.h>
  21. namespace OVR { namespace Util {
  22. // Displays a modal message box on the default GUI display (not on a VR device).
  23. // The message box interface (e.g. OK button) is not localized.
  24. bool DisplayMessageBox(const char* pTitle, const char* pText);
  25. bool DisplayMessageBoxF(const char* pTitle, const char* pFormat, ...);
  26. bool DisplayMessageBoxVaList(const char* pTitle, const char* pFormat, va_list argList);
  27. } } // namespace OVR::Util
  28. #endif // OVR_Util_SystemGUI_h