summaryrefslogtreecommitdiff
path: root/idl/inc
diff options
context:
space:
mode:
Diffstat (limited to 'idl/inc')
-rw-r--r--idl/inc/database.hxx3
-rw-r--r--idl/inc/parser.hxx37
2 files changed, 38 insertions, 2 deletions
diff --git a/idl/inc/database.hxx b/idl/inc/database.hxx
index c435aaf85bda..3b7f15f02534 100644
--- a/idl/inc/database.hxx
+++ b/idl/inc/database.hxx
@@ -102,6 +102,7 @@ public:
{ aError = r; }
const OUString & GetPath() const { return aPath; }
+ void SetPath(const OUString &s) { aPath = s; }
SvRefMemberList<SvMetaObject *>& GetStack() { return aContextStack; }
void Write(const OString& rText);
@@ -135,8 +136,6 @@ class SvIdlWorkingBase : public SvIdlDataBase
public:
explicit SvIdlWorkingBase( const SvCommand& rCmd );
- bool ReadSvIdl( SvTokenStream &, bool bImported, const OUString & rPath );
-
bool WriteSfx( SvStream & );
};
diff --git a/idl/inc/parser.hxx b/idl/inc/parser.hxx
new file mode 100644
index 000000000000..c06287b7a9e4
--- /dev/null
+++ b/idl/inc/parser.hxx
@@ -0,0 +1,37 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef INCLUDED_IDL_INC_PARSER_HXX
+#define INCLUDED_IDL_INC_PARSER_HXX
+
+#include <rtl/ustring.hxx>
+
+class SvTokenStream;
+class SvIdlDataBase;
+
+class SvIdlParser
+{
+public:
+ bool ReadSvIdl( SvIdlDataBase& rBase, SvTokenStream &, bool bImported, const OUString & rPath );
+
+};
+
+#endif // INCLUDED_IDL_INC_PARSER_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */