aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/client/Client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/client/Client.h')
-rw-r--r--src/lib/client/Client.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/client/Client.h b/src/lib/client/Client.h
index 7e566be..c172af2 100644
--- a/src/lib/client/Client.h
+++ b/src/lib/client/Client.h
@@ -2,11 +2,11 @@
* barrier -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
- *
+ *
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
- *
+ *
* This package is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -90,11 +90,11 @@ public:
//! Create a new thread and use it to send file to Server
void sendFileToServer(const char* filename);
-
+
//! Send dragging file information back to server
void sendDragInfo(UInt32 fileCount, std::string& info, size_t size);
-
+
//@}
//! @name accessors
//@{
@@ -118,8 +118,8 @@ public:
to connect) to.
*/
NetworkAddress getServerAddress() const;
-
- //! Return true if recieved file size is valid
+
+ //! Return true if received file size is valid
bool isReceivedFileSizeValid();
//! Return expected file size
@@ -167,8 +167,8 @@ private:
void sendEvent(Event::Type, void*);
void sendConnectionFailedEvent(const char* msg);
void sendFileChunk(const void* data);
- void sendFileThread(void*);
- void writeToDropDirThread(void*);
+ void send_file_thread(const char* filename);
+ void write_to_drop_dir_thread();
void setupConnecting();
void setupConnection();
void setupScreen();