1#ifndef __SLISTVIEWITEMLOCATOR_I__H__
2#define __SLISTVIEWITEMLOCATOR_I__H__
4#include <interface/SAdapter-i.h>
9#define INTERFACE IListViewItemLocator
10DECLARE_INTERFACE_(IListViewItemLocator,
IObjRef)
15 STDMETHOD_(
long, AddRef)(THIS) PURE;
20 STDMETHOD_(
long, Release)(THIS) PURE;
25 STDMETHOD_(
void, OnFinalRelease)(THIS) PURE;
34 STDMETHOD_(
void, SetAdapter)(THIS_ ILvAdapter * pAdapter) PURE;
40 STDMETHOD_(
void, OnDataSetChanged)(THIS) PURE;
46 STDMETHOD_(BOOL, IsFixHeight)(CTHIS) SCONST PURE;
53 STDMETHOD_(
int, GetItemHeight)(CTHIS_
int iItem) SCONST PURE;
61 STDMETHOD_(
void, SetItemHeight)(THIS_
int iItem,
int nHeight) PURE;
67 STDMETHOD_(
int, GetTotalHeight)(THIS) PURE;
74 STDMETHOD_(
int, Item2Position)(THIS_
int iItem) PURE;
81 STDMETHOD_(
int, Position2Item)(THIS_
int position) PURE;
87 STDMETHOD_(
int, GetScrollLineSize)(CTHIS) SCONST PURE;
93 STDMETHOD_(
int, GetDividerSize)(CTHIS) SCONST PURE;
101 STDMETHOD_(
void, SetScale)(THIS_
int nScale) PURE;
Interface for reference counting.