StelObjectModule.hpp   StelObjectModule.hpp 
skipping to change at line 61 skipping to change at line 61
//! @return The matching StelObject if exists or the empty StelObjec t if not found. //! @return The matching StelObject if exists or the empty StelObjec t if not found.
virtual StelObjectP searchByNameI18n(const QString& nameI18n) const = 0; virtual StelObjectP searchByNameI18n(const QString& nameI18n) const = 0;
//! Return the matching StelObject if exists or the empty StelObject if not found //! Return the matching StelObject if exists or the empty StelObject if not found
//! @param name the english object name //! @param name the english object name
virtual StelObjectP searchByName(const QString& name) const = 0; virtual StelObjectP searchByName(const QString& name) const = 0;
//! Find and return the list of at most maxNbItem objects auto-compl eting passed object I18 name //! Find and return the list of at most maxNbItem objects auto-compl eting passed object I18 name
//! @param objPrefix the first letters of the searched object //! @param objPrefix the first letters of the searched object
//! @param maxNbItem the maximum number of returned object names //! @param maxNbItem the maximum number of returned object names
//! @param useStartOfWords the autofill mode for returned objects na mes
//! @return a list of matching object name by order of relevance, or an empty list if nothing matches //! @return a list of matching object name by order of relevance, or an empty list if nothing matches
virtual QStringList listMatchingObjectsI18n(const QString& objPrefix , int maxNbItem=5) const = 0; virtual QStringList listMatchingObjectsI18n(const QString& objPrefix , int maxNbItem=5, bool useStartOfWords=false) const = 0;
//! Find and return the list of at most maxNbItem objects auto-compl eting passed object English name //! Find and return the list of at most maxNbItem objects auto-compl eting passed object English name
//! @param objPrefix the first letters of the searched object //! @param objPrefix the first letters of the searched object
//! @param maxNbItem the maximum number of returned object names //! @param maxNbItem the maximum number of returned object names
//! @param useStartOfWords the autofill mode for returned objects na mes
//! @return a list of matching object name by order of relevance, or an empty list if nothing matches //! @return a list of matching object name by order of relevance, or an empty list if nothing matches
virtual QStringList listMatchingObjects(const QString& objPrefix, in t maxNbItem=5) const = 0; virtual QStringList listMatchingObjects(const QString& objPrefix, in t maxNbItem=5, bool useStartOfWords=false) const = 0;
virtual QStringList listAllObjects(bool inEnglish) const = 0; virtual QStringList listAllObjects(bool inEnglish) const = 0;
virtual QString getName() const = 0; virtual QString getName() const = 0;
}; };
#endif // _STELOBJECTMODULE_HPP_ #endif // _STELOBJECTMODULE_HPP_
 End of changes. 4 change blocks. 
2 lines changed or deleted 4 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/