From b6ffa766b21fe2c985437aa80824a3cd4c384de8 Mon Sep 17 00:00:00 2001 From: Benjamin Dobell Date: Wed, 6 Jul 2011 02:58:28 +1000 Subject: Major 1.3 updates --- heimdall/source/BridgeManager.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'heimdall/source/BridgeManager.h') diff --git a/heimdall/source/BridgeManager.h b/heimdall/source/BridgeManager.h index 06e4d61..c28cd9c 100644 --- a/heimdall/source/BridgeManager.h +++ b/heimdall/source/BridgeManager.h @@ -97,22 +97,23 @@ namespace Heimdall BridgeManager(bool verbose, int communicationDelay); ~BridgeManager(); + bool DetectDevice(void); bool Initialise(void); bool BeginSession(void) const; - bool EndSession(void) const; + bool EndSession(bool reboot) const; bool SendPacket(OutboundPacket *packet, int timeout = 3000) const; bool ReceivePacket(InboundPacket *packet, int timeout = 3000) const; + bool RequestDeviceInfo(unsigned int request, int *result) const; + bool SendPitFile(FILE *file) const; int ReceivePitFile(unsigned char **pitBuffer) const; bool SendFile(FILE *file, int destination, int fileIdentifier = -1) const; bool ReceiveDump(int chipType, int chipId, FILE *file) const; - bool RebootDevice(void) const; - bool IsVerbose(void) const { return (verbose); -- cgit v1.1