summaryrefslogtreecommitdiffstats
path: root/Source/cmCPluginAPI.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-10-08 19:55:04 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-10-08 19:55:04 (GMT)
commitabf33378888971b2b18cacef8e77977c4d81a860 (patch)
tree940411084b92f85439ec6abdd12ca2a76cbc215a /Source/cmCPluginAPI.h
parent8cdb9a316febc56007c35df49ffc80316bbf1dd9 (diff)
downloadCMake-abf33378888971b2b18cacef8e77977c4d81a860.zip
CMake-abf33378888971b2b18cacef8e77977c4d81a860.tar.gz
CMake-abf33378888971b2b18cacef8e77977c4d81a860.tar.bz2
some mods to the plugin API
Diffstat (limited to 'Source/cmCPluginAPI.h')
-rw-r--r--Source/cmCPluginAPI.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmCPluginAPI.h b/Source/cmCPluginAPI.h
index ba76eff..2ac3270 100644
--- a/Source/cmCPluginAPI.h
+++ b/Source/cmCPluginAPI.h
@@ -52,7 +52,9 @@ typedef struct
information is passed from the InitialPass to FInalPass for commands
that need a FinalPass and need information from the InitialPass */
void (*SetClientData) (void *info, void *cd);
-
+ /* when an error occurs, call this function to set the error string */
+ void (*SetError) (void *info, const char *err);
+
/*=========================================================================
The following functions all directly map to methods in the cmMakefile
class. See cmMakefile.h for descriptions of what each method does. All of
@@ -188,6 +190,7 @@ Finally we define the key data structures and function prototypes
CM_DOC_FUNCTION GetTerseDocumentation;
CM_DOC_FUNCTION GetFullDocumentation;
const char *Name;
+ char *Error;
void *ClientData;
} cmLoadedCommandInfo;