Added NS_RDF_ASSERTION_ACCEPTED and NS_RDF_ASSERTION_REJECTED return codes.

This commit is contained in:
waterson%netscape.com 1999-04-07 06:28:17 +00:00
Родитель 3ba39cffd6
Коммит 7893b66e74
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -67,8 +67,19 @@ static const char* kTag##prefix##_##name = #name
/* Returned from nsIRDFCursor::Advance() if the cursor has no more /* Returned from nsIRDFCursor::Advance() if the cursor has no more
elements to enuemrate */ elements to enuemrate */
#define NS_RDF_CURSOR_EMPTY NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_RDF, 1) #define NS_RDF_CURSOR_EMPTY NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_RDF, 1)
/* Returned from nsIRDFDataSource::GetSource() and GetTarget() if the source/target
has no value */
#define NS_RDF_NO_VALUE NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_RDF, 2) #define NS_RDF_NO_VALUE NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_RDF, 2)
/* Returned from nsIRDFDataSource::Assert() and Unassert() if the assertion (or
unassertion was accepted by the datasource*/
#define NS_RDF_ASSERTION_ACCEPTED NS_OK
/* Returned from nsIRDFDataSource::Assert() and Unassert() if the assertion (or
unassertion) was rejected by the datasource; i.e., the datasource was not
willing to record the statement. */
#define NS_RDF_ASSERTION_REJECTED NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_RDF, 3)