summaryrefslogtreecommitdiffstats
path: root/kit/TestStubs.cpp
blob: 16360396a4e0fda2083ad1e71b2584a14be71456 (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
27
28
29
30
31
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
/*
 * Copyright the Collabora Online contributors.
 *
 * SPDX-License-Identifier: MPL-2.0
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

/*
 * Stub missing symbols required for unit tests ...
 */

#include <config.h>

#include "common/Common.hpp"
#include "ChildSession.hpp"
#include "DeltaSimd.h"

void ChildSession::loKitCallback(const int /* type */, const std::string& /* payload */) {}
void ChildSession::disconnect() {}
int ChildSession::getSpeed() { return 0; }
bool ChildSession::_handleInput(const char* /*buffer*/, int /*length*/) { return false; }
bool ChildSession::isTileInsideVisibleArea(const TileDesc& /*tile*/) const { return false; }
ChildSession::~ChildSession() {}

int simd_initPixRowSimd(const uint32_t *, uint32_t *, size_t *, uint64_t *) { return 0; }

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */