28 #include <nsIRunnable.h>
29 #include "sbIDeviceEventListener.h"
31 #include <nsAutoPtr.h>
33 #include <nsDataHashtable.h>
50 ~sbDeviceEventTesterRemoval();
53 nsTArray<nsRefPtr<sbDeviceEventTesterRemovalHelper> >
mListeners;
60 NS_DECL_SBIDEVICEEVENTLISTENER
103 nsresult
SetFlag(PRUint32 aFlag, PRBool aSet);
111 nsDataHashtableMT<nsUint32HashKey, PRBool>
mFlags;
nsresult AddAction(ACTION_TYPE aType, PRBool aSet, sbIDeviceEventListener *aListener)
nsTArray< ACTION > mActions
nsresult SetFlag(PRUint32 aFlag, PRBool aSet)
nsCOMPtr< sbIDeviceEventListener > listener
nsresult AddAction(ACTION_TYPE aType, PRBool aSet, int aFlag, int aCount)
sbDeviceEventTesterRemovalHelper(const char aName)
ACTION(ACTION_TYPE aType, PRBool aSet, PRUint32 aFlag, PRUint32 aCount)
NS_DECL_ISUPPORTS NS_DECL_NSIRUNNABLE sbDeviceEventTesterRemoval()
nsTArray< nsRefPtr< sbDeviceEventTesterRemovalHelper > > mListeners
ACTION(ACTION_TYPE aType, PRBool aSet, sbIDeviceEventListener *aListener)
restoreHistoryPrecursor aCount
nsDataHashtableMT< nsUint32HashKey, PRBool > mFlags