Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Filezilla/src/include/     Datei vom 7.0.2015 mit Größe 710 B image not shown  

Quelle  engine_context.h   Sprache: C

 

#ifndef FILEZILLA_ENGINE_CONTEXT
#define FILEZILLA_ENGINE_CONTEXT

#include <memory>

class CDirectoryCache;
class CEventLoop;
class COptionsBase;
class CPathCache;
class CRateLimiter;
class CSocketEventDispatcher;

// There can be multiple engines, but there can be at most one context
class CFileZillaEngineContext
{
public:
 CFileZillaEngineContext(COptionsBase & options);
 ~CFileZillaEngineContext();

 COptionsBase& GetOptions();
 CEventLoop& GetEventLoop();
 CSocketEventDispatcher& GetSocketEventDispatcher();
 CRateLimiter& GetRateLimiter();
 CDirectoryCache& GetDirectoryCache();
 CPathCache& GetPathCache();

protected:
 COptionsBase& options_;

 class Impl;
 std::unique_ptr<Impl> impl_;
};

#endif

Messung
CHZG
829810093

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland