wacom: Replace ifdefs with #pragma once
This commit is contained in:
parent
667fe61e78
commit
34cb560009
2 changed files with 9 additions and 6 deletions
|
@ -21,11 +21,12 @@
|
||||||
* THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CALIBRATOR_GUI_H__
|
#pragma once
|
||||||
#define __CALIBRATOR_GUI_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* struct to hold min/max info of the X and Y axis */
|
/* struct to hold min/max info of the X and Y axis */
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
@ -60,4 +61,5 @@ void calib_area_get_axis (CalibArea *area,
|
||||||
|
|
||||||
void calib_area_get_padding (CalibArea *area,
|
void calib_area_get_padding (CalibArea *area,
|
||||||
XYinfo *padding);
|
XYinfo *padding);
|
||||||
#endif /* __CALIBRATOR_GUI_H__ */
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
|
@ -21,12 +21,13 @@
|
||||||
* THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _calibrator_h
|
#pragma once
|
||||||
#define _calibrator_h
|
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "calibrator-gui.h"
|
#include "calibrator-gui.h"
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Number of blocks. We partition the screen into 'num_blocks' x 'num_blocks'
|
* Number of blocks. We partition the screen into 'num_blocks' x 'num_blocks'
|
||||||
* rectangles of equal size. We then ask the user to press points that are
|
* rectangles of equal size. We then ask the user to press points that are
|
||||||
|
@ -95,4 +96,4 @@ gboolean finish (struct Calib *c,
|
||||||
XYinfo *new_axis,
|
XYinfo *new_axis,
|
||||||
gboolean *swap);
|
gboolean *swap);
|
||||||
|
|
||||||
#endif /* _calibrator_h */
|
G_END_DECLS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue