diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-15 21:50:41 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-15 21:50:41 +0000 |
commit | a231f5dbb93c60da240a027f2afd8a4797069541 (patch) | |
tree | a6bc68fdc2f1a1fa0000e5cd63a5189f170c226b /sdk_hdrs/CWPluginErrors.h | |
parent | 35d488e972a9dd75ce3867c000405f128b79c615 (diff) | |
download | MWCC-a231f5dbb93c60da240a027f2afd8a4797069541.tar.gz MWCC-a231f5dbb93c60da240a027f2afd8a4797069541.zip |
more cleanup
Diffstat (limited to '')
-rwxr-xr-x | sdk_hdrs/CWPluginErrors.h | 51 |
1 files changed, 50 insertions, 1 deletions
diff --git a/sdk_hdrs/CWPluginErrors.h b/sdk_hdrs/CWPluginErrors.h index 74f93c7..58eb24d 100755 --- a/sdk_hdrs/CWPluginErrors.h +++ b/sdk_hdrs/CWPluginErrors.h @@ -1 +1,50 @@ -/*
* CWPluginErrors.h - CW_Result constants for plugin errors
*
* Copyright © 1995-1997 Metrowerks, Inc. All rights reserved.
*
*/
#ifndef __CWPluginErrors_H__
#define __CWPluginErrors_H__
#ifdef __MWERKS__
# pragma once
#endif
enum
{
// common errors for all plugins
cwNoErr, /* successful return */
cwErrUserCanceled, /* operation canceled by user */
cwErrRequestFailed, /* generic failure when plugin fails */
cwErrInvalidParameter, /* one or more callback parameters invalid */
cwErrInvalidCallback, /* invalid given current request and plugin type*/
cwErrInvalidMPCallback, /* this request is not support from MP threads */
cwErrOSError, /* OS-specific, call CWGetCallbackOSError() */
cwErrOutOfMemory, /* not enough memory */
cwErrFileNotFound, /* file not found on disk */
cwErrUnknownFile, /* bad file number, doesn't exist */
cwErrSilent, /* request failed but plugin didn't report any */
/* errors and doesn't want IDE to report that */
/* an unknown error occurred */
cwErrCantSetAttribute, /* plugin requested inapplicable file flags in */
/* CWAddProjectEntry */
cwErrStringBufferOverflow, /* an output string buffer was too small */
cwErrDirectoryNotFound, /* unable to find a directory being sought */
cwErrLastCommonError = 512,
// compiler/linker errors
cwErrUnknownSegment, /* bad segment number, doesn't exist */
cwErrSBMNotFound, /* */
cwErrObjectFileNotStored, /* No external object file has been stored */
cwErrLicenseCheckFailed,/* license check failed, error reported by IDE */
cwErrFileSpecNotSpecified, /* a file spec was unspecified */
cwErrFileSpecInvalid, /* a file spec was invalid */
cwErrLastCompilerLinkerError = 1024
};
#endif // __CWPluginErrors_H__
\ No newline at end of file +/* + * CWPluginErrors.h - CW_Result constants for plugin errors + * + * Copyright � 1995-1997 Metrowerks, Inc. All rights reserved. + * + */ + +#ifndef __CWPluginErrors_H__ +#define __CWPluginErrors_H__ + +#ifdef __MWERKS__ +# pragma once +#endif + +enum +{ + // common errors for all plugins + + cwNoErr, /* successful return */ + cwErrUserCanceled, /* operation canceled by user */ + cwErrRequestFailed, /* generic failure when plugin fails */ + cwErrInvalidParameter, /* one or more callback parameters invalid */ + cwErrInvalidCallback, /* invalid given current request and plugin type*/ + cwErrInvalidMPCallback, /* this request is not support from MP threads */ + cwErrOSError, /* OS-specific, call CWGetCallbackOSError() */ + cwErrOutOfMemory, /* not enough memory */ + cwErrFileNotFound, /* file not found on disk */ + cwErrUnknownFile, /* bad file number, doesn't exist */ + cwErrSilent, /* request failed but plugin didn't report any */ + /* errors and doesn't want IDE to report that */ + /* an unknown error occurred */ + cwErrCantSetAttribute, /* plugin requested inapplicable file flags in */ + /* CWAddProjectEntry */ + cwErrStringBufferOverflow, /* an output string buffer was too small */ + cwErrDirectoryNotFound, /* unable to find a directory being sought */ + cwErrLastCommonError = 512, + + // compiler/linker errors + + cwErrUnknownSegment, /* bad segment number, doesn't exist */ + cwErrSBMNotFound, /* */ + cwErrObjectFileNotStored, /* No external object file has been stored */ + cwErrLicenseCheckFailed,/* license check failed, error reported by IDE */ + cwErrFileSpecNotSpecified, /* a file spec was unspecified */ + cwErrFileSpecInvalid, /* a file spec was invalid */ + cwErrLastCompilerLinkerError = 1024 + +}; + +#endif // __CWPluginErrors_H__ |