1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set ts=2 sw=2 sts=2 et cindent tw=79 ft=cpp: */
4 * Copyright (C) 2007 Sergey Yanovich <ynvich@gmail.com>
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public
17 * License along with this program; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
22 #include "xpcom-config.h"
25 #include "nsIGenericFactory.h"
26 #include "nsISHistory.h"
28 #include "nsIClassInfoImpl.h"
31 #include "nsISHistoryInternal.h"
32 #include "nsIWebNavigation.h"
33 #include "nsISHEntry.h"
34 #include "nsISHContainer.h"
36 /* Project includes */
37 #include "aaParamFactory.h"
38 #include "aaSessionHistory.h"
39 #include "aaTreeView.h"
40 #include "aaTreeViewEntity.h"
41 #include "aaTreeViewResource.h"
42 #include "aaTreeViewFlow.h"
43 #include "aaTreeViewBalance.h"
44 #include "aaTreeViewTranscript.h"
45 #include "aaPageView.h"
47 NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(aaSessionHistory
, Init
)
48 NS_GENERIC_FACTORY_CONSTRUCTOR(aaTreeViewEntity
)
49 NS_GENERIC_FACTORY_CONSTRUCTOR(aaTreeViewResource
)
50 NS_GENERIC_FACTORY_CONSTRUCTOR(aaTreeViewFlow
)
51 NS_GENERIC_FACTORY_CONSTRUCTOR(aaTreeViewBalance
)
52 NS_GENERIC_FACTORY_CONSTRUCTOR(aaTreeViewTranscript
)
53 NS_GENERIC_FACTORY_CONSTRUCTOR_PARAM(aaPageView
)
55 NS_DECL_CLASSINFO(aaSessionHistory
)
57 static const nsModuleComponentInfo kComponents
[] =
61 AA_SESSIONHISTORY_CID
,
62 AA_SESSIONHISTORY_CONTRACT_ID
,
63 aaSessionHistoryConstructor
65 NS_CI_INTERFACE_GETTER_NAME(aaSessionHistory
),
67 &NS_CLASSINFO_NAME(aaSessionHistory
)
71 AA_TREEVIEWENTITY_CID
,
72 AA_TREEVIEWENTITY_CONTRACT_ID
,
73 aaTreeViewEntityConstructor
77 AA_TREEVIEWRESOURCE_CID
,
78 AA_TREEVIEWRESOURCE_CONTRACT_ID
,
79 aaTreeViewResourceConstructor
84 AA_TREEVIEWFLOW_CONTRACT_ID
,
85 aaTreeViewFlowConstructor
89 AA_TREEVIEWBALANCE_CID
,
90 AA_TREEVIEWBALANCE_CONTRACT_ID
,
91 aaTreeViewBalanceConstructor
95 AA_TREEVIEWTRANSCRIPT_CID
,
96 AA_TREEVIEWTRANSCRIPT_CONTRACT_ID
,
97 aaTreeViewTranscriptConstructor
102 AA_PAGEVIEW_CONTRACT_ID
,
103 aaPageViewConstructor
106 NS_IMPL_NSGETMODULE(aaview
, kComponents
)