add set_trust_level

This commit is contained in:
David Rose 2007-05-18 20:52:24 +00:00
parent 43080575bd
commit 5c61a77d90
2 changed files with 14 additions and 0 deletions

View File

@ -111,6 +111,19 @@ get_trust_level() const {
return _trust_level;
}
////////////////////////////////////////////////////////////////////
// Function: ConfigPage::set_trust_level
// Access: Published
// Description: Explicitly sets the trust level on this particular
// page. Note that any subsequent changes to the page,
// or to any variable declarations on it, will reset the
// trust level to zero.
////////////////////////////////////////////////////////////////////
INLINE void ConfigPage::
set_trust_level(int trust_level) {
_trust_level = trust_level;
}
////////////////////////////////////////////////////////////////////
// Function: ConfigPage::get_signature
// Access: Published

View File

@ -53,6 +53,7 @@ PUBLISHED:
INLINE int get_page_seq() const;
INLINE int get_trust_level() const;
INLINE void set_trust_level(int trust_level);
INLINE const string &get_signature() const;
void clear();