Adding new interfaces for toolbars.

This commit is contained in:
hyatt%netscape.com 1998-11-11 19:11:02 +00:00
Родитель 2ef0d10265
Коммит 2138b6c1fd
3 изменённых файлов: 126 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,42 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIToolbarDMItem_h___
#define nsIToolbarDMItem_h___
#include "prthread.h"
#include "nsString.h"
class nsIImage;
class nsIImageGroup;
// {2FC8FD02-789F-11d2-96ED-00104B7B7DEB}
#define NS_ITOOLBARDMITEM_IID \
{ 0x77edfec1, 0x7956, 0x11d2, { 0xbf, 0x86, 0x0, 0x10, 0x5a, 0x1b, 0x6, 0x27 } }
class nsIToolbarDMItem : public nsISupports
{
public:
// Inspectors
// Setters
};
#endif /* nsIToolbarDMItem_h___ */

Просмотреть файл

@ -0,0 +1,40 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIToolbarDataModel_h___
#define nsIToolbarDataModel_h___
#include "prthread.h"
#include "nsString.h"
class nsIToolbarItem;
// {2AAB8D81-7956-11d2-BF86-00105A1B0627}
#define NS_ITOOLBARDATAMODEL_IID \
{ 0x2aab8d81, 0x7956, 0x11d2, { 0xbf, 0x86, 0x0, 0x10, 0x5a, 0x1b, 0x6, 0x27 } }
class nsIToolbarDataModel : public nsISupports
{
public:
// There will be methods for toolbar specific stuff here.
};
#endif /* nsIToolbarDataModel_h___ */

Просмотреть файл

@ -0,0 +1,44 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsITreeDMItem_h___
#define nsITreeDMItem_h___
#include "prthread.h"
#include "nsString.h"
class nsIImage;
class nsIImageGroup;
// {2FC8FD02-789F-11d2-96ED-00104B7B7DEB}
#define NS_ITREEDMITEM_IID \
{ 0x2fc8fd02, 0x789f, 0x11d2, { 0x96, 0xed, 0x0, 0x10, 0x4b, 0x7b, 0x7d, 0xeb } }
class nsITreeDMItem : public nsISupports
{
public:
// Inspectors
NS_IMETHOD GetTriggerImage(nsIImage*& pImage, nsIImageGroup* pGroup) const = 0;
NS_IMETHOD GetIndentationLevel(PRUint32& indentation) const = 0;
// Setters
};
#endif /* nsITreeDMItem_h___ */