2013-09-22 22:44:55 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/private/eventloopsourcesmanager.h
|
|
|
|
// Purpose: declares wxEventLoopSourcesManagerBase class
|
|
|
|
// Author: Rob Bresalier
|
|
|
|
// Created: 2013-06-19
|
|
|
|
// Copyright: (c) 2013 Rob Bresalier
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_PRIVATE_EVENTLOOPSOURCESMANAGER_H_
|
|
|
|
#define _WX_PRIVATE_EVENTLOOPSOURCESMANAGER_H_
|
|
|
|
|
|
|
|
// For pulling in the value of wxUSE_EVENTLOOP_SOURCE
|
|
|
|
#include "wx/evtloop.h"
|
|
|
|
|
2016-06-26 05:25:29 +00:00
|
|
|
#if wxUSE_EVENTLOOP_SOURCE
|
|
|
|
|
2013-09-22 22:44:55 +00:00
|
|
|
class WXDLLIMPEXP_BASE wxEventLoopSourcesManagerBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual wxEventLoopSource*
|
|
|
|
AddSourceForFD(int fd, wxEventLoopSourceHandler *handler, int flags) = 0;
|
2016-06-26 05:25:29 +00:00
|
|
|
|
|
|
|
virtual ~wxEventLoopSourcesManagerBase() { }
|
2013-09-22 22:44:55 +00:00
|
|
|
};
|
|
|
|
|
2016-06-26 05:25:29 +00:00
|
|
|
#endif // wxUSE_EVENTLOOP_SOURCE
|
|
|
|
|
2013-09-22 22:44:55 +00:00
|
|
|
#endif // _WX_PRIVATE_EVENTLOOPSOURCESMANAGER_H_
|