From 2bfc35aebd04a6fa969b8909bbc7d06cef3821c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Tue, 6 Apr 2010 12:00:07 +0200 Subject: Fix compilation. diff --git a/Swift/Controllers/SConscript b/Swift/Controllers/SConscript index 8c12c50..a7ddc79 100644 --- a/Swift/Controllers/SConscript +++ b/Swift/Controllers/SConscript @@ -33,6 +33,7 @@ if env["SCONS_STAGE"] == "build" : "XMLConsoleController.cpp", "UIEvents/UIEvent.cpp", "UIInterfaces/XMLConsoleWidget.cpp", + "UIInterfaces/ChatListWindow.cpp", "PreviousStatusStore.cpp", ]) diff --git a/Swift/Controllers/UIInterfaces/ChatListWindow.cpp b/Swift/Controllers/UIInterfaces/ChatListWindow.cpp new file mode 100644 index 0000000..9d6c0a5 --- /dev/null +++ b/Swift/Controllers/UIInterfaces/ChatListWindow.cpp @@ -0,0 +1,8 @@ +#include "Swift/Controllers/UIInterfaces/ChatListWindow.h" + +namespace Swift { + +ChatListWindow::~ChatListWindow() { +} + +} diff --git a/Swift/Controllers/UIInterfaces/ChatListWindow.h b/Swift/Controllers/UIInterfaces/ChatListWindow.h index 2883d5c..ae60203 100644 --- a/Swift/Controllers/UIInterfaces/ChatListWindow.h +++ b/Swift/Controllers/UIInterfaces/ChatListWindow.h @@ -7,6 +7,8 @@ namespace Swift { class ChatListWindow { public: + virtual ~ChatListWindow(); + virtual void addMUCBookmark(boost::shared_ptr bookmark) = 0; virtual void removeMUCBookmark(boost::shared_ptr bookmark) = 0; }; diff --git a/Swift/QtUI/ContextMenus/QtContextMenu.cpp b/Swift/QtUI/ContextMenus/QtContextMenu.cpp new file mode 100644 index 0000000..12bc80e --- /dev/null +++ b/Swift/QtUI/ContextMenus/QtContextMenu.cpp @@ -0,0 +1,8 @@ +#include "ContextMenus/QtContextMenu.h" + +namespace Swift { + +QtContextMenu::~QtContextMenu() { +} + +} diff --git a/Swift/QtUI/ContextMenus/QtContextMenu.h b/Swift/QtUI/ContextMenus/QtContextMenu.h new file mode 100644 index 0000000..04c6acb --- /dev/null +++ b/Swift/QtUI/ContextMenus/QtContextMenu.h @@ -0,0 +1,11 @@ +#pragma once + +namespace Swift { + class QtTreeWidgetItem; + class QtContextMenu { + public: + virtual ~QtContextMenu(); + + virtual void show(QtTreeWidgetItem* item) = 0; + }; +} diff --git a/Swift/QtUI/ContextMenus/QtContextmenu.h b/Swift/QtUI/ContextMenus/QtContextmenu.h deleted file mode 100644 index cc0227d..0000000 --- a/Swift/QtUI/ContextMenus/QtContextmenu.h +++ /dev/null @@ -1,9 +0,0 @@ -#pragma once - -namespace Swift { - class QtTreeWidgetItem; - class QtContextMenu { - public: - virtual void show(QtTreeWidgetItem* item) = 0; - }; -} diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript index 9f6105e..b82cb7b 100644 --- a/Swift/QtUI/SConscript +++ b/Swift/QtUI/SConscript @@ -90,6 +90,7 @@ sources = [ "ChatList/ChatListDelegate.cpp", "ChatList/ChatListMUCItem.cpp", "ContextMenus/QtRosterContextMenu.cpp", + "ContextMenus/QtContextMenu.cpp", "QtSubscriptionRequestWindow.cpp", "QtRosterHeader.cpp", "qrc_DefaultTheme.cc", -- cgit v0.10.2-6-g49f6