2013-07-02 20:28:42 -04: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"
|
|
|
|
|
2014-01-21 14:32:00 -05:00
|
|
|
#if wxUSE_EVENTLOOP_SOURCE
|
|
|
|
|
2013-07-02 20:28:42 -04:00
|
|
|
class WXDLLIMPEXP_BASE wxEventLoopSourcesManagerBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual wxEventLoopSource*
|
|
|
|
AddSourceForFD(int fd, wxEventLoopSourceHandler *handler, int flags) = 0;
|
2014-01-21 14:32:00 -05:00
|
|
|
|
|
|
|
virtual ~wxEventLoopSourcesManagerBase() { }
|
2013-07-02 20:28:42 -04:00
|
|
|
};
|
|
|
|
|
2014-01-21 14:32:00 -05:00
|
|
|
#endif // wxUSE_EVENTLOOP_SOURCE
|
|
|
|
|
2013-07-02 20:28:42 -04:00
|
|
|
#endif // _WX_PRIVATE_EVENTLOOPSOURCESMANAGER_H_
|