Back to index

lightning-sunbird  0.9+nobinonly
nsIStyleRuleSupplier.h
Go to the documentation of this file.
00001 #ifndef _nsIStyleRuleSupplier_h
00002 #define _nsIStyleRuleSupplier_h
00003 
00004 #include "nsISupports.h"
00005 #include "nsISupportsArray.h"
00006 #include "nsIStyleRuleProcessor.h"
00007 
00008 // {2D77A45B-4F3A-4203-A7D2-F4B84D0C1EE4}
00009 #define NS_ISTYLERULESUPPLIER_IID \
00010 { 0x2d77a45b, 0x4f3a, 0x4203, { 0xa7, 0xd2, 0xf4, 0xb8, 0x4d, 0xc, 0x1e, 0xe4 } }
00011 
00012 class nsIContent;
00013 class nsStyleSet;
00014 
00015 class nsIStyleRuleSupplier : public nsISupports {
00016  public: 
00017   NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISTYLERULESUPPLIER_IID)
00018 
00019   NS_IMETHOD WalkRules(nsStyleSet* aStyleSet, 
00020                        nsIStyleRuleProcessor::EnumFunc aFunc,
00021                        RuleProcessorData* aData,
00022                        PRBool* aCutOffInheritance)=0;
00023 };
00024 
00025 #endif /* _nsIStyleRuleSupplier_h */