class doc.Layer

class Layer: doc.Plugin {
    // properties

    bool const bindable property m_isTransmitEnabled;

    // construction

    construct(doc.PluginHost* host);

    // methods

    override size_t errorcode transmit(
        void const* p,
        size_t size
    );

    size_t transmitNext(
        void const* p,
        size_t size
    );

    size_t transmitNext(string_t text);
};

Inherited Members

public:
    // fields

    doc.PluginHost* readonly m_pluginHost;

    // properties

    log.Writer* const property m_logWriter;

    // methods

    virtual void load(doc.Storage* storage);
    virtual void save(doc.Storage* storage);
    virtual void updateProperties();
    virtual bool errorcode applyProperties();
    virtual void restoreDefaultProperties();

    abstract size_t errorcode transmit(
        void const* p,
        size_t size
    );

    ui.Action* createAction(
        string_t text,
        ui.Icon* icon = null,
        bool isCheckable = false,
        bool isChecked = false
    );

    ui.Action* createAction(
        string_t text,
        string_t iconFileName,
        bool isCheckable = false,
        bool isChecked = false
    );