summaryrefslogtreecommitdiff
path: root/idl/inc/database.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-11-08 18:51:13 +0100
committerMichael Stahl <mstahl@redhat.com>2011-11-08 19:10:01 +0100
commit6adb9ad1579df1bde71be3091ccca0c71605ddb7 (patch)
tree8a392706cea7f21dfece4e6741c6724b9c2f8ce8 /idl/inc/database.hxx
parent62ebb119cfb42adc5e007fb77f68d56b40de2a85 (diff)
svidl: new parameter -fM: write GNU make dependencies
Diffstat (limited to 'idl/inc/database.hxx')
-rw-r--r--idl/inc/database.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/idl/inc/database.hxx b/idl/inc/database.hxx
index 80685e34b336..445e54b1aaa5 100644
--- a/idl/inc/database.hxx
+++ b/idl/inc/database.hxx
@@ -34,6 +34,11 @@
#include <lex.hxx>
#include <tools/pstm.hxx>
+#ifdef IDL_COMPILER
+#include <rtl/ustring.hxx>
+#include <set>
+#endif
+
class SvCommand;
#ifdef IDL_COMPILER
@@ -82,6 +87,7 @@ class SvIdlDataBase
protected:
#ifdef IDL_COMPILER
+ ::std::set< ::rtl::OUString > m_DepFiles;
SvMetaObjectMemberStack aContextStack;
String aPath;
SvIdlError aError;
@@ -153,6 +159,8 @@ public:
SvMetaType * pType = NULL );
SvMetaAttribute * SearchKnownAttr( const SvNumberIdentifier& );
SvMetaClass * ReadKnownClass( SvTokenStream & rInStm );
+ void AddDepFile(String const& rFileName);
+ bool WriteDepFile(SvFileStream & rStream, ::rtl::OUString const& rTarget);
#endif
};