Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


On Fri, 2010-12-17 at 14:25 +0100, Joachim wrote:
If I look at the different create_SalInstance functions, there is always 
an instance of xxxSalInstance. Right?

There should be, right. That's my understanding.

So we can move the the PrinterUpdate code in the xxxSalInstances 
classes, keep a static pointer to the instance and make PrinterUpdate 
forward the methods to that instance?

What I did was add to the SalInstance api the three PrinterUpdate
related calls, and then substitute the direct calls from normal code of
PrinterUpdate to that new SalInstance api, and then have two different
"real" PrinterUpdates, one per each SalInstance family. The X11 family
of X11, gtk, kde, etc. and the other of the headless one

C.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.