/* * Copyright 2021, Jaidyn Levesque * All rights reserved. Distributed under the terms of the MIT license. */ #include "SourceListItem.h" #include #include #include "Source.h" #include "Util.h" #undef B_TRANSLATION_CONTEXT #define B_TRANSLATION_CONTEXT "SourceListItem" SourceListItem::SourceListItem(Source* source) : BStringItem(source->Name(), 0, false), fSource(source) { } Source* SourceListItem::FeedSource() { return fSource; }