From ee4004f693b87ea3e77f7d02d209aa9d2cae5594 Mon Sep 17 00:00:00 2001 From: "danm%netscape.com" Date: Tue, 5 Apr 2005 22:27:03 +0000 Subject: [PATCH] partial nsWindowMediator embedding analogue (not yet hooked up to build) r=sfraser,valeski git-svn-id: svn://10.0.0.236/trunk@171688 18797224-902f-48f8-a5cc-f745e15eee43 --- .../components/build/nsEmbeddingModule.cpp | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 mozilla/embedding/components/build/nsEmbeddingModule.cpp diff --git a/mozilla/embedding/components/build/nsEmbeddingModule.cpp b/mozilla/embedding/components/build/nsEmbeddingModule.cpp new file mode 100644 index 00000000000..4b2335879c2 --- /dev/null +++ b/mozilla/embedding/components/build/nsEmbeddingModule.cpp @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * The contents of this file are subject to the Netscape Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/NPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Netscape + * Communications Corporation. Portions created by Netscape are + * Copyright (C) 2001 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): + */ + +#include "nsIGenericFactory.h" +#include "nsWindowWatcher.h" + +NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsWindowWatcher, Init) + +static nsModuleComponentInfo components[] = { + + { "Window Watcher", NS_WINDOWWATCHER_CID, NS_WINDOWWATCHER_CONTRACTID, nsWindowWatcherConstructor } +}; + +NS_IMPL_NSGETMODULE("windowwatcher", components) +