/***************************************************************************
 *   Copyright (C) 2004-2006 by Pere Constans
 *   constans@molspaces.com
 *   cb2Bib version 0.6.1
 *   See LICENSE file that comes with this distribution
 ***************************************************************************/
#ifndef JOURNALDB_H
#define JOURNALDB_H

#include <qfile.h>
#include <qmessagebox.h>
#include <qregexp.h>
#include <qstring.h>
#include <qstringlist.h>

/**
Database of Journal Names
 
@author Pere Constans
*/

class JournalDB
{

public:
    JournalDB( const QString &dbfile );
    ~JournalDB();

    int nitems;
    QStringList JAbbrev_simp;
    QStringList JExtended_simp;
    QString retrieveFull( const QString& JQuery );
    QString retrieve( QString JQuery );


private:
    QStringList JCode;
    QStringList JAbbrev;
    QStringList JExtended;

};

#endif
