obs-studio/build_dependencies/aja/include/ajalibraries/ajabase/system/linux/processimpl.h

30 lines
614 B
C
Raw Normal View History

2023-03-04 18:33:16 +01:00
/* SPDX-License-Identifier: MIT */
/**
@file linux/processimpl.h
@brief Declares the AJAProcessImpl class.
@copyright (C) 2009-2021 AJA Video Systems, Inc. All rights reserved.
**/
#ifndef AJA_PROCESS_IMPL_H
#define AJA_PROCESS_IMPL_H
#include "ajabase/system/system.h"
#include "ajabase/common/common.h"
#include "ajabase/system/process.h"
class AJAProcessImpl
{
public:
AJAProcessImpl();
virtual ~AJAProcessImpl();
static uint64_t GetPid();
static bool IsValid(uint64_t pid);
static bool Activate(uint64_t handle);
static bool Activate(const char* pWindow);
};
#endif // AJA_PROCESS_IMPL_H