1. 4FIPS
  2. PHOTOS
  3. VIDEOS
  4. APPS
  5. CODE
  6. FORUMS
  7. ABOUT
/*
(c) 2004-14 Filip Stoklas, aka FipS, www.4FipS.com
THIS CODE IS FREE - LICENSED UNDER THE MIT LICENSE
*/

#ifndef FS_HEADER__fs_common_os_h__GUARD
#define FS_HEADER__fs_common_os_h__GUARD

#include "fs_config.h"

#include <cstdarg> // va_list
#include <cstdlib> // size_t

namespace fs { namespace os {

void debug_print(const char *text) FS_NOEXCEPT;
bool show_yes_no_dialog(const char *title, const char *text, bool def_ans) FS_NOEXCEPT;

}} // namespace fs::os

namespace fs { namespace str {

void vsnprintf_trunc(char *buf, size_t buf_size, const char *fmt, va_list args) FS_NOEXCEPT;
void snprintf_trunc(char *buf, size_t buf_size, const char *fmt, ...) FS_NOEXCEPT;

}} // namespace fs::str

#endif // FS_HEADER__fs_common_os_h__GUARD