OSDN Git Service

a2移行前のバックアップ。
[wordring-tm/wordring-tm.git] / proxy / tmtext.h
index 0a1867a..60380d7 100644 (file)
@@ -20,7 +20,7 @@ namespace TM
 {
 
 class Service;
-class SocketConnection;
+class ClientConnection;
 class TextSegment;
 class TextSegmentList;
 
@@ -337,7 +337,7 @@ public:
        typedef std::weak_ptr<TextSegmentList> weak_pointer;
 
 private:
-       TextSegmentList(Service *service, SocketConnection *connection);
+       TextSegmentList(Service *service, ClientConnection *connection);
 
 public:
        // セグメント・リスト。
@@ -355,7 +355,7 @@ public:
        TextSentence::pointer current_sentence();
        void set_current_sentence(TextSentence::pointer sentence);
 
-       SocketConnection* connection();
+       ClientConnection* connection();
 
        // 言語コード。
        int scode() const;
@@ -371,12 +371,12 @@ public:
        // 親子。
        Service* service();
 
-       static pointer create(Service *service, SocketConnection *connection);
+       static pointer create(Service *service, ClientConnection *connection);
 
 private:
        Service *m_service;
 
-       SocketConnection *m_connection; /*!< このリストのオーナーとなるコネクション */
+       ClientConnection *m_connection; /*!< このリストのオーナーとなるコネクション */
        int m_scode; /*!< 原文言語コード。*/
        int m_tcode; /*!< 訳文言語コード。 */
        QUrl m_url;