deskflow/src/lib/base/IJob.h

22 lines
485 B
C
Raw Normal View History

2012-06-10 16:50:54 +00:00
/*
* Deskflow -- mouse and keyboard sharing utility
* SPDX-FileCopyrightText: (C) 2025 Deskflow Developers
* SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
* SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
2012-06-10 16:50:54 +00:00
*/
#pragma once
2012-06-10 16:50:54 +00:00
//! Job interface
/*!
A job is an interface for executing some function.
*/
class IJob
{
2012-06-10 16:50:54 +00:00
public:
virtual ~IJob() = default;
//! Run the job
virtual void run() = 0;
2012-06-10 16:50:54 +00:00
};