Mercurial > hg > orthanc-stone
diff Framework/Viewport/CairoFont.h @ 365:ef31240a73f6 am-2
no automatic call to moc and uic, CircleMeasureTracker using Orthanc fonts
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 31 Oct 2018 18:10:29 +0100 |
parents | 4cff7b1ed31d |
children | b70e9be013e4 |
line wrap: on
line diff
--- a/Framework/Viewport/CairoFont.h Wed Oct 31 11:06:25 2018 +0100 +++ b/Framework/Viewport/CairoFont.h Wed Oct 31 18:10:29 2018 +0100 @@ -21,6 +21,14 @@ #pragma once +#if !defined(ORTHANC_SANDBOXED) +# error The macro ORTHANC_SANDBOXED must be defined +#endif + +#if ORTHANC_SANDBOXED == 1 +# error The class CairoFont cannot be used in sandboxed environments +#endif + #include "CairoContext.h" namespace OrthancStone