mumble/plugins/HostLinux.h
Davide Beatrici 5b7f95b54f REFAC(positional-audio): Define "procid_t" as "uint64_t" instead of "uint32_t"
This allows us to take advantage of the full range provided by the plugin API.
2022-06-05 02:48:50 +02:00

28 lines
607 B
C++

// Copyright 2020-2022 The Mumble Developers. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
#ifndef HOSTLINUX_H_
#define HOSTLINUX_H_
#include "Module.h"
using procid_t = uint64_t;
class HostLinux {
protected:
procid_t m_pid;
public:
bool peek(const procptr_t address, void *dst, const size_t size) const;
Modules modules() const;
static bool isWine(const procid_t id);
HostLinux(const procid_t pid);
virtual ~HostLinux();
};
#endif