diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2013-02-08 13:02:53 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2013-03-14 11:10:08 +0100 |
commit | 473c1d5b2aeb350ef51d8e0b87bd56a76ea122e9 (patch) | |
tree | 46161094930b3944f380f6a3e24d23c076c5b62b | |
parent | 50281544226f88160dbfc299c3a0c6a0c6524d0a (diff) |
Mark Controller::Connect() as private
It's only used internally, external code calls Connect(int retries)
-rw-r--r-- | SpiceXPI/src/plugin/controller.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SpiceXPI/src/plugin/controller.h b/SpiceXPI/src/plugin/controller.h index dbcc424..001d2b3 100644 --- a/SpiceXPI/src/plugin/controller.h +++ b/SpiceXPI/src/plugin/controller.h @@ -72,7 +72,6 @@ public: ~SpiceController(); void SetFilename(const std::string &name); - int Connect(); int Connect(int nRetries); void Disconnect(); uint32_t Write(const void *lpBuffer, uint32_t nBytesToWrite); @@ -80,6 +79,7 @@ public: static int TranslateRC(int nRC); private: + int Connect(); int m_client_socket; std::string m_name; }; |