1999-08-31 02:38:58 +04:00
|
|
|
#ifndef _nsILayoutHistoryState_h
|
|
|
|
#define _nsILayoutHistoryState_h
|
|
|
|
|
|
|
|
#include "nsISupports.h"
|
1999-09-14 05:58:49 +04:00
|
|
|
#include "nsIStatefulFrame.h" // Get StateType enum
|
2000-01-14 12:28:54 +03:00
|
|
|
#include "nsIPresState.h"
|
1999-08-31 02:38:58 +04:00
|
|
|
|
|
|
|
#define NS_ILAYOUTHISTORYSTATE_IID_STR "306c8ca0-5f0c-11d3-a9fb-000064657374"
|
|
|
|
|
|
|
|
#define NS_ILAYOUTHISTORYSTATE_IID \
|
|
|
|
{0x306c8ca0, 0x5f0c, 0x11d3, \
|
|
|
|
{0xa9, 0xfb, 0x00, 0x00, 0x64, 0x65, 0x73, 0x74}}
|
|
|
|
|
|
|
|
class nsILayoutHistoryState : public nsISupports {
|
|
|
|
public:
|
|
|
|
NS_DEFINE_STATIC_IID_ACCESSOR(NS_ILAYOUTHISTORYSTATE_IID)
|
|
|
|
|
2000-01-14 12:28:54 +03:00
|
|
|
NS_IMETHOD AddState(PRUint32 aContentID, nsIPresState* aState, nsIStatefulFrame::StateType aStateType) = 0;
|
|
|
|
NS_IMETHOD GetState(PRUint32 aContentID, nsIPresState** aState, nsIStatefulFrame::StateType aStateType) = 0;
|
|
|
|
NS_IMETHOD RemoveState(PRUint32 aContentID, nsIStatefulFrame::StateType aStateType) = 0;
|
1999-08-31 02:38:58 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
nsresult
|
|
|
|
NS_NewLayoutHistoryState(nsILayoutHistoryState** aState);
|
|
|
|
|
1999-09-01 04:53:21 +04:00
|
|
|
#endif /* _nsILayoutHistoryState_h */
|
|
|
|
|