|
Revision 252, 0.6 kB
(checked in by rcrowley, 11 months ago)
|
Now have a config variable to use nsISocketTransport instead of XMLHttpRequest for uploads. It is better but not faster. Changed every file to update copyright info.
|
| Line | |
|---|
| 1 |
/* |
|---|
| 2 |
* Flickr Uploadr |
|---|
| 3 |
* |
|---|
| 4 |
* Copyright (c) 2007-2008 Yahoo! Inc. All rights reserved. This library is |
|---|
| 5 |
* free software; you can redistribute it and/or modify it under the terms of |
|---|
| 6 |
* the GNU General Public License (GPL), version 2 only. This library is |
|---|
| 7 |
* distributed WITHOUT ANY WARRANTY, whether express or implied. See the GNU |
|---|
| 8 |
* GPL for more details (http://www.gnu.org/licenses/gpl.html) |
|---|
| 9 |
*/ |
|---|
| 10 |
|
|---|
| 11 |
#include "nsIGenericFactory.h" |
|---|
| 12 |
#include "flGM.h" |
|---|
| 13 |
|
|---|
| 14 |
NS_GENERIC_FACTORY_CONSTRUCTOR(flGM) |
|---|
| 15 |
|
|---|
| 16 |
static nsModuleComponentInfo components[] = { |
|---|
| 17 |
{ |
|---|
| 18 |
GM_CLASSNAME, |
|---|
| 19 |
GM_CID, |
|---|
| 20 |
GM_CONTRACTID, |
|---|
| 21 |
flGMConstructor |
|---|
| 22 |
} |
|---|
| 23 |
}; |
|---|
| 24 |
|
|---|
| 25 |
NS_IMPL_NSGETMODULE("flGMModule", components) |
|---|