/***************************************************************************
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *  copyright (C) 2005                                                     *
 *  Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                   *
 ***************************************************************************/

#ifndef IDLIMPORT_H
#define IDLIMPORT_H

#include "nativeimportbase.h"

/**
 * CORBA IDL code import
 * @author Oliver Kellogg
 * Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
 */
class IDLImport : public NativeImportBase {
public:
    IDLImport();
    virtual ~IDLImport();

    bool parseStmt();

    void parseFile(const QString& file);

    bool preprocess(QString& line);

    void fillSource(const QString& word);

protected:
    QString joinTypename();
    bool m_isOneway, m_isReadonly, m_isAttribute;
};

#endif

