From 094e54d1220708cb0f146aca36fa40cf58f29617 Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 25 Mar 2022 16:23:09 +0100 Subject: [PATCH] added cmake list for files in GUI --- retroshare-gui/src/CMakeLists.txt | 1291 +++++++++++++++++++++++++++++ 1 file changed, 1291 insertions(+) create mode 100644 retroshare-gui/src/CMakeLists.txt diff --git a/retroshare-gui/src/CMakeLists.txt b/retroshare-gui/src/CMakeLists.txt new file mode 100644 index 000000000..871175869 --- /dev/null +++ b/retroshare-gui/src/CMakeLists.txt @@ -0,0 +1,1291 @@ +################################################################################ +# uselibresapi.pri # +# Copyright (C) 2018, Retroshare team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Affero General Public License as # +# published by the Free Software Foundation, either version 3 of the # +# License, or (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU Affero General Public License for more details. # +# # +# You should have received a copy of the GNU Affero General Public License # +# along with this program. If not, see . # +################################################################################ + +list( + APPEND RS_SOURCES + TorControl/TorControlWindow.cpp + + main.cpp + rshare.cpp + + gui/notifyqt.cpp + gui/AboutDialog.cpp + gui/AboutWidget.cpp + gui/QuickStartWizard.cpp + gui/StartDialog.cpp + gui/HomePage.cpp + gui/PluginsPage.cpp + gui/PluginManagerWidget.cpp + gui/PluginManager.cpp + gui/ChatLobbyWidget.cpp + gui/GetStartedDialog.cpp + gui/GenCertDialog.cpp + gui/NetworkDialog.cpp + gui/mainpagestack.cpp + gui/MainWindow.cpp + gui/NetworkView.cpp + gui/FriendsDialog.cpp + gui/ServicePermissionDialog.cpp + gui/RemoteDirModel.cpp + gui/RsAutoUpdatePage.cpp + gui/RetroShareLink.cpp + gui/SearchTreeWidget.cpp + gui/ShareManager.cpp + gui/ShareDialog.cpp + gui/NewsFeed.cpp + gui/SFListDelegate.cpp + gui/MainPage.cpp + gui/HelpDialog.cpp + gui/LogoBar.cpp + gui/SoundManager.cpp + + gui/im_history/ImHistoryBrowser.cpp + gui/im_history/IMHistoryItemDelegate.cpp + gui/im_history/IMHistoryItemPainter.cpp + + gui/help/browser/helpbrowser.cpp + gui/help/browser/helptextbrowser.cpp + + gui/FileTransfer/SearchDialog.cpp + gui/FileTransfer/SharedFilesDialog.cpp + gui/FileTransfer/TransfersDialog.cpp + gui/FileTransfer/FileTransferInfoWidget.cpp + gui/FileTransfer/DLListDelegate.cpp + gui/FileTransfer/ULListDelegate.cpp + gui/FileTransfer/xprogressbar.cpp + gui/FileTransfer/DetailsDialog.cpp + gui/FileTransfer/TransferUserNotify.cpp + gui/FileTransfer/BannedFilesDialog.cpp + + lang/languagesupport.cpp + + util/RsProtectedTimer.cpp + util/stringutil.cpp + util/RsNetUtil.cpp + util/DateTime.cpp + util/RetroStyleLabel.cpp + util/WidgetBackgroundImage.cpp + util/NonCopyable.cpp + util/PixmapMerging.cpp + util/MouseEventFilter.cpp + util/EventFilter.cpp + util/Widget.cpp + util/RsAction.cpp + util/printpreview.cpp + util/log.cpp + util/misc.cpp + util/HandleRichText.cpp + util/ObjectPainter.cpp + util/RsFile.cpp + util/RichTextEdit.cpp + util/ClickableLabel.cpp + util/AspectRatioPixmapLabel.cpp + + gui/profile/ProfileWidget.cpp + gui/profile/StatusMessage.cpp + gui/profile/ProfileManager.cpp + + gui/chat/PopupChatWindow.cpp + gui/chat/PopupChatDialog.cpp + gui/chat/PopupDistantChatDialog.cpp + gui/chat/ChatTabWidget.cpp + gui/chat/ChatWidget.cpp + gui/chat/ChatDialog.cpp + gui/chat/ChatLobbyDialog.cpp + gui/chat/CreateLobbyDialog.cpp + gui/chat/ChatStyle.cpp + gui/chat/ChatUserNotify.cpp + gui/chat/ChatLobbyUserNotify.cpp + + gui/connect/ConfCertDialog.cpp + gui/connect/PGPKeyDialog.cpp + gui/connect/ConnectFriendWizard.cpp + gui/connect/ConnectProgressDialog.cpp + gui/connect/FriendRecommendDialog.cpp + + gui/msgs/MessagesDialog.cpp + gui/msgs/MessageComposer.cpp + gui/msgs/MessageWidget.cpp + gui/msgs/MessageWindow.cpp + gui/msgs/MessageModel.cpp + gui/msgs/TagsMenu.cpp + gui/msgs/MessageUserNotify.cpp + + gui/common/RsButtonOnText.cpp + gui/common/RSGraphWidget.cpp + gui/common/ElidedLabel.cpp + gui/common/vmessagebox.cpp + gui/common/RsCollectionDialog.cpp + gui/common/RsCollection.cpp + gui/common/RsUrlHandler.cpp + gui/common/rwindow.cpp + gui/common/rshtml.cpp + gui/common/AvatarDefs.cpp + gui/common/AvatarDialog.cpp + gui/common/GroupFlagsWidget.cpp + gui/common/GroupSelectionBox.cpp + gui/common/GroupChooser.cpp + gui/common/StatusDefs.cpp + gui/common/TagDefs.cpp + gui/common/GroupDefs.cpp + gui/common/Emoticons.cpp + gui/common/RSComboBox.cpp + gui/common/RSListWidgetItem.cpp + gui/common/RSTextEdit.cpp + gui/common/RSPlainTextEdit.cpp + gui/common/RSTreeWidget.cpp + gui/common/RSTreeWidgetItem.cpp + gui/common/RSFeedWidget.cpp + gui/common/RSTabWidget.cpp + gui/common/RSElidedItemDelegate.cpp + gui/common/RSItemDelegate.cpp + gui/common/PeerDefs.cpp + gui/common/FilesDefs.cpp + gui/common/PopularityDefs.cpp + gui/common/RsBanListDefs.cpp + gui/common/GroupTreeWidget.cpp + gui/common/RSTreeView.cpp + gui/common/AvatarWidget.cpp + gui/common/FriendListModel.cpp + gui/common/NewFriendList.cpp + gui/common/FriendSelectionWidget.cpp + gui/common/FriendSelectionDialog.cpp + gui/common/HashBox.cpp + gui/common/LineEditClear.cpp + gui/common/DropLineEdit.cpp + gui/common/RSTextBrowser.cpp + gui/common/RSImageBlockWidget.cpp + gui/common/FeedNotify.cpp + gui/common/UserNotify.cpp + gui/common/HeaderFrame.cpp + gui/common/MimeTextEdit.cpp + gui/common/UIStateHelper.cpp + gui/common/FloatingHelpBrowser.cpp + gui/common/SubscribeToolButton.cpp + gui/common/RsBanListToolButton.cpp + gui/common/FlowLayout.cpp + gui/common/PictureFlow.cpp + gui/common/ToasterNotify.cpp + + gui/style/RSStyle.cpp + gui/style/StyleDialog.cpp + + gui/settings/RSPermissionMatrixWidget.cpp + gui/settings/rsharesettings.cpp + gui/settings/RsharePeerSettings.cpp + gui/settings/rsettings.cpp + gui/settings/rsettingswin.cpp + gui/settings/GeneralPage.cpp + gui/settings/AboutPage.cpp + gui/settings/ServerPage.cpp + gui/settings/NotifyPage.cpp + gui/settings/CryptoPage.cpp + gui/settings/PeoplePage.cpp + gui/settings/MessagePage.cpp + gui/settings/NewTag.cpp + gui/settings/ForumPage.cpp + gui/settings/PluginsPage.cpp + gui/settings/PluginItem.cpp + gui/settings/AppearancePage.cpp + gui/settings/FileAssociationsPage.cpp + gui/settings/SoundPage.cpp + gui/settings/TransferPage.cpp + gui/settings/ChatPage.cpp + gui/settings/ChannelPage.cpp + gui/settings/PostedPage.cpp + gui/settings/ServicePermissionsPage.cpp + gui/settings/AddFileAssociationDialog.cpp + gui/settings/GroupFrameSettingsWidget.cpp + + gui/statusbar/peerstatus.cpp + gui/statusbar/natstatus.cpp + gui/statusbar/dhtstatus.cpp + gui/statusbar/torstatus.cpp + gui/statusbar/ratesstatus.cpp + gui/statusbar/hashingstatus.cpp + gui/statusbar/discstatus.cpp + gui/statusbar/SoundStatus.cpp + gui/statusbar/OpModeStatus.cpp + gui/statusbar/ToasterDisable.cpp + gui/statusbar/SysTrayStatus.cpp + + gui/toaster/ToasterItem.cpp + gui/toaster/MessageToaster.cpp + gui/toaster/DownloadToaster.cpp + gui/toaster/OnlineToaster.cpp + gui/toaster/ChatToaster.cpp + gui/toaster/GroupChatToaster.cpp + gui/toaster/ChatLobbyToaster.cpp + gui/toaster/FriendRequestToaster.cpp + + gui/advsearch/advancedsearchdialog.cpp + gui/advsearch/expressionwidget.cpp + gui/advsearch/guiexprelement.cpp + + gui/elastic/graphwidget.cpp + gui/elastic/edge.cpp + gui/elastic/arrow.cpp + gui/elastic/elnode.cpp + + gui/feeds/BoardsCommentsItem.cpp + gui/feeds/FeedItem.cpp + gui/feeds/FeedHolder.cpp + gui/feeds/GxsCircleItem.cpp + gui/feeds/ChannelsCommentsItem.cpp + gui/feeds/PeerItem.cpp + gui/feeds/MsgItem.cpp + gui/feeds/ChatMsgItem.cpp + gui/feeds/SubFileItem.cpp + gui/feeds/AttachFileItem.cpp + gui/feeds/SecurityItem.cpp + gui/feeds/SecurityIpItem.cpp + gui/feeds/NewsFeedUserNotify.cpp + + gui/groups/CreateGroup.cpp + + gui/statistics/BandwidthGraphWindow.cpp + gui/statistics/BandwidthStatsWidget.cpp + gui/statistics/DhtWindow.cpp + gui/statistics/Histogram.cpp + gui/statistics/TurtleRouterDialog.cpp + gui/statistics/TurtleRouterStatistics.cpp + gui/statistics/GxsIdStatistics.cpp + gui/statistics/GlobalRouterStatistics.cpp + gui/statistics/GxsTransportStatistics.cpp + gui/statistics/StatisticsWindow.cpp + gui/statistics/BwCtrlWindow.cpp + gui/statistics/RttStatistics.cpp + gui/statistics/BWGraph.cpp + + util/RsSyntaxHighlighter.cpp + util/imageutil.cpp + util/retroshareWin32.cpp + + gui/NetworkDialog/pgpid_item_model.cpp + gui/NetworkDialog/pgpid_item_proxy.cpp + ) + +list( + APPEND RS_FORMS + TorControl/TorControlWindow.ui + + gui/StartDialog.ui + gui/HomePage.ui + gui/GetStartedDialog.ui + gui/GenCertDialog.ui + gui/AboutDialog.ui + gui/AboutWidget.ui + gui/QuickStartWizard.ui + gui/NetworkDialog.ui + gui/common/AvatarDialog.ui + gui/MainWindow.ui + gui/NetworkView.ui + gui/FriendsDialog.ui + gui/NewsFeed.ui + gui/ShareManager.ui + gui/ShareDialog.ui + gui/help/browser/helpbrowser.ui + gui/HelpDialog.ui + gui/ServicePermissionDialog.ui + gui/ChatLobbyWidget.ui + + gui/FileTransfer/TransfersDialog.ui + gui/FileTransfer/DetailsDialog.ui + gui/FileTransfer/SearchDialog.ui + gui/FileTransfer/SharedFilesDialog.ui + gui/FileTransfer/BannedFilesDialog.ui + + gui/profile/ProfileWidget.ui + gui/profile/StatusMessage.ui + gui/profile/ProfileManager.ui + + gui/chat/PopupChatWindow.ui + gui/chat/PopupChatDialog.ui + gui/chat/ChatTabWidget.ui + gui/chat/ChatWidget.ui + gui/chat/ChatLobbyDialog.ui + gui/chat/CreateLobbyDialog.ui + + gui/connect/ConfCertDialog.ui + gui/connect/PGPKeyDialog.ui + gui/connect/ConnectFriendWizard.ui + gui/connect/ConnectProgressDialog.ui + gui/connect/FriendRecommendDialog.ui + + gui/msgs/MessagesDialog.ui + gui/msgs/MessageComposer.ui + gui/msgs/MessageWindow.ui + gui/msgs/MessageWidget.ui + + gui/settings/settingsw.ui + gui/settings/GeneralPage.ui + gui/settings/ServerPage.ui + gui/settings/NotifyPage.ui + gui/settings/PeoplePage.ui + gui/settings/CryptoPage.ui + gui/settings/MessagePage.ui + gui/settings/NewTag.ui + gui/settings/ForumPage.ui + gui/settings/AboutPage.ui + gui/settings/PluginsPage.ui + gui/settings/AppearancePage.ui + gui/settings/TransferPage.ui + gui/settings/SoundPage.ui + gui/settings/ChatPage.ui + gui/settings/ChannelPage.ui + gui/settings/PostedPage.ui + gui/settings/ServicePermissionsPage.ui + gui/settings/PluginItem.ui + gui/settings/GroupFrameSettingsWidget.ui + + gui/toaster/MessageToaster.ui + gui/toaster/OnlineToaster.ui + gui/toaster/DownloadToaster.ui + gui/toaster/ChatToaster.ui + gui/toaster/GroupChatToaster.ui + gui/toaster/ChatLobbyToaster.ui + gui/toaster/FriendRequestToaster.ui + + gui/advsearch/AdvancedSearchDialog.ui + gui/advsearch/expressionwidget.ui + + gui/feeds/BoardsCommentsItem.ui + gui/feeds/GxsCircleItem.ui + gui/feeds/ChannelsCommentsItem.ui + gui/feeds/PeerItem.ui + gui/feeds/MsgItem.ui + gui/feeds/ChatMsgItem.ui + gui/feeds/SubFileItem.ui + gui/feeds/AttachFileItem.ui + gui/feeds/SecurityItem.ui + gui/feeds/SecurityIpItem.ui + + gui/im_history/ImHistoryBrowser.ui + + gui/groups/CreateGroup.ui + + gui/common/GroupTreeWidget.ui + gui/common/AvatarWidget.ui + gui/common/NewFriendList.ui + gui/common/FriendSelectionWidget.ui + gui/common/HashBox.ui + gui/common/RSImageBlockWidget.ui + gui/common/RsCollectionDialog.ui + gui/common/HeaderFrame.ui + gui/common/RSFeedWidget.ui + + gui/style/StyleDialog.ui + + gui/statistics/BandwidthGraphWindow.ui + gui/statistics/BandwidthStatsWidget.ui + gui/statistics/DhtWindow.ui + gui/statistics/TurtleRouterDialog.ui + gui/statistics/TurtleRouterStatistics.ui + gui/statistics/GxsIdStatistics.ui + gui/statistics/GlobalRouterStatistics.ui + gui/statistics/GxsTransportStatistics.ui + gui/statistics/StatisticsWindow.ui + gui/statistics/BwCtrlWindow.ui + gui/statistics/RttStatistics.ui + + util/RichTextEdit.ui + ) + +list( + APPEND RS_IMPLEMENTATION_HEADERS + + TorControl/TorControlWindow.h + + chat/distantchat.h + chat/distributedchat.h + chat/p3chatservice.h + chat/rschatitems.h + + rshare.h + retroshare-gui/configpage.h + retroshare-gui/RsAutoUpdatePage.h + retroshare-gui/mainpage.h + + control/bandwidthevent.h + control/eventtype.h + + gui/QuickStartWizard.h + gui/notifyqt.h + gui/GetStartedDialog.h + gui/StartDialog.h + gui/HomePage.h + gui/NetworkDialog.h + gui/GenCertDialog.h + gui/linetypes.h + gui/mainpagestack.h + gui/MainWindow.h + gui/RSHumanReadableDelegate.h + gui/AboutDialog.h + gui/AboutWidget.h + gui/NetworkView.h + gui/FriendsDialog.h + gui/ServicePermissionDialog.h + gui/RemoteDirModel.h + gui/PluginsPage.h + gui/PluginManagerWidget.h + gui/PluginManager.h + gui/RetroShareLink.h + gui/SearchTreeWidget.h + gui/ShareManager.h + gui/NewsFeed.h + gui/ShareDialog.h + gui/SFListDelegate.h + gui/SoundManager.h + gui/HelpDialog.h + gui/LogoBar.h + + gui/common/AvatarDialog.h + + gui/NetworkDialog/pgpid_item_model.h + gui/NetworkDialog/pgpid_item_proxy.h + + gui/FileTransfer/SearchDialog.h + gui/FileTransfer/SharedFilesDialog.h + gui/FileTransfer/xprogressbar.h + gui/FileTransfer/DetailsDialog.h + gui/FileTransfer/FileTransferInfoWidget.h + gui/FileTransfer/DLListDelegate.h + gui/FileTransfer/ULListDelegate.h + gui/FileTransfer/TransfersDialog.h + gui/FileTransfer/BannedFilesDialog.h + gui/FileTransfer/TransferUserNotify.h + + gui/statistics/TurtleRouterDialog.h + gui/statistics/TurtleRouterStatistics.h + gui/statistics/GxsIdStatistics.h + gui/statistics/dhtgraph.h + gui/statistics/Histogram.h + gui/statistics/BandwidthGraphWindow.h + gui/statistics/turtlegraph.h + gui/statistics/BandwidthStatsWidget.h + gui/statistics/DhtWindow.h + gui/statistics/GlobalRouterStatistics.h + gui/statistics/GxsTransportStatistics.h + gui/statistics/StatisticsWindow.h + gui/statistics/BwCtrlWindow.h + gui/statistics/BWGraph.h + gui/statistics/RttStatistics.h + + gui/plugins/PluginInterface.h + + gui/im_history/ImHistoryBrowser.h + gui/im_history/IMHistoryItemDelegate.h + gui/im_history/IMHistoryItemPainter.h + + lang/languagesupport.h + + util/RsSyntaxHighlighter.h + util/imageutil.h + util/RichTextEdit.h + util/retroshareWin32.h + util/RsProtectedTimer.h + util/stringutil.h + util/RsNetUtil.h + util/DateTime.h + util/RetroStyleLabel.h + util/dllexport.h + util/NonCopyable.h + util/rsutildll.h + util/dllexport.h + util/global.h + util/rsqtutildll.h + util/Interface.h + util/PixmapMerging.h + util/MouseEventFilter.h + util/EventFilter.h + util/Widget.h + util/RsAction.h + util/RsUserdata.h + util/printpreview.h + util/log.h + util/misc.h + util/HandleRichText.h + util/ObjectPainter.h + util/QtVersion.h + util/RsFile.h + util/qtthreadsutils.h + util/ClickableLabel.h + util/AspectRatioPixmapLabel.h + + gui/profile/ProfileWidget.h + gui/profile/ProfileManager.h + gui/profile/StatusMessage.h + + gui/chat/PopupChatWindow.h + gui/chat/PopupChatDialog.h + gui/chat/PopupDistantChatDialog.h + gui/chat/ChatTabWidget.h + gui/chat/ChatWidget.h + gui/chat/ChatDialog.h + gui/ChatLobbyWidget.h + gui/chat/ChatLobbyDialog.h + gui/chat/CreateLobbyDialog.h + gui/chat/ChatStyle.h + gui/chat/ChatUserNotify.h + gui/chat/ChatLobbyUserNotify.h + + gui/connect/ConfCertDialog.h + gui/connect/PGPKeyDialog.h + gui/connect/FriendRecommendDialog.h + + gui/msgs/MessagesDialog.h + gui/msgs/MessageInterface.h + gui/msgs/MessageComposer.h + gui/msgs/MessageWindow.h + gui/msgs/MessageWidget.h + gui/msgs/MessageModel.h + gui/msgs/TagsMenu.h + gui/msgs/textformat.h + gui/msgs/MessageUserNotify.h + + gui/images/retroshare_win.rc.h + + gui/settings/RSPermissionMatrixWidget.h + gui/settings/rsharesettings.h + gui/settings/RsharePeerSettings.h + gui/settings/rsettings.h + gui/settings/rsettingswin.h + gui/settings/GeneralPage.h + gui/settings/PeoplePage.h + gui/settings/AboutPage.h + gui/settings/ServerPage.h + gui/settings/NotifyPage.h + gui/settings/CryptoPage.h + gui/settings/MessagePage.h + gui/settings/NewTag.h + gui/settings/ForumPage.h + gui/settings/PluginsPage.h + gui/settings/PluginItem.h + gui/settings/AppearancePage.h + gui/settings/FileAssociationsPage.h + gui/settings/SoundPage.h + gui/settings/TransferPage.h + gui/settings/ChatPage.h + gui/settings/ChannelPage.h + gui/settings/PostedPage.h + gui/settings/ServicePermissionsPage.h + gui/settings/AddFileAssociationDialog.h + gui/settings/GroupFrameSettingsWidget.h + + gui/toaster/ToasterItem.h + gui/toaster/MessageToaster.h + gui/toaster/OnlineToaster.h + gui/toaster/DownloadToaster.h + gui/toaster/ChatToaster.h + gui/toaster/GroupChatToaster.h + gui/toaster/ChatLobbyToaster.h + gui/toaster/FriendRequestToaster.h + + gui/common/RsButtonOnText.h + gui/common/RsCollection.h + gui/common/RSGraphWidget.h + gui/common/ElidedLabel.h + gui/common/vmessagebox.h + gui/common/RsUrlHandler.h + gui/common/RsCollectionDialog.h + gui/common/rwindow.h + gui/common/rshtml.h + gui/common/AvatarDefs.h + gui/common/GroupFlagsWidget.h + gui/common/GroupSelectionBox.h + gui/common/GroupChooser.h + gui/common/StatusDefs.h + gui/common/TagDefs.h + gui/common/GroupDefs.h + gui/common/Emoticons.h + gui/common/RSComboBox.h + gui/common/RSListWidgetItem.h + gui/common/RSTextEdit.h + gui/common/RSPlainTextEdit.h + gui/common/RSTreeWidget.h + gui/common/RSTreeWidgetItem.h + gui/common/RSFeedWidget.h + gui/common/RSTabWidget.h + gui/common/RSElidedItemDelegate.h + gui/common/RSItemDelegate.h + gui/common/PeerDefs.h + gui/common/FilesDefs.h + gui/common/PopularityDefs.h + gui/common/RsBanListDefs.h + gui/common/GroupTreeWidget.h + gui/common/RSTreeView.h + gui/common/AvatarWidget.h + gui/common/FriendListModel.h + gui/common/NewFriendList.h + gui/common/FriendSelectionWidget.h + gui/common/FriendSelectionDialog.h + gui/common/HashBox.h + gui/common/LineEditClear.h + gui/common/DropLineEdit.h + gui/common/RSTextBrowser.h + gui/common/RSImageBlockWidget.h + gui/common/FeedNotify.h + gui/common/UserNotify.h + gui/common/HeaderFrame.h + gui/common/MimeTextEdit.h + gui/common/UIStateHelper.h + gui/common/FloatingHelpBrowser.h + gui/common/SubscribeToolButton.h + gui/common/RsBanListToolButton.h + gui/common/FlowLayout.h + gui/common/PictureFlow.h + gui/common/ToasterNotify.h + + gui/style/RSStyle.h + gui/style/StyleDialog.h + + gui/help/browser/helpbrowser.h + gui/help/browser/helptextbrowser.h + + gui/statusbar/peerstatus.h + gui/statusbar/natstatus.h + gui/statusbar/dhtstatus.h + gui/statusbar/torstatus.h + gui/statusbar/ratesstatus.h + gui/statusbar/hashingstatus.h + gui/statusbar/discstatus.h + gui/statusbar/SoundStatus.h + gui/statusbar/OpModeStatus.h + gui/statusbar/ToasterDisable.h + gui/statusbar/SysTrayStatus.h + + gui/advsearch/advancedsearchdialog.h + gui/advsearch/expressionwidget.h + gui/advsearch/guiexprelement.h + + gui/elastic/graphwidget.h + gui/elastic/edge.h + gui/elastic/arrow.h + gui/elastic/elnode.h + + gui/feeds/BoardsCommentsItem.h + gui/feeds/FeedItem.h + gui/feeds/FeedHolder.h + gui/feeds/GxsCircleItem.h + gui/feeds/ChannelsCommentsItem.h + gui/feeds/PeerItem.h + gui/feeds/MsgItem.h + gui/feeds/ChatMsgItem.h + gui/feeds/SubFileItem.h + gui/feeds/AttachFileItem.h + gui/feeds/SecurityItem.h + gui/feeds/SecurityIpItem.h + gui/feeds/NewsFeedUserNotify.h + + gui/connect/ConnectFriendWizard.h + gui/connect/ConnectProgressDialog.h + + gui/groups/CreateGroup.h + ) + +if(RS_JSONAPI) + list( + APPEND RS_SOURCES + gui/settings/JsonApiPage.cc + ) + + list( + APPEND RS_IMPLEMENTATION_HEADERS + gui/settings/JsonApiPage.h + ) + + list( + APPEND RS_FORMS + gui/settings/JsonApiPage.ui + ) +endif(RS_JSONAPI) + +if(RS_WEBUI) + list( + APPEND RS_SOURCES + gui/settings/WebuiPage.cpp + ) + + list( + APPEND RS_IMPLEMENTATION_HEADERS + jsonapi/p3webui.h + gui/settings/WebuiPage.h + ) + + list( + APPEND RS_FORMS + gui/settings/WebuiPage.ui + ) +endif(RS_WEBUI) + +list( + APPEND RS_QTRESOURCES + gui/images.qrc + gui/icons.qrc + lang/lang.qrc + gui/help/content/content.qrc + gui/emojione.qrc + gui/qss/stylesheet/qdarkstyle/dark/Standard_Dark.qrc + gui/qss/stylesheet/qdarkstyle/light/Standard_Light.qrc + ) + +list( + APPEND RS_TRANSLATIONS + lang/retroshare_ca_ES.ts + lang/retroshare_cs.ts + lang/retroshare_da.ts + lang/retroshare_de.ts + lang/retroshare_el.ts + lang/retroshare_en.ts + lang/retroshare_es.ts + lang/retroshare_fi.ts + lang/retroshare_fr.ts + lang/retroshare_hu.ts + lang/retroshare_it.ts + lang/retroshare_ja_JP.ts + lang/retroshare_nl.ts + lang/retroshare_ko.ts + lang/retroshare_pl.ts + lang/retroshare_ru.ts + lang/retroshare_sv.ts + lang/retroshare_tr.ts + lang/retroshare_zh_CN.ts + ) + +if(RS_UNFINISHED_TRANSLATIONS) + list( + APPEND RS_TRANSLATIONS + lang/retroshare_bg.ts + lang/retroshare_af.ts + lang/retroshare_pt.ts + lang/retroshare_sl.ts + lang/retroshare_sr.ts + lang/retroshare_zh_TW.ts + ) +endif(RS_UNFINISHED_TRANSLATIONS) + +if(RS_MESSENGER) + + target_compile_definitions( + ${PROJECT_NAME} PUBLIC MESSENGER_WINDOW + ) + + list( + APPEND RS_SOURCES + gui/MessengerWindow.cpp + gui/common/FriendList.cpp + ) + list( + APPEND RS_IMPLEMENTATION_HEADERS + gui/MessengerWindow.h + gui/common/FriendList.h + ) + list( + APPEND RS_FORMS + gui/MessengerWindow.ui + gui/common/FriendList.ui + ) +endif(RS_MESSENGER) + +if(RS_IDLE) + list( + APPEND RS_IMPLEMENTATION_HEADERS + idle/idle.h + ) + list( + APPEND RS_SOURCES + idle/idle.cpp + idle/idle_platform.cpp + ) +endif(RS_IDLE) + +if(RS_FRAMECATCHER) + list( + APPEND RS_IMPLEMENTATION_HEADERS + util/framecatcher.h + ) + list( + APPEND RS_SOURCES + util/framecatcher.cpp + ) + + # TODO: LIBS += -lxine + + target_compile_definitions( + ${PROJECT_NAME} PUBLIC CHANNELS_FRAME_CATCHER + ) +endif(RS_FRAMECATCHER) + +# Embedded Friend Server + +if(RS_EFS) + target_compile_definitions( + ${PROJECT_NAME} PUBLIC RS_EMBEDED_FRIEND_SERVER + ) + list( + APPEND RS_SOURCES + gui/FriendServerControl.cpp + ) + list( + APPEND RS_IMPLEMENTATION_HEADERS + gui/FriendServerControl.h + ) + list( + APPEND RS_FORMS + gui/FriendServerControl.ui + ) +endif(RS_EFS) + +# BELOW IS GXS Unfinished Services. + +if(RS_UNFINISHED) + + list( + APPEND RS_IMPLEMENTATION_HEADERS + gui/unfinished/ApplicationWindow.h + + # gui/unfinished/CalDialog.h + # gui/unfinished/ExampleDialog.h + # gui/unfinished/GamesDialog.h + # gui/unfinished/profile/ProfileView.h + # gui/unfinished/profile/ProfileEdit.h + # gui/unfinished/StatisticDialog.h + # gui/unfinished/PhotoDialog.h + # gui/unfinished/PhotoShow.h + ) + + list( + APPEND RS_FORMS + gui/unfinished/ApplicationWindow.ui + + # gui/unfinished/CalDialog.ui + # gui/unfinished/ExampleDialog.ui + # gui/unfinished/GamesDialog.ui + # gui/unfinished/profile/ProfileView.ui + # gui/unfinished/profile/ProfileEdit.ui + # gui/unfinished/StatisticDialog.ui + # gui/unfinished/PhotoDialog.ui + # gui/unfinished/PhotoShow.ui + ) + + list( + APPEND RS_SOURCES + gui/unfinished/ApplicationWindow.cpp + + # gui/unfinished/CalDialog.cpp + # gui/unfinished/ExampleDialog.cpp + # gui/unfinished/GamesDialog.cpp + # gui/unfinished/profile/ProfileView.cpp + # gui/unfinished/profile/ProfileEdit.cpp + # gui/unfinished/StatisticDialog.cpp + # gui/unfinished/PhotoDialog.cpp + # gui/unfinished/PhotoShow.cpp + ) + + target_compile_definitions( + ${PROJECT_NAME} PUBLIC UNFINISHED + ) +endif(RS_UNFINISHED) + +if(RS_GXSPHOTOSHARE) + target_compile_definitions( + ${PROJECT_NAME} PUBLIC RS_USE_PHOTO + ) + + list( + APPEND RS_IMPLEMENTATION_HEADERS + gui/PhotoShare/AlbumGroupDialog.h + gui/PhotoShare/AlbumExtra.h + gui/PhotoShare/PhotoDrop.h + gui/PhotoShare/AlbumItem.h + gui/PhotoShare/AlbumDialog.h + gui/PhotoShare/PhotoItem.h + gui/PhotoShare/PhotoShareItemHolder.h + gui/PhotoShare/PhotoShare.h + gui/PhotoShare/PhotoSlideShow.h + gui/PhotoShare/PhotoDialog.h + ) + list( + APPEND RS_FORMS + gui/PhotoShare/AlbumExtra.ui + gui/PhotoShare/PhotoItem.ui + gui/PhotoShare/PhotoDialog.ui + gui/PhotoShare/AlbumItem.ui + gui/PhotoShare/AlbumDialog.ui + gui/PhotoShare/PhotoShare.ui + gui/PhotoShare/PhotoSlideShow.ui + ) + + list( + APPEND RS_SOURCES + gui/PhotoShare/AlbumGroupDialog.cpp + gui/PhotoShare/AlbumExtra.cpp + gui/PhotoShare/PhotoItem.cpp + gui/PhotoShare/PhotoDialog.cpp + gui/PhotoShare/PhotoDrop.cpp + gui/PhotoShare/AlbumItem.cpp + gui/PhotoShare/AlbumDialog.cpp + gui/PhotoShare/PhotoShareItemHolder.cpp + gui/PhotoShare/PhotoShare.cpp + gui/PhotoShare/PhotoSlideShow.cpp + ) + + list( + APPEND RS_QTRESOURCES + gui/PhotoShare/Photo_images.qrc + ) +endif(RS_GXSPHOTOSHARE) + +if(RS_GXSWIKIPOS) + target_compile_definitions( + ${PROJECT_NAME} PUBLIC RS_USE_WIKI + ) + + target_include_directories(${PROJECT_NAME} PUBLIC ../../supportlibs/pegmarkdown) + + list( + APPEND RS_IMPLEMENTATION_HEADERS + gui/WikiPoos/WikiDialog.h + gui/WikiPoos/WikiAddDialog.h + gui/WikiPoos/WikiEditDialog.h + gui/gxs/WikiGroupDialog.h + gui/gxs/RsGxsUpdateBroadcastBase.h + gui/gxs/RsGxsUpdateBroadcastWidget.h + gui/gxs/RsGxsUpdateBroadcastPage.h + ) + + list( + APPEND RS_FORMS + gui/WikiPoos/WikiDialog.ui + gui/WikiPoos/WikiAddDialog.ui + gui/WikiPoos/WikiEditDialog.ui + ) + + list( + APPEND RS_SOURCES + gui/WikiPoos/WikiDialog.cpp + gui/WikiPoos/WikiAddDialog.cpp + gui/WikiPoos/WikiEditDialog.cpp + gui/gxs/WikiGroupDialog.cpp + gui/gxs/RsGxsUpdateBroadcastBase.cpp + gui/gxs/RsGxsUpdateBroadcastWidget.cpp + gui/gxs/RsGxsUpdateBroadcastPage.cpp + ) + + list( + APPEND RS_QTRESOURCES + gui/WikiPoos/Wiki_images.qrc + ) +endif(RS_GXSWIKIPOS) + +if(RS_GXSTHEWIRE) + target_compile_definitions( + ${PROJECT_NAME} PUBLIC RS_USE_WIRE + ) + + list( + APPEND RS_IMPLEMENTATION_HEADERS + gui/TheWire/WireDialog.h + gui/TheWire/WireGroupItem.h + gui/TheWire/WireGroupDialog.h + gui/TheWire/WireGroupExtra.h + gui/TheWire/PulseAddDialog.h + gui/TheWire/PulseViewItem.h + gui/TheWire/PulseTopLevel.h + gui/TheWire/PulseViewGroup.h + gui/TheWire/PulseReply.h + gui/TheWire/PulseReplySeperator.h + gui/TheWire/PulseMessage.h + ) + + list( + APPEND RS_FORMS + gui/TheWire/WireDialog.ui + gui/TheWire/WireGroupItem.ui + gui/TheWire/WireGroupExtra.ui + gui/TheWire/PulseAddDialog.ui + gui/TheWire/PulseTopLevel.ui + gui/TheWire/PulseViewGroup.ui + gui/TheWire/PulseReply.ui + gui/TheWire/PulseReplySeperator.ui + gui/TheWire/PulseMessage.ui + ) + + list( + APPEND RS_SOURCES + gui/TheWire/WireDialog.cpp + gui/TheWire/WireGroupItem.cpp + gui/TheWire/WireGroupDialog.cpp + gui/TheWire/WireGroupExtra.cpp + gui/TheWire/PulseAddDialog.cpp + gui/TheWire/PulseViewItem.cpp + gui/TheWire/PulseTopLevel.cpp + gui/TheWire/PulseViewGroup.cpp + gui/TheWire/PulseReply.cpp + gui/TheWire/PulseReplySeperator.cpp + gui/TheWire/PulseMessage.cpp + ) + + list( + APPEND RS_QTRESOURCES + RESOURCES += gui/TheWire/TheWire_images.qrc + ) +endif(RS_GXSTHEWIRE) + +if(RS_GXSIDENTITIES) + list( + APPEND RS_IMPLEMENTATION_HEADERS + gui/Identity/IdDialog.h + gui/Identity/IdEditDialog.h + gui/Identity/IdDetailsDialog.h + ) + + list( + APPEND RS_FORMS + gui/Identity/IdDialog.ui + gui/Identity/IdEditDialog.ui + gui/Identity/IdDetailsDialog.ui + ) + + list( + APPEND RS_SOURCES + gui/Identity/IdDialog.cpp + gui/Identity/IdEditDialog.cpp + gui/Identity/IdDetailsDialog.cpp + ) +endif(RS_GXSIDENTITIES) + +if(RS_GXSCIRCLES) + target_compile_definitions( + ${PROJECT_NAME} PUBLIC RS_USE_CIRCLES + ) + + list( + gui/Circles/CirclesDialog.h + gui/Circles/CreateCircleDialog.h + gui/People/PeopleDialog.h + gui/People/CircleWidget.h + gui/People/IdentityWidget.h + ) + + list( + gui/Circles/CirclesDialog.ui + gui/Circles/CreateCircleDialog.ui + gui/People/PeopleDialog.ui + gui/People/CircleWidget.ui + gui/People/IdentityWidget.ui + ) + + list( + gui/Circles/CirclesDialog.cpp + gui/Circles/CreateCircleDialog.cpp + gui/People/PeopleDialog.cpp + gui/People/CircleWidget.cpp + gui/People/IdentityWidget.cpp + ) +endif(RS_GXSCIRCLES) + +if(RS_GXSGUI) + list( + APPEND RS_IMPLEMENTATION_HEADERS + gui/gxs/GxsGroupDialog.h + gui/gxs/GxsIdDetails.h + gui/gxs/GxsIdChooser.h + gui/gxs/GxsIdLabel.h + gui/gxs/GxsCircleChooser.h + gui/gxs/GxsCircleLabel.h + gui/gxs/GxsIdTreeWidgetItem.h + gui/gxs/GxsCommentTreeWidget.h + gui/gxs/GxsCommentContainer.h + gui/gxs/GxsCommentDialog.h + gui/gxs/GxsCreateCommentDialog.h + gui/gxs/GxsGroupFrameDialog.h + gui/gxs/GxsMessageFrameWidget.h + gui/gxs/GxsMessageFramePostWidget.h + gui/gxs/GxsGroupFeedItem.h + gui/gxs/GxsFeedItem.h + gui/gxs/GxsGroupShareKey.h + gui/gxs/GxsUserNotify.h + gui/gxs/GxsFeedWidget.h + util/TokenQueue.h + util/RsGxsUpdateBroadcast.h + ) + + list( + APPEND RS_FORMS + gui/gxs/GxsGroupDialog.ui + gui/gxs/GxsCommentContainer.ui + gui/gxs/GxsCommentDialog.ui + gui/gxs/GxsCreateCommentDialog.ui + gui/gxs/GxsGroupFrameDialog.ui + gui/gxs/GxsGroupShareKey.ui + ) + + list( + APPEND RS_SOURCES + gui/gxs/GxsGroupDialog.cpp + gui/gxs/GxsIdDetails.cpp + gui/gxs/GxsIdChooser.cpp + gui/gxs/GxsIdLabel.cpp + gui/gxs/GxsCircleChooser.cpp + gui/gxs/GxsGroupShareKey.cpp + gui/gxs/GxsCircleLabel.cpp + gui/gxs/GxsIdTreeWidgetItem.cpp + gui/gxs/GxsCommentTreeWidget.cpp + gui/gxs/GxsCommentContainer.cpp + gui/gxs/GxsCommentDialog.cpp + gui/gxs/GxsCreateCommentDialog.cpp + gui/gxs/GxsGroupFrameDialog.cpp + gui/gxs/GxsMessageFrameWidget.cpp + gui/gxs/GxsMessageFramePostWidget.cpp + gui/gxs/GxsGroupFeedItem.cpp + gui/gxs/GxsFeedItem.cpp + gui/gxs/GxsUserNotify.cpp + gui/gxs/GxsFeedWidget.cpp + util/TokenQueue.cpp + util/RsGxsUpdateBroadcast.cpp + ) +endif(RS_GXSGUI) + +if(RS_GXSFORUMS) + list( + APPEND RS_IMPLEMENTATION_HEADERS + gui/gxsforums/GxsForumsDialog.h + gui/gxsforums/GxsForumGroupDialog.h + gui/gxsforums/CreateGxsForumMsg.h + gui/gxsforums/GxsForumThreadWidget.h + gui/gxsforums/GxsForumModel.h + gui/gxsforums/GxsForumUserNotify.h + gui/feeds/GxsForumGroupItem.h + gui/feeds/GxsForumMsgItem.h + ) + + list( + APPEND RS_FORMS + ui/gxsforums/CreateGxsForumMsg.ui + gui/gxsforums/GxsForumThreadWidget.ui + gui/feeds/GxsForumGroupItem.ui + gui/feeds/GxsForumMsgItem.ui + ) + + list( + APPEND RS_SOURCES + gui/gxsforums/GxsForumsDialog.cpp + gui/gxsforums/GxsForumGroupDialog.cpp + gui/gxsforums/CreateGxsForumMsg.cpp + gui/gxsforums/GxsForumThreadWidget.cpp + gui/gxsforums/GxsForumModel.cpp + gui/gxsforums/GxsForumUserNotify.cpp + gui/feeds/GxsForumGroupItem.cpp + gui/feeds/GxsForumMsgItem.cpp + ) +endif(RS_GXSFORUMS) + + +if(RS_GXSCHANNELS) + list( + APPEND RS_IMPLEMENTATION_HEADERS + gui/gxschannels/GxsChannelDialog.h + gui/gxschannels/GxsChannelGroupDialog.h + gui/gxschannels/CreateGxsChannelMsg.h + gui/gxschannels/GxsChannelPostsWidgetWithModel.h + gui/gxschannels/GxsChannelPostsModel.h + gui/gxschannels/GxsChannelPostFilesModel.h + gui/gxschannels/GxsChannelPostThumbnail.h + gui/gxschannels/GxsChannelFilesStatusWidget.h + gui/feeds/GxsChannelGroupItem.h + gui/feeds/GxsChannelPostItem.h + gui/gxschannels/GxsChannelUserNotify.h + ) + + list( + APPEND RS_FORMS + gui/gxschannels/GxsChannelPostsWidgetWithModel.ui + gui/gxschannels/GxsChannelFilesStatusWidget.ui + gui/gxschannels/CreateGxsChannelMsg.ui + gui/feeds/GxsChannelGroupItem.ui + gui/feeds/GxsChannelPostItem.ui + ) + + list( + APPEND RS_SOURCES + gui/gxschannels/GxsChannelDialog.cpp + gui/gxschannels/GxsChannelPostsWidgetWithModel.cpp + gui/gxschannels/GxsChannelPostsModel.cpp + gui/gxschannels/GxsChannelPostFilesModel.cpp + gui/gxschannels/GxsChannelFilesStatusWidget.cpp + gui/gxschannels/GxsChannelPostThumbnail.cpp + gui/gxschannels/GxsChannelGroupDialog.cpp + gui/gxschannels/CreateGxsChannelMsg.cpp + gui/feeds/GxsChannelGroupItem.cpp + gui/feeds/GxsChannelPostItem.cpp + gui/gxschannels/GxsChannelUserNotify.cpp + ) +endif(RS_GXSCHANNELS) + +if(RS_GXSPOSTED) + list( + APPEND RS_IMPLEMENTATION_HEADERS + gui/Posted/PostedDialog.h + gui/Posted/PostedListWidgetWithModel.h + gui/Posted/PostedPostsModel.h + gui/Posted/BoardPostDisplayWidget.h + gui/Posted/PostedItem.h + gui/Posted/PostedCardView.h + gui/Posted/PostedGroupDialog.h + gui/feeds/PostedGroupItem.h + gui/Posted/PostedCreatePostDialog.h + gui/Posted/PhotoView.h + gui/Posted/PostedUserNotify.h + ) + + list( + APPEND RS_FORMS + gui/Posted/PostedListWidgetWithModel.ui + gui/feeds/PostedGroupItem.ui + gui/Posted/BoardPostDisplayWidget_compact.ui + gui/Posted/BoardPostDisplayWidget_card.ui + gui/Posted/PostedItem.ui + gui/Posted/PostedCardView.ui + gui/Posted/PostedCreatePostDialog.ui + gui/Posted/PhotoView.ui + ) + + list( + APPEND RS_SOURCES + gui/Posted/PostedDialog.cpp + gui/Posted/PostedListWidgetWithModel.cpp + gui/Posted/BoardPostDisplayWidget.cpp + gui/Posted/PostedPostsModel.cpp + gui/feeds/PostedGroupItem.cpp + gui/Posted/PostedItem.cpp + gui/Posted/PostedCardView.cpp + gui/Posted/PostedGroupDialog.cpp + gui/Posted/PostedCreatePostDialog.cpp + gui/Posted/PhotoView.cpp + gui/Posted/PostedUserNotify.cpp + ) + + list( + APPEND RS_QTRESOURCES + gui/Posted/Posted_images.qrc + ) +endif(RS_GXSPOSTED) + + +