//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using CommunityServer.Discussions.Components;

namespace CommunityServer.Components.SearchBarrel
{
    public class ForumBarrelItem : BarrelItem
    {
        public override void Format(IndexPost post)
        {
            post.Url = ForumUrls.Instance().PostSingle(post.PostID);
            post.ApplicationUrl = Globals.GetSiteUrls().ForumsHome;
        }

        public override ApplicationType ApplicationType
        {
            get
            {
                return ApplicationType.Forum;
            }
        }



    }
}