git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@1223
56b19765-1e22-0410-a548-
a0f45d66c51a
}
}
+bool Board::isWritingSupported( const KURL& boardURL )
+{
+ if ( Kita::boardType( boardURL.url() ) == Board_2ch ) {
+ return true;
+ } else {
+ return false;
+ }
+}
+
NullBoard::NullBoard()
{}
static const QPtrList<Thread> getThreadList( const QString& boardURL );
static void replace( const QString& fromURL, const QString& toURL );
+
+ static bool isWritingSupported( const KURL& boardURL );
};
class NullBoard : public Board
if ( ! m_serverTime ) return ;
// TODO: machiBBS kakiko support.
- if ( Kita::boardType( m_datURL.prettyURL() ) == Kita::Board_MachiBBS ) {
+ if ( Kita::Board::isWritingSupported( m_datURL ) == false ) {
QMessageBox::warning( this, QString("<(_ _)>"),
i18n("Can't write to machi BBS in this version." ) );
return;