diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-10-24 21:42:19 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-10-24 21:42:19 -0400 |
commit | 201b114183454f3fb9114fed2caef4ac46587225 (patch) | |
tree | 4cc8a9b1c126b682ffa8aca9d8ecc2a8cf6c1aa7 /src/windows | |
parent | 4906775edeb96dc3f9194d43252ab2b47bc11e4e (diff) | |
download | abaddon-portaudio-201b114183454f3fb9114fed2caef4ac46587225.tar.gz abaddon-portaudio-201b114183454f3fb9114fed2caef4ac46587225.zip |
refactor ChannelList -> ChannelListTree
Diffstat (limited to 'src/windows')
-rw-r--r-- | src/windows/mainwindow.cpp | 4 | ||||
-rw-r--r-- | src/windows/mainwindow.hpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/windows/mainwindow.cpp b/src/windows/mainwindow.cpp index 8156659..729dcc5 100644 --- a/src/windows/mainwindow.cpp +++ b/src/windows/mainwindow.cpp @@ -1,5 +1,5 @@ #include "mainwindow.hpp" -#include "components/channellist/channellist.hpp" +#include "components/channellist/channellisttree.hpp" MainWindow::MainWindow() : m_main_box(Gtk::ORIENTATION_VERTICAL) @@ -235,7 +235,7 @@ void MainWindow::OnViewSubmenuPopup() { } } -ChannelList *MainWindow::GetChannelList() { +ChannelListTree *MainWindow::GetChannelList() { return &m_channel_list; } diff --git a/src/windows/mainwindow.hpp b/src/windows/mainwindow.hpp index 37c1b87..19222b8 100644 --- a/src/windows/mainwindow.hpp +++ b/src/windows/mainwindow.hpp @@ -1,5 +1,5 @@ #pragma once -#include "components/channellist/channellist.hpp" +#include "components/channellist/channellisttree.hpp" #include "components/chatwindow.hpp" #include "components/memberlist.hpp" #include "components/friendslist.hpp" @@ -39,7 +39,7 @@ public: void GoToTab(int idx); #endif - ChannelList *GetChannelList(); + ChannelListTree *GetChannelList(); ChatWindow *GetChatWindow(); MemberList *GetMemberList(); @@ -54,7 +54,7 @@ private: Gtk::Paned m_chan_content_paned; Gtk::Paned m_content_members_paned; - ChannelList m_channel_list; + ChannelListTree m_channel_list; ChatWindow m_chat; MemberList m_members; FriendsList m_friends; |