X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=proxy%2Ftmtext.h;h=60380d7bf0ce5585614a63f0e8970ad36d96d3b1;hb=ea34109c6df04adac4a39d2e65dd2de7f69b8c43;hp=0a1867af24b0cbfae0c0ea08ffe30c7faf0defcc;hpb=0c0cc161ed4d40e39fc2534d3c8ee6f2a6784968;p=wordring-tm%2Fwordring-tm.git diff --git a/proxy/tmtext.h b/proxy/tmtext.h index 0a1867a..60380d7 100644 --- a/proxy/tmtext.h +++ b/proxy/tmtext.h @@ -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 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;