Enumerations
TypeConstants.h File Reference

Represents type codes that are used in various part of the Haiku API. More...

Enumerations

enum  { ,
  B_ANY_TYPE = 'ANYT',
  B_ATOM_TYPE = 'ATOM',
  B_ATOMREF_TYPE = 'ATMR',
  B_BOOL_TYPE = 'BOOL',
  B_CHAR_TYPE = 'CHAR',
  B_COLOR_8_BIT_TYPE = 'CLRB',
  B_DOUBLE_TYPE = 'DBLE',
  B_FLOAT_TYPE = 'FLOT',
  B_GRAYSCALE_8_BIT_TYPE = 'GRYB',
  B_INT16_TYPE = 'SHRT',
  B_INT32_TYPE = 'LONG',
  B_INT64_TYPE = 'LLNG',
  B_INT8_TYPE = 'BYTE',
  B_LARGE_ICON_TYPE = 'ICON',
  B_MEDIA_PARAMETER_GROUP_TYPE = 'BMCG',
  B_MEDIA_PARAMETER_TYPE = 'BMCT',
  B_MEDIA_PARAMETER_WEB_TYPE = 'BMCW',
  B_MESSAGE_TYPE = 'MSGG',
  B_MESSENGER_TYPE = 'MSNG'
}
 

Variables

System-wide MIME types for handling URLs
const char * B_URL_HTTP
 application/x-vnd.Be.URL.http More...
 
const char * B_URL_HTTPS
 application/x-vnd.Be.URL.https More...
 
const char * B_URL_FTP
 application/x-vnd.Be.URL.ftp More...
 
const char * B_URL_GOPHER
 application/x-vnd.Be.URL.gopher More...
 
const char * B_URL_MAILTO
 application/x-vnd.Be.URL.mailto More...
 
const char * B_URL_NEWS
 application/x-vnd.Be.URL.news More...
 
const char * B_URL_NNTP
 application/x-vnd.Be.URL.nntp More...
 
const char * B_URL_TELNET
 application/x-vnd.Be.URL.telnet More...
 
const char * B_URL_RLOGIN
 application/x-vnd.Be.URL.rlogin More...
 
const char * B_URL_TN3270
 application/x-vnd.Be.URL.tn3270 More...
 
const char * B_URL_WAIS
 application/x-vnd.Be.URL.wais More...
 
const char * B_URL_FILE
 application/x-vnd.Be.URL.file More...
 

Detailed Description

Represents type codes that are used in various part of the Haiku API.

The type codes all refer to a specified type, except one. B_ANY_TYPE can refer to literally any type. This type could be used in case you send or receive data of which you don't know the type, but you want to send or receive it anyway.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
B_ANY_TYPE 

General type when the exact contents is not yet known.

Since
Haiku R1
B_ATOM_TYPE 

Reference to a BAtomic class that was going to be in BeOS R6.

Unused in Haiku.

Since
Haiku R1
B_ATOMREF_TYPE 

Reference to a BAtomic class that was going to be in BeOS R6.

Unused in Haiku.

Since
Haiku R1
B_BOOL_TYPE 

Boolean value.

Since
Haiku R1
B_CHAR_TYPE 

Represents the char type.

Since
Haiku R1
B_COLOR_8_BIT_TYPE 

Represents a one-byte color.

Since
Haiku R1
B_DOUBLE_TYPE 

Represents the double type.

Since
Haiku R1
B_FLOAT_TYPE 

Represents the float type.

Since
Haiku R1
B_GRAYSCALE_8_BIT_TYPE 

Represents a byte-long grayscale value.

Since
Haiku R1
B_INT16_TYPE 

Represents a short type.

Since
Haiku R1
B_INT32_TYPE 

Represents a long type.

Since
Haiku R1
B_INT64_TYPE 

Represents a long long type.

Since
Haiku R1
B_INT8_TYPE 

Represents a char type used for integer storage.

Since
Haiku R1
B_LARGE_ICON_TYPE 

Represents a large icon.

Since
Haiku R1
B_MEDIA_PARAMETER_GROUP_TYPE 

Represents the BParameterGroup type from the media kit.

Since
Haiku R1
B_MEDIA_PARAMETER_TYPE 

Represents the BParameter type from the media kit.

Since
Haiku R1
B_MEDIA_PARAMETER_WEB_TYPE 

Represents the BParameterWeb type from the media kit.

Since
Haiku R1
B_MESSAGE_TYPE 

Represents a BMessage type.

Since
Haiku R1
B_MESSENGER_TYPE 

Represents a BMessenger type.

Since
Haiku R1

Variable Documentation

◆ B_URL_FILE

B_URL_FILE

application/x-vnd.Be.URL.file

Since
Haiku R1

◆ B_URL_FTP

B_URL_FTP

application/x-vnd.Be.URL.ftp

Since
Haiku R1

◆ B_URL_GOPHER

B_URL_GOPHER

application/x-vnd.Be.URL.gopher

Since
Haiku R1

◆ B_URL_HTTP

B_URL_HTTP

application/x-vnd.Be.URL.http

Since
Haiku R1

◆ B_URL_HTTPS

B_URL_HTTPS

application/x-vnd.Be.URL.https

Since
Haiku R1

◆ B_URL_MAILTO

B_URL_MAILTO

application/x-vnd.Be.URL.mailto

Since
Haiku R1

◆ B_URL_NEWS

B_URL_NEWS

application/x-vnd.Be.URL.news

Since
Haiku R1

◆ B_URL_NNTP

B_URL_NNTP

application/x-vnd.Be.URL.nntp

Since
Haiku R1

◆ B_URL_RLOGIN

B_URL_RLOGIN

application/x-vnd.Be.URL.rlogin

Since
Haiku R1

◆ B_URL_TELNET

B_URL_TELNET

application/x-vnd.Be.URL.telnet

Since
Haiku R1

◆ B_URL_TN3270

B_URL_TN3270

application/x-vnd.Be.URL.tn3270

Since
Haiku R1

◆ B_URL_WAIS

B_URL_WAIS

application/x-vnd.Be.URL.wais

Since
Haiku R1