Ignore:
Timestamp:
02/04/13 18:47:38 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Moved the registration code into MultiBuffer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/client/c/hu/varadiistvan/xplra/MultiBuffer.h

    r19 r22  
    133133
    134134    /**
     135     * The command to use for registering the buffer.
     136     */
     137    uint8_t registerCommand;
     138
     139    /**
    135140     * The command to unregister the buffer.
    136141     */
     
    147152     * Construct an empty buffer for the given XPlane instance.
    148153     */
    149     MultiBuffer(XPlane& xplane) throw();
     154    MultiBuffer(XPlane& xplane, uint8_t registerCommand,
     155                uint8_t unregisterCommand) throw();
    150156
    151157public:
     
    452458
    453459protected:
    454     /**
    455      * Perform the first part of the registration depending on the
    456      * actual type.
    457      */
    458     virtual uint8_t doRegister() throw(Exception) = 0;
    459 
    460460    /**
    461461     * Perform the main part of the execution if the buffer is
Note: See TracChangeset for help on using the changeset viewer.