Example #1
0
        public FeedsManager(HyenaSqliteConnection connection, DownloadManager downloadManager, string podcast_base_dir)
        {
            // Hack to work around Feeds being needy and having to call all our internal methods, instead
            // of us just listening for their events.
            Instance              = this;
            this.connection       = connection;
            this.podcast_base_dir = podcast_base_dir;

            feed_manager      = new FeedManager();
            enclosure_manager = new EnclosureManager(downloadManager);

            Feed.Init();
            FeedItem.Init();
            FeedEnclosure.Init();

            command_queue = new AsyncCommandQueue();
        }
Example #2
0
        public FeedsManager(HyenaSqliteConnection connection, DownloadManager downloadManager, string podcast_base_dir)
        {
            // Hack to work around Feeds being needy and having to call all our internal methods, instead
            // of us just listening for their events.
            Instance = this;
            this.connection = connection;
            this.podcast_base_dir = podcast_base_dir;

            feed_manager = new FeedManager ();
            enclosure_manager = new EnclosureManager (downloadManager);

            Feed.Init ();
            FeedItem.Init ();
            FeedEnclosure.Init ();

            command_queue = new AsyncCommandQueue ();
        }