зеркало из https://github.com/mozilla/gecko-dev.git
Added sort state enum.
This commit is contained in:
Родитель
71f08e9ef8
Коммит
a65884dea9
|
@ -27,13 +27,20 @@
|
||||||
#define NS_ITREECOLUMN_IID \
|
#define NS_ITREECOLUMN_IID \
|
||||||
{ 0xdd719481, 0x5d79, 0x11d2, { 0x96, 0xed, 0x0, 0x10, 0x4b, 0x7b, 0x7d, 0xeb } }
|
{ 0xdd719481, 0x5d79, 0x11d2, { 0x96, 0xed, 0x0, 0x10, 0x4b, 0x7b, 0x7d, 0xeb } }
|
||||||
|
|
||||||
|
// Sort State enum
|
||||||
|
enum nsColumnSortState {
|
||||||
|
eUnsorted;
|
||||||
|
eAscending;
|
||||||
|
eDescending;
|
||||||
|
};
|
||||||
|
|
||||||
class nsITreeColumn : public nsISupports
|
class nsITreeColumn : public nsISupports
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Inspectors
|
// Inspectors
|
||||||
NS_IMETHOD GetPixelWidth(int& width) = 0;
|
NS_IMETHOD GetPixelWidth(int& width) = 0;
|
||||||
NS_IMETHOD GetDesiredPercentage(double& percentage) = 0;
|
NS_IMETHOD GetDesiredPercentage(double& percentage) = 0;
|
||||||
NS_IMETHOD GetSortState(int& answer) = 0;
|
NS_IMETHOD GetSortState(nsColumnSortState& answer) = 0;
|
||||||
NS_IMETHOD GetColumnName(nsString& name) = 0;
|
NS_IMETHOD GetColumnName(nsString& name) = 0;
|
||||||
|
|
||||||
// Setters
|
// Setters
|
||||||
|
|
Загрузка…
Ссылка в новой задаче