Kaydet (Commit) 0dc6cb34 authored tarafından Michael Meeks's avatar Michael Meeks

generic: undo attempt at cross-platform headless for now

üst 931e6bf5
...@@ -264,18 +264,6 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\ ...@@ -264,18 +264,6 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\
vcl/source/window/window \ vcl/source/window/window \
vcl/source/window/winproc \ vcl/source/window/winproc \
vcl/source/window/wrkwin \ vcl/source/window/wrkwin \
vcl/generic/app/gensys \
vcl/generic/app/geninst \
vcl/generic/app/gendisp \
vcl/generic/print/bitmap_gfx \
vcl/generic/print/common_gfx \
vcl/generic/print/glyphset \
vcl/generic/print/printerjob \
vcl/generic/print/psputil \
vcl/generic/print/genpspgraphics \
vcl/generic/print/genprnpsp \
vcl/generic/print/text_gfx \
vcl/generic/fontmanager/fontsubst \
)) ))
# optional parts # optional parts
...@@ -410,6 +398,18 @@ $(eval $(call gb_Library_add_defs,vcl,\ ...@@ -410,6 +398,18 @@ $(eval $(call gb_Library_add_defs,vcl,\
-D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \ -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
)) ))
$(eval $(call gb_Library_add_exception_objects,vcl,\ $(eval $(call gb_Library_add_exception_objects,vcl,\
vcl/generic/app/gensys \
vcl/generic/app/geninst \
vcl/generic/app/gendisp \
vcl/generic/print/bitmap_gfx \
vcl/generic/print/common_gfx \
vcl/generic/print/glyphset \
vcl/generic/print/printerjob \
vcl/generic/print/psputil \
vcl/generic/print/genpspgraphics \
vcl/generic/print/genprnpsp \
vcl/generic/print/text_gfx \
vcl/generic/fontmanager/fontsubst \
vcl/generic/glyphs/gcach_ftyp \ vcl/generic/glyphs/gcach_ftyp \
vcl/generic/glyphs/gcach_layout \ vcl/generic/glyphs/gcach_layout \
vcl/generic/glyphs/gcach_rbmp \ vcl/generic/glyphs/gcach_rbmp \
......
...@@ -51,6 +51,11 @@ SalYieldMutex::SalYieldMutex() ...@@ -51,6 +51,11 @@ SalYieldMutex::SalYieldMutex()
::tools::SolarMutex::SetSolarMutex( this ); ::tools::SolarMutex::SetSolarMutex( this );
} }
SalYieldMutex::~SalYieldMutex()
{
::tools::SolarMutex::SetSolarMutex( NULL );
}
void SalYieldMutex::acquire() void SalYieldMutex::acquire()
{ {
SolarMutexObject::acquire(); SolarMutexObject::acquire();
......
...@@ -64,7 +64,7 @@ using namespace basegfx; ...@@ -64,7 +64,7 @@ using namespace basegfx;
using ::rtl::OUString; using ::rtl::OUString;
using ::rtl::OString; using ::rtl::OString;
#warning FIXME: this is presumed un-necessary the generic/ BitmapBuffer code should work just as well - surely // FIXME: this is presumed un-necessary the generic/ BitmapBuffer code should work just as well - surely
#ifdef USE_SVP_BITMAP #ifdef USE_SVP_BITMAP
// ----- Implementation of PrinterBmp by means of SalBitmap/BitmapBuffer --------------- // ----- Implementation of PrinterBmp by means of SalBitmap/BitmapBuffer ---------------
......
...@@ -62,12 +62,13 @@ protected: ...@@ -62,12 +62,13 @@ protected:
public: public:
SalYieldMutex(); SalYieldMutex();
~SalYieldMutex();
virtual void acquire(); virtual void acquire();
virtual void release(); virtual void release();
virtual sal_Bool tryToAcquire(); virtual sal_Bool tryToAcquire();
sal_uIntPtr GetAcquireCount() const { return mnCount; } virtual sal_uIntPtr GetAcquireCount() const { return mnCount; }
oslThreadIdentifier GetThreadId() const { return mnThreadId; } oslThreadIdentifier GetThreadId() const { return mnThreadId; }
}; };
......
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