source: filezilla/trunk/fuentes/src/engine/FileZillaEngine.cpp @ 130

Last change on this file since 130 was 130, checked in by jrpelegrina, 4 years ago

First release to xenial

File size: 1.7 KB
Line 
1// FileZillaEngine.cpp: Implementierung der Klasse CFileZillaEngine.
2//
3//////////////////////////////////////////////////////////////////////
4
5#include <filezilla.h>
6#include "ControlSocket.h"
7#include "directorycache.h"
8#include "engineprivate.h"
9
10CFileZillaEngine::CFileZillaEngine(CFileZillaEngineContext& engine_context)
11        : impl_(new CFileZillaEnginePrivate(engine_context, *this))
12{
13}
14
15CFileZillaEngine::~CFileZillaEngine()
16{
17        delete impl_;
18}
19
20int CFileZillaEngine::Init(wxEvtHandler *pEventHandler)
21{
22        return impl_->Init(pEventHandler);
23}
24
25int CFileZillaEngine::Execute(const CCommand &command)
26{
27        return impl_->Execute(command);
28}
29
30std::unique_ptr<CNotification> CFileZillaEngine::GetNextNotification()
31{
32        return impl_->GetNextNotification();
33}
34
35bool CFileZillaEngine::SetAsyncRequestReply(std::unique_ptr<CAsyncRequestNotification> && pNotification)
36{
37        return impl_->SetAsyncRequestReply(std::move(pNotification));
38}
39
40bool CFileZillaEngine::IsPendingAsyncRequestReply(std::unique_ptr<CAsyncRequestNotification> const& pNotification)
41{
42        return impl_->IsPendingAsyncRequestReply(pNotification);
43}
44
45bool CFileZillaEngine::IsActive(enum CFileZillaEngine::_direction direction)
46{
47        return CFileZillaEnginePrivate::IsActive(direction);
48}
49
50CTransferStatus CFileZillaEngine::GetTransferStatus(bool &changed)
51{
52        return impl_->GetTransferStatus(changed);
53}
54
55int CFileZillaEngine::CacheLookup(const CServerPath& path, CDirectoryListing& listing)
56{
57        return impl_->CacheLookup(path, listing);
58}
59
60int CFileZillaEngine::Cancel()
61{
62        return impl_->Cancel();
63}
64
65bool CFileZillaEngine::IsBusy() const
66{
67        return impl_->IsBusy();
68}
69
70bool CFileZillaEngine::IsConnected() const
71{
72        return impl_->IsConnected();
73}
Note: See TracBrowser for help on using the repository browser.