js/ductwork/debugger/JSDebugger.h
author Ehsan Akhgari <ehsan@mozilla.com>
Tue, 19 Jun 2012 23:43:15 -0400
changeset 97457 87d73e4f93f46592b3b1b343fada7e59f5bdb59b
parent 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 135799 41caf6414eae175be5af4ca6456ea0ae11c11150
permissions -rw-r--r--
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more jsd parts); r=Waldo

/* -*-  Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */
/* 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/. */

#ifndef COMPONENTS_JSDEBUGGER_H
#define COMPONENTS_JSDEBUGGER_H

#include "IJSDebugger.h"
#include "mozilla/Attributes.h"

namespace mozilla {
namespace jsdebugger {

class JSDebugger MOZ_FINAL : public IJSDebugger
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_IJSDEBUGGER

  JSDebugger();

private:
  ~JSDebugger();
};

}
}

#endif