{
class Service;
-class SocketConnection;
+class ClientConnection;
class TextSegment;
class TextSegmentList;
typedef std::weak_ptr<TextSegmentList> weak_pointer;
private:
- TextSegmentList(Service *service, SocketConnection *connection);
+ TextSegmentList(Service *service, ClientConnection *connection);
public:
// セグメント・リスト。
TextSentence::pointer current_sentence();
void set_current_sentence(TextSentence::pointer sentence);
- SocketConnection* connection();
+ ClientConnection* connection();
// 言語コード。
int scode() const;
// 親子。
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;