[Spice-devel] [spice-xpi 06/12] Mark Controller::Connect() as private
Christophe Fergeau
cfergeau at redhat.com
Tue Mar 12 04:23:01 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 9f372a4..5bbf291 100644
--- a/SpiceXPI/src/plugin/controller.h
+++ b/SpiceXPI/src/plugin/controller.h
@@ -73,7 +73,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);
@@ -81,6 +80,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