Colobot
Classes | Enumerations
system.h File Reference

System functions: time stamps, info dialogs, etc. More...

#include "common/config.h"
#include <memory>
#include <string>
#include <vector>
Include dependency graph for system.h:

Classes

class  CSystemUtils
 Platform-specific utils. More...
 

Enumerations

enum  SystemDialogType {
  SDT_INFO , SDT_WARNING , SDT_ERROR , SDT_YES_NO ,
  SDT_OK_CANCEL
}
 Type of system dialog. More...
 
enum  SystemDialogResult { SDR_OK , SDR_CANCEL , SDR_YES , SDR_NO }
 Result of system dialog. More...
 
enum  SystemTimeUnit { STU_SEC , STU_MSEC , STU_USEC }
 Time unit. More...
 

Detailed Description

System functions: time stamps, info dialogs, etc.

Enumeration Type Documentation

◆ SystemDialogType

Type of system dialog.

Enumerator
SDT_INFO 

Information message.

SDT_WARNING 

Warning message.

SDT_ERROR 

Error message.

SDT_YES_NO 

Yes/No question.

SDT_OK_CANCEL 

Ok/Cancel question.

◆ SystemDialogResult

Result of system dialog.

Means which button was pressed.

◆ SystemTimeUnit

Time unit.

Enumerator
STU_SEC 

seconds

STU_MSEC 

milliseconds

STU_USEC 

microseconds