swift
listmodelbasenetwork.cpp
1 // SPDX-FileCopyrightText: Copyright (C) 2018 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
4 #include "listmodelbase.cpp"
5 
6 namespace swift::gui::models
7 {
8  // see here for the reason of thess forward instantiations
9  // https://isocpp.org/wiki/faq/templates#separate-template-fn-defn-from-decl
10  template class CListModelBase<swift::misc::network::CServerList, true>;
11  template class CListModelBase<swift::misc::network::CUserList, true>;
12  template class CListModelBase<swift::misc::network::CTextMessageList, true>;
13  template class CListModelBase<swift::misc::network::CClientList, false>;
14 
15 } // namespace swift::gui::models
Models to be used with views, mainly QTableView.