[Spice-devel] [spice-xpi PATCHv2 06/12] Mark Controller::Connect() as private
Christophe Fergeau
cfergeau at redhat.com
Wed Mar 13 03:15:40 PDT 2013
It's only used internally, external code calls Connect(int retries)
---
SpiceXPI/src/plugin/controller.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
};
--
1.8.1.4
More information about the Spice-devel
mailing list