27 #ifndef __SBSELECTIONLISTUTILS_H__
28 #define __SBSELECTIONLISTUTILS_H__
30 #include <nsStringGlue.h>
31 #include <nsDataHashtable.h>
32 #include <nsITreeSelection.h>
36 NS_HIDDEN_(PLDHashOperator) PR_CALLBACK
41 NS_HIDDEN_(PLDHashOperator) PR_CALLBACK
46 NS_HIDDEN_(PLDHashOperator) PR_CALLBACK
57 NS_ASSERTION(aSelection,
"aSelection is null");
61 mSelection->SetSelectEventsSuppressed(PR_TRUE);
62 NS_ASSERTION(NS_SUCCEEDED(rv),
"Failed to set");
70 mSelection->SetSelectEventsSuppressed(PR_FALSE);
71 NS_ASSERTION(NS_SUCCEEDED(rv),
"Failed to unset");
78 #endif // __SBSELECTIONLISTUTILS_H__
nsDataHashtable< nsStringHashKey, nsString > sbSelectionList
PLDHashOperator PR_CALLBACK SB_SelectionListGuidsToTArrayCallback(nsStringHashKey::KeyType aKey, nsString aEntry, void *aUserData)
PLDHashOperator PR_CALLBACK SB_CopySelectionListCallback(nsStringHashKey::KeyType aKey, nsString aEntry, void *aUserData)
~sbAutoSuppressSelectionEvents()
sbAutoSuppressSelectionEvents(nsITreeSelection *aSelection)
PLDHashOperator PR_CALLBACK SB_SerializeSelectionListCallback(nsStringHashKey::KeyType aKey, nsString aEntry, void *aUserData)