michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef __nsEditProperty_h__ michael@0: #define __nsEditProperty_h__ michael@0: michael@0: #include "nsISupports.h" michael@0: michael@0: class nsIAtom; michael@0: class nsString; michael@0: michael@0: /** simple interface for describing a single property as it relates to a range of content. michael@0: * michael@0: */ michael@0: michael@0: class nsEditProperty michael@0: { michael@0: public: michael@0: michael@0: static void RegisterAtoms(); michael@0: michael@0: #define EDITOR_ATOM(name_, value_) static nsIAtom* name_; michael@0: #include "nsEditPropertyAtomList.h" michael@0: #undef EDITOR_ATOM michael@0: michael@0: }; michael@0: michael@0: michael@0: michael@0: #endif