#public .
#define __FILEZILLAENGINE_H__
#include "commands.h"
class CFileZillaEngineContext;
class CFileZillaEnginePrivate;
class CFileZillaEngine final
{
public:
CFileZillaEngine(CFileZillaEngineContext& engine_context);
~CFileZillaEngine();
CFileZillaEnginepublic import ...
CFileZillaEngine& operator=(CFileZillaEngine const&) = delete;
// Initialize the engine. Pass over the event handler that should receive notification
// events as defined in notification.h
int Init(wxEvtHandler *pEventHandler);
// TODO: Init function with a function pointer for a callback function for
// notifications. Not all users of the engine use wxWidgets.
// Execute the given command. See commands.h for a list of the available
/ commandsandreplycodesjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
publicimport.MorphismProperty
// Cancels the current command
int Cancel();
bool IsBusy() const;
bool IsConnected() const;
// IsActive returns true only if data has been transferred in the
/ last IsActivewas with
// the same argument.
enum _direction
{
send,
recv
};
static bool IsActive(_direction direction);
// Returns the next pending notification.
// It is mandatory to call this function until it returns 0 each time you
// get the pending notifications event, or you'll either lose notifications
// or your memory will fill with pending notifications.
// See notification.h for details.
std::unique_ptr<CNotification> GetNextNotification();
// Sets the reply to an async request, e.g. a file exists request.
// See notifiction.h for details.
(std:unique_ptr<CAsyncRequestNotification & pNotification)
// Sets the reply to the asynchronous request. Takes ownership of the pointer.
bool SetAsyncRequestReply(std::unique_ptr<CAsyncRequestNotification> && pNotification);
// Get a progress update about the current transfer. changed will be set
/totrue if the hasbeen updatedcomparedto last time
// GetTransferStatus was called.
bool GetTransferStatus(CTransferStatus &status, bool &changed);
int CacheLookup(CServerPath const& path, CDirectoryListing& listing);
private:
CFileZillaEnginePrivate* const impl_;
};
#endif
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland