xpcom/base/nsVersionComparatorImpl.h
author Aryeh Gregor <ayg@aryeh.name>
Mon, 23 Jul 2012 13:27:22 +0300
changeset 100300 51a7bf2b46f181de6b658ec9e845d6d8d2080667
parent 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 124964 8c4e1ad6d30b0e179ac4d322d18af827a25047f2
permissions -rw-r--r--
Bug 776323 part 2 - Clean up nsSelectionState::SaveSelection; r=ehsan

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "mozilla/Attributes.h"

#include "nsIVersionComparator.h"

class nsVersionComparatorImpl MOZ_FINAL : public nsIVersionComparator
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIVERSIONCOMPARATOR
};

#define NS_VERSIONCOMPARATOR_CONTRACTID "@mozilla.org/xpcom/version-comparator;1"

// c6e47036-ca94-4be3-963a-9abd8705f7a8
#define NS_VERSIONCOMPARATOR_CID \
{ 0xc6e47036, 0xca94, 0x4be3, \
  { 0x96, 0x3a, 0x9a, 0xbd, 0x87, 0x05, 0xf7, 0xa8 } }

#define NS_VERSIONCOMPARATOR_CLASSNAME "nsVersionComparatorImpl"