summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-04-06 10:00:07 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-04-06 10:00:07 (GMT)
commit2bfc35aebd04a6fa969b8909bbc7d06cef3821c4 (patch)
treee917f503568ad3206f12304ca7fda04b5502af8f
parent5e87304f8e31adeddcba41879057093e65047493 (diff)
downloadswift-2bfc35aebd04a6fa969b8909bbc7d06cef3821c4.zip
swift-2bfc35aebd04a6fa969b8909bbc7d06cef3821c4.tar.bz2
Fix compilation.
-rw-r--r--Swift/Controllers/SConscript1
-rw-r--r--Swift/Controllers/UIInterfaces/ChatListWindow.cpp8
-rw-r--r--Swift/Controllers/UIInterfaces/ChatListWindow.h2
-rw-r--r--Swift/QtUI/ContextMenus/QtContextMenu.cpp8
-rw-r--r--Swift/QtUI/ContextMenus/QtContextMenu.h (renamed from Swift/QtUI/ContextMenus/QtContextmenu.h)2
-rw-r--r--Swift/QtUI/SConscript1
6 files changed, 22 insertions, 0 deletions
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<MUCBookmark> bookmark) = 0;
virtual void removeMUCBookmark(boost::shared_ptr<MUCBookmark> 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
index cc0227d..04c6acb 100644
--- a/Swift/QtUI/ContextMenus/QtContextmenu.h
+++ b/Swift/QtUI/ContextMenus/QtContextMenu.h
@@ -4,6 +4,8 @@ namespace Swift {
class QtTreeWidgetItem;
class QtContextMenu {
public:
+ virtual ~QtContextMenu();
+
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",