Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ProjectionTarget.hpp - github.com/neutrinolabs/ulalaca-xrdp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: db242e73bd3daaa03d7a2229e80c1cc56a224745 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
// Created by Gyuhwan Park on 2022/05/06.
//

#ifndef ULALACA_PROJECTIONCONTEXT_HPP
#define ULALACA_PROJECTIONCONTEXT_HPP

#include <cstdint>
#include <utility>

#include "messages/projector.h"

class ProjectionTarget {
public:
    virtual void addDirtyRect(ULIPCRect &rect) = 0;
    
    virtual void commitUpdate(
        const uint8_t *image,
        size_t size,
        int32_t width, int32_t height
    ) = 0;

    virtual void ipcDisconnected() = 0;
};

#endif //ULALACA_PROJECTIONCONTEXT_HPP