mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
add set_trust_level
This commit is contained in:
parent
43080575bd
commit
5c61a77d90
@ -111,6 +111,19 @@ get_trust_level() const {
|
|||||||
return _trust_level;
|
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
|
// Function: ConfigPage::get_signature
|
||||||
// Access: Published
|
// Access: Published
|
||||||
|
@ -53,6 +53,7 @@ PUBLISHED:
|
|||||||
|
|
||||||
INLINE int get_page_seq() const;
|
INLINE int get_page_seq() const;
|
||||||
INLINE int get_trust_level() const;
|
INLINE int get_trust_level() const;
|
||||||
|
INLINE void set_trust_level(int trust_level);
|
||||||
INLINE const string &get_signature() const;
|
INLINE const string &get_signature() const;
|
||||||
|
|
||||||
void clear();
|
void clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user