mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-11 23:13:58 +03:00
69496abbab
into the application.
26 lines
543 B
C++
26 lines
543 B
C++
#ifndef IPRIMARYSCREENFACTORY_H
|
|
#define IPRIMARYSCREENFACTORY_H
|
|
|
|
#include "IInterface.h"
|
|
|
|
class CPrimaryScreen;
|
|
class IPrimaryScreenReceiver;
|
|
class IScreenReceiver;
|
|
|
|
//! Primary screen factory interface
|
|
/*!
|
|
This interface provides factory methods to create primary screens.
|
|
*/
|
|
class IPrimaryScreenFactory : public IInterface {
|
|
public:
|
|
//! Create screen
|
|
/*!
|
|
Create and return a primary screen. The caller must delete the
|
|
returned object.
|
|
*/
|
|
virtual CPrimaryScreen*
|
|
create(IScreenReceiver*, IPrimaryScreenReceiver*) = 0;
|
|
};
|
|
|
|
#endif
|