22 #ifndef __UT_SysSpecific_h__
23 #define __UT_SysSpecific_h__
43 const char *file_to_edit,
50 const char *command_line,
55 const char *command_line,
62 UT_API extern int UTsystem(
const char *command_line,
bool in_shell =
false);
71 const char *selected_file);
76 static inline const char *UTgetOsProc() {
return SYSgetOsProc(); }
98 const char *message_title =
"Houdini Error");
100 const char *help_url,
101 const char *message_title =
"Houdini Error");
103 const char *message_title =
"Houdini");
106 UTvsnprintf(
char *str,
size_t size,
const char *
format, va_list ap)
110 return _vsnprintf(str, size, format, ap);
121 va_copy(ap_copy, ap);
122 result = vsnprintf(str, size, format, ap_copy);
131 #define UTstatic_cast(Type, Data) static_cast<Type>(Data)
133 #endif // __UT_SysSpecific_h__
UT_API const char * UTgetTextEditor(bool &is_graphical)
UT_API bool UTrunTextProgram(const char *command_line, bool blocking, const char *title)
GLsizei const GLchar *const * string
UT_API void UTgetMachineName(UT_String &name, int alphaonly=1)
UT_API int UTsystem(const char *command_line, bool in_shell=false)
UT_API void UTgetProcessor(int &majortype, int &flags)
UT_API UT_StringHolder UTanonymousUserIdentifier()
**But if you need a result
UT_API void UTgetUserMachineName(UT_String &name, int alphaonly=1)
UT_API bool UTopenShell(bool blocking, const char *title)
UT_API void UTopenInFileBrowser(const char *file_path)
UT_API std::string UTunmangleClassNameFromTypeIdName(const std::string &name)
UT_API bool UTdisplayConfirmationWindow(const char *message_text, const char *message_title="Houdini")
UT_API void UTdisplayMessageWindowWithHelpURL(const char *message_text, const char *help_url, const char *message_title="Houdini Error")
GLint GLint GLsizei GLint GLenum format
UT_API void UTopenURLInWebBrowser(const char *url)
GLuint const GLchar * name
UT_API void UTinvokeTextEditor(const char *file_to_edit, bool blocking, const char *title)
UT_API bool UTrunGraphicalProgram(const char *command_line, bool blocking, const char *title)
UT_API void UTdisplayMessageWindow(const char *message_text, const char *message_title="Houdini Error")
UT_API void UTgetUserName(UT_String &name, int alphaonly=1)