summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codeimport/idlimport.h
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codeimport/idlimport.h')
-rw-r--r--umbrello/umbrello/codeimport/idlimport.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/umbrello/umbrello/codeimport/idlimport.h b/umbrello/umbrello/codeimport/idlimport.h
new file mode 100644
index 00000000..6945364f
--- /dev/null
+++ b/umbrello/umbrello/codeimport/idlimport.h
@@ -0,0 +1,54 @@
+/***************************************************************************
+ * *
+ * 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();
+
+ /**
+ * Implement abstract operation from NativeImportBase.
+ */
+ bool parseStmt();
+
+ /**
+ * Reimplement operation from NativeImportBase.
+ * Need to do this because we use the external C preprocessor.
+ */
+ void parseFile(const QString& file);
+
+ /**
+ * Override operation from NativeImportBase.
+ */
+ bool preprocess(QString& line);
+
+ /**
+ * Implement abstract operation from NativeImportBase.
+ */
+ void fillSource(const QString& word);
+
+protected:
+ QString joinTypename();
+ bool m_isOneway, m_isReadonly, m_isAttribute;
+};
+
+#endif
+