Kaydet (Commit) 40d4f917 authored tarafından Michael Stahl's avatar Michael Stahl

sal, cppuhelper headers a little more complete and self-contained

All of them now build as-is (doing that is actually a pain because some
are named the same as C library headers and clang looks first in the
directory where the source file is in...).

Change-Id: Ief6e245c8f49fcee678aebd46394c19e4cb47f51
üst db222b74
...@@ -20,7 +20,11 @@ ...@@ -20,7 +20,11 @@
#define INCLUDED_CPPUHELPER_COMPONENT_CONTEXT_HXX #define INCLUDED_CPPUHELPER_COMPONENT_CONTEXT_HXX
#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <cppuhelper/cppuhelperdllapi.h> #include <cppuhelper/cppuhelperdllapi.h>
#include <rtl/ustring.hxx>
#include <sal/types.h>
namespace cppu namespace cppu
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <functional> #include <functional>
#include <vector> #include <vector>
#include <utility>
#include <osl/diagnose.h> #include <osl/diagnose.h>
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#ifndef INCLUDED_CPPUHELPER_WEAK_HXX #ifndef INCLUDED_CPPUHELPER_WEAK_HXX
#define INCLUDED_CPPUHELPER_WEAK_HXX #define INCLUDED_CPPUHELPER_WEAK_HXX
#include <cassert>
#include <osl/interlck.h> #include <osl/interlck.h>
#include <rtl/alloc.h> #include <rtl/alloc.h>
#include <com/sun/star/uno/XWeak.hpp> #include <com/sun/star/uno/XWeak.hpp>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#ifndef INCLUDED_CPPUHELPER_WEAKREF_HXX #ifndef INCLUDED_CPPUHELPER_WEAKREF_HXX
#define INCLUDED_CPPUHELPER_WEAKREF_HXX #define INCLUDED_CPPUHELPER_WEAKREF_HXX
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/XInterface.hpp> #include <com/sun/star/uno/XInterface.hpp>
#include <cppuhelper/cppuhelperdllapi.h> #include <cppuhelper/cppuhelperdllapi.h>
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <cassert> #include <cassert>
#include <sal/log.hxx>
#include <osl/time.h> #include <osl/time.h>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
......
...@@ -22,7 +22,9 @@ ...@@ -22,7 +22,9 @@
#include <osl/profile.h> #include <osl/profile.h>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <string.h> #include <string.h>
#include <exception>
#include <list> #include <list>
namespace osl { namespace osl {
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#define INCLUDED_RTL_STRINGUTILS_HXX #define INCLUDED_RTL_STRINGUTILS_HXX
#include <sal/config.h> #include <sal/config.h>
#include <sal/types.h>
// Manually defining RTL_DISABLE_FAST_STRING allows to force turning fast string concatenation off // Manually defining RTL_DISABLE_FAST_STRING allows to force turning fast string concatenation off
// (e.g. for debugging). // (e.g. for debugging).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment