Diff of /main.h [68cdf8] .. [ed05d7] Maximize Restore

  Switch to side-by-side view

--- a/main.h
+++ b/main.h
@@ -1,9 +1,3 @@
-#ifndef _MAIN_H
-#define _MAIN_H
-
-// PTLens, Copyright (C) 2004, Thomas Niemann
-// email: thomasn@epaperpress.com, subject=ptlens
-// 
 // This program is free software; you can redistribute 
 // it and/or modify it under the terms of the GNU
 // General Public License as published by the Free 
@@ -21,6 +15,17 @@
 // write to the Free Software Foundation, Inc., 675 
 // Mass Ave, Cambridge, MA 02139, USA.
 
+/**
+* @file main.h
+* This file is included in all four plug-ins (PTAdjust, PTCorrect, PTPerspect, and PTRemap)
+* The main include file that includes all the others.
+* @date January 2007
+*/
+
+#ifndef _MAIN_H
+#define _MAIN_H
+
+
 #include "PIDefines.h"
 #include "PITypes.h"
 #include "PIFilter.h"
@@ -31,21 +36,29 @@
 #include "dlgAbout.h"
 #include "cpyBuf.h"
 
-typedef struct {
-	int unused;
+/**
+* Param Data
+*/
+typedef struct
+{
+	int unused;    //< not used
 } ParamData;
 
-typedef struct {		// static data
-	MemData mem[2];		// memory allocation (static=0, dynamic=1)
-	DllData dll;		// dll function pointers
-	PhoData pho;		// photoshop image parameters
-	PanData pan;		// PT data
-} StaticData;
+/**
+* Static Data
+*/
+typedef struct
+{		
+	MemData mem[2];	//< memory allocation (static=0, dynamic=1)
+	DllData dll;		//< dll function pointers
+	PhoData pho;		//< photoshop image parameters
+	PanData pan;		//< PT data
+} StaticData;     //< static data
 
-extern StaticData *gData;
-extern ParamData *gParam;
+extern StaticData   *gData;
+extern ParamData    *gParam;
 extern FilterRecord *gFr;
-extern int16 *gResult;
+extern int16        *gResult;
 
 #define GBL gData->gbl
 #define MEM gData->mem