Ignore:
Timestamp:
02/14/13 16:02:05 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 3 'hg:/home/ivaradi/xplane/hg/xplra' '/'>, 'public')
Message:

Added basic support for showing a message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/plugin/src/xplra/Protocol.h

    r36 r38  
    9797
    9898    /**
     99     * Command: show a message in the message window.
     100     */
     101    static const uint8_t COMMAND_SHOW_MESSAGE = 0x41;
     102
     103    /**
    99104     * Data type: int
    100105     */
     
    165170     */
    166171    static const uint8_t RESULT_INVALID_ID = 0x07;
     172
     173    /**
     174     * Result code: invalid duration
     175     */
     176    static const uint8_t RESULT_INVALID_DURATION = 0x08;
    167177
    168178    /**
     
    181191     */
    182192    static const size_t MAX_MULTI_COUNT = 1024;
     193
     194    /**
     195     * The maximal message duration
     196     */
     197    static const float MAX_MESSAGE_DURATION = 5*60;
    183198
    184199    /**
Note: See TracChangeset for help on using the changeset viewer.