// ライセンス: 最新のGPL

//
// 2ch 
//

#ifndef _BOARD2CH_H
#define _BOARD2CH_H

#include "board2chcompati.h"

namespace DBTREE
{
    class SettingLoader;

    class Board2ch : public Board2chCompati
    {
        SettingLoader* m_settingloader;

      public:

        Board2ch( const std::string& root, const std::string& path_board,const std::string& name );
        virtual ~Board2ch();

        virtual const std::string& get_agent();

        virtual const std::string get_proxy_host();
        virtual const int get_proxy_port();

        virtual const std::string get_proxy_host_w();
        virtual const int get_proxy_port_w();

        virtual const std::string settingtxt();
        virtual const std::string default_noname();
        virtual const int line_number();
        virtual const int message_count();

      private:

        virtual ArticleBase* append_article( const std::string& id, bool cached );

        virtual void load_setting();
        virtual void download_setting();
    };
}

#endif
