[storage] Fix dependency
[abstract.git] / view / aaViewModule.cpp
blobc9db99bf34259566e781c6ba77b3b2150337c6e9
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: */
3 /*
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"
24 #include "nsCOMPtr.h"
25 #include "nsIGenericFactory.h"
26 #include "nsISHistory.h"
27 #include "nsMemory.h"
28 #include "nsIClassInfoImpl.h"
30 /* Unfrozen API */
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[] =
60 "SessionHistory",
61 AA_SESSIONHISTORY_CID,
62 AA_SESSIONHISTORY_CONTRACT_ID,
63 aaSessionHistoryConstructor
64 ,NULL, NULL, NULL,
65 NS_CI_INTERFACE_GETTER_NAME(aaSessionHistory),
66 NULL,
67 &NS_CLASSINFO_NAME(aaSessionHistory)
70 "TreeViewEntity",
71 AA_TREEVIEWENTITY_CID,
72 AA_TREEVIEWENTITY_CONTRACT_ID,
73 aaTreeViewEntityConstructor
76 "TreeViewResource",
77 AA_TREEVIEWRESOURCE_CID,
78 AA_TREEVIEWRESOURCE_CONTRACT_ID,
79 aaTreeViewResourceConstructor
82 "TreeViewFlow",
83 AA_TREEVIEWFLOW_CID,
84 AA_TREEVIEWFLOW_CONTRACT_ID,
85 aaTreeViewFlowConstructor
88 "TreeViewBalance",
89 AA_TREEVIEWBALANCE_CID,
90 AA_TREEVIEWBALANCE_CONTRACT_ID,
91 aaTreeViewBalanceConstructor
94 "TreeViewTranscript",
95 AA_TREEVIEWTRANSCRIPT_CID,
96 AA_TREEVIEWTRANSCRIPT_CONTRACT_ID,
97 aaTreeViewTranscriptConstructor
100 "Page View",
101 AA_PAGEVIEW_CID,
102 AA_PAGEVIEW_CONTRACT_ID,
103 aaPageViewConstructor
106 NS_IMPL_NSGETMODULE(aaview, kComponents)