ICU-45 Updated the dbbi.h and rbbi.h not to expose the ctor APIs.

X-SVN-Rev: 693
This commit is contained in:
Helena Chapman 2000-01-25 17:57:36 +00:00
parent 97eb9acd6d
commit e724d593b2
3 changed files with 13 additions and 5 deletions

View File

@ -69,7 +69,7 @@ ubrk_openRules(const UChar *rules,
UErrorCode *status)
{
if(U_FAILURE(*status)) return 0;
*status = U_UNSUPPORTED_ERROR;
return 0;
}

View File

@ -91,9 +91,9 @@ public:
* U_FILE_ACCESS_ERROR will be returned if the file does not exist.
* The caller owns the returned object and is responsible for deleting it.
======================================================================= */
private:
DictionaryBasedBreakIterator(const void* tablesImage, char* dictionaryFilename, UErrorCode& status);
public:
//=======================================================================
// boilerplate
//=======================================================================
@ -200,7 +200,12 @@ private:
*/
void bumpDictionaryCharCount(void);
/*
* HSYS : Please revisit with Rich, the ctors of the DBBI class is currently
* marked as private.
*/
friend class DictionaryBasedBreakIteratorTables;
friend class BreakIterator;
};
inline UClassID DictionaryBasedBreakIterator::getDynamicClassID(void) const {

View File

@ -215,8 +215,10 @@ private:
* Class ID
*/
static char fgClassID;
public:
/*
* HSYS: To be revisited, once the ctor are made public.
*/
protected:
//=======================================================================
// constructors
//=======================================================================
@ -226,6 +228,7 @@ public:
// beginning of that file.
RuleBasedBreakIterator(const void* image);
public:
/**
* Copy constructor. Will produce a collator with the same behavior,
* and which iterates over the same text, as the one passed in.