Message::Type Class Reference

One of possible, Doomseeker recognizable error types. More...

#include <message.h>

Static Public Attributes

static const unsigned BANNED_FROM_MASTERSERVER = CUSTOM_ERROR + 1
 Information indicating that current player is banned from given server. More...
 
static const unsigned CANCELLED = 2
 Message indicates that the operation was cancelled. More...
 
static const unsigned CUSTOM_ERROR = 0x7fffffff
 Programmer-defined error message. More...
 
static const unsigned CUSTOM_INFORMATION = 1
 Programmer-defined information message, not an error. More...
 
static const unsigned GAME_NOT_FOUND_BUT_CAN_BE_INSTALLED = CUSTOM_ERROR + 2
 Indicates that program executable was not found, but Doomseeker or plugin are capable of performing the installation. More...
 
static const unsigned IGNORE_TYPE = 0
 'Null' Message object; ignore it. More...
 
static const unsigned SUCCESSFUL = 3
 Message indicates that the operation was successful. More...
 

Detailed Description

One of possible, Doomseeker recognizable error types.

Doomseeker may take certain actions depending on the type of the Message. This is largely dependent on the situation. However, in general, IGNORE_TYPE messages are... ignored silently, while all error type messages are displayed in one manner or another. Methods that use Message objects describe any behavior that differs from standard or might be unexpected.

Definition at line 76 of file message.h.

Member Data Documentation

const unsigned Message::Type::BANNED_FROM_MASTERSERVER = CUSTOM_ERROR + 1
static

Information indicating that current player is banned from given server.

Definition at line 111 of file message.h.

const unsigned Message::Type::CANCELLED = 2
static

Message indicates that the operation was cancelled.

Definition at line 94 of file message.h.

const unsigned Message::Type::CUSTOM_ERROR = 0x7fffffff
static

Programmer-defined error message.

This is used for display and may interrupt any affected operation.

Definition at line 106 of file message.h.

const unsigned Message::Type::CUSTOM_INFORMATION = 1
static

Programmer-defined information message, not an error.

This is used for display only and no parsing other than severity determination is performed.

Definition at line 90 of file message.h.

const unsigned Message::Type::GAME_NOT_FOUND_BUT_CAN_BE_INSTALLED = CUSTOM_ERROR + 2
static

Indicates that program executable was not found, but Doomseeker or plugin are capable of performing the installation.

Definition at line 117 of file message.h.

const unsigned Message::Type::IGNORE_TYPE = 0
static

'Null' Message object; ignore it.

Definition at line 82 of file message.h.

const unsigned Message::Type::SUCCESSFUL = 3
static

Message indicates that the operation was successful.

Definition at line 98 of file message.h.


The documentation for this class was generated from the following file: