diff options
author | Michael Stahl <mstahl@redhat.com> | 2011-11-08 18:51:13 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-11-08 19:10:01 +0100 |
commit | 6adb9ad1579df1bde71be3091ccca0c71605ddb7 (patch) | |
tree | 8a392706cea7f21dfece4e6741c6724b9c2f8ce8 /idl/inc | |
parent | 62ebb119cfb42adc5e007fb77f68d56b40de2a85 (diff) |
svidl: new parameter -fM: write GNU make dependencies
Diffstat (limited to 'idl/inc')
-rw-r--r-- | idl/inc/command.hxx | 2 | ||||
-rw-r--r-- | idl/inc/database.hxx | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/idl/inc/command.hxx b/idl/inc/command.hxx index f8ea98a5e63f..dad01dcf0523 100644 --- a/idl/inc/command.hxx +++ b/idl/inc/command.hxx @@ -30,6 +30,7 @@ #define _COMMAND_HXX #include <tools/string.hxx> +#include <rtl/ustring.hxx> #include <vector> #ifndef STRING_LIST @@ -61,6 +62,7 @@ public: String aCSVFile; String aExportFile; String aDocuFile; + ::rtl::OUString m_DepFile; sal_uInt32 nVerbosity; sal_uInt32 nFlags; 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 }; |