mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
Fixing #include guards to avoid leading underscore. Not Part Of The Build
This commit is contained in:
parent
4a71ffbf67
commit
01952f0a59
@ -35,8 +35,8 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef GFXASURFACE_H
|
||||
#define GFXASURFACE_H
|
||||
#ifndef GFX_ASURFACE_H
|
||||
#define GFX_ASURFACE_H
|
||||
|
||||
#include <cairo.h>
|
||||
|
||||
@ -74,4 +74,4 @@ private:
|
||||
cairo_surface_t* mSurface;
|
||||
};
|
||||
|
||||
#endif /* GFXASURFACE_H */
|
||||
#endif /* GFX_ASURFACE_H */
|
||||
|
@ -35,8 +35,8 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef _GFX_CONTEXT_H
|
||||
#define _GFX_CONTEXT_H
|
||||
#ifndef GFX_CONTEXT_H
|
||||
#define GFX_CONTEXT_H
|
||||
|
||||
#include <cairo.h>
|
||||
|
||||
@ -178,4 +178,4 @@ private:
|
||||
cairo_t *mCairo;
|
||||
};
|
||||
|
||||
#endif /* _GFX_CONTEXT_H */
|
||||
#endif /* GFX_CONTEXT_H */
|
||||
|
@ -35,8 +35,8 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef _GFX_FILTER_H
|
||||
#define _GFX_FILTER_H
|
||||
#ifndef GFX_FILTER_H
|
||||
#define GFX_FILTER_H
|
||||
|
||||
#include "gfxTypes.h"
|
||||
|
||||
@ -45,4 +45,4 @@ class gfxFilter {
|
||||
// CreateGaussianFilter, etc
|
||||
};
|
||||
|
||||
#endif /* _GFX_FILTER_H */
|
||||
#endif /* GFX_FILTER_H */
|
||||
|
@ -35,8 +35,8 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef GFXSURFACEIMAGE_H
|
||||
#define GFXSURFACEIMAGE_H
|
||||
#ifndef GFX_IMAGESURFACE_H
|
||||
#define GFX_IMAGESURFACE_H
|
||||
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxPoint.h"
|
||||
@ -63,4 +63,4 @@ private:
|
||||
long mHeight;
|
||||
};
|
||||
|
||||
#endif /* GFXSURFACEIMAGE_H */
|
||||
#endif /* GFX_IMAGESURFACE_H */
|
||||
|
@ -35,8 +35,8 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef _GFX_MATRIX_H
|
||||
#define _GFX_MATRIX_H
|
||||
#ifndef GFX_MATRIX_H
|
||||
#define GFX_MATRIX_H
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define _USE_MATH_DEFINES
|
||||
@ -139,4 +139,4 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* _GFX_MATRIX_H */
|
||||
#endif /* GFX_MATRIX_H */
|
||||
|
@ -35,8 +35,8 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef _GFX_PATTERN_H
|
||||
#define _GFX_PATTERN_H
|
||||
#ifndef GFX_PATTERN_H
|
||||
#define GFX_PATTERN_H
|
||||
|
||||
#include <cairo.h>
|
||||
|
||||
@ -108,4 +108,4 @@ private:
|
||||
cairo_pattern_t *mPattern;
|
||||
};
|
||||
|
||||
#endif /* _GFX_PATTERN_H */
|
||||
#endif /* GFX_PATTERN_H */
|
||||
|
@ -35,8 +35,8 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef _GFX_POINT_H
|
||||
#define _GFX_POINT_H
|
||||
#ifndef GFX_POINT_H
|
||||
#define GFX_POINT_H
|
||||
|
||||
#include "gfxTypes.h"
|
||||
|
||||
@ -74,4 +74,4 @@ struct gfxPoint {
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* _GFX_POINT_H */
|
||||
#endif /* GFX_POINT_H */
|
||||
|
@ -35,8 +35,8 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef _GFX_RECT_H
|
||||
#define _GFX_RECT_H
|
||||
#ifndef GFX_RECT_H
|
||||
#define GFX_RECT_H
|
||||
|
||||
#include "gfxTypes.h"
|
||||
|
||||
@ -58,4 +58,4 @@ struct gfxRect {
|
||||
// XXX figure out what methods (intersect, union, etc) we use and add them.
|
||||
};
|
||||
|
||||
#endif /* _GFX_RECT_H */
|
||||
#endif /* GFX_RECT_H */
|
||||
|
@ -35,6 +35,9 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef GFX_TEXTRUN_H
|
||||
#define GFX_TEXTRUN_H
|
||||
|
||||
class gfxTextRun {
|
||||
// these do not copy the text
|
||||
gfxTextRun(const char* ASCII, int length);
|
||||
@ -61,3 +64,5 @@ class gfxTextRun {
|
||||
|
||||
int GetPositionInString(gfxPoint& pt);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -35,8 +35,8 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef _GFX_TYPES_H
|
||||
#define _GFX_TYPES_H
|
||||
#ifndef GFX_TYPES_H
|
||||
#define GFX_TYPES_H
|
||||
|
||||
/**
|
||||
* Currently needs to be 'double' for Cairo compatibility. Could
|
||||
@ -44,4 +44,4 @@
|
||||
*/
|
||||
typedef double gfxFloat;
|
||||
|
||||
#endif /* _GFX_TYPES_H */
|
||||
#endif /* GFX_TYPES_H */
|
||||
|
@ -35,8 +35,8 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef WINDOWSSURFACE_H
|
||||
#define WINDOWSSURFACE_H
|
||||
#ifndef GFX_WINDOWSSURFACE_H
|
||||
#define GFX_WINDOWSSURFACE_H
|
||||
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxPoint.h"
|
||||
@ -52,4 +52,4 @@ public:
|
||||
// <insert refcount stuff here>
|
||||
};
|
||||
|
||||
#endif /* WINDOWSSURFACE_H */
|
||||
#endif /* GFX_WINDOWSSURFACE_H */
|
||||
|
@ -35,8 +35,8 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef GFXXLIBSURFACE_H
|
||||
#define GFXXLIBSURFACE_H
|
||||
#ifndef GFX_XLIBSURFACE_H
|
||||
#define GFX_XLIBSURFACE_H
|
||||
|
||||
#include "gfxASurface.h"
|
||||
|
||||
@ -51,4 +51,4 @@ public:
|
||||
// <insert refcount stuff here>
|
||||
};
|
||||
|
||||
#endif /* GFXXLIBSURFACE_H */
|
||||
#endif /* GFX_XLIBSURFACE_H */
|
||||
|
Loading…
Reference in New Issue
Block a user