[app] Display 'transaction.value' after completion (bug #25)
[abstract.git] / view / aaTreeViewTranscript.h
blob290caf89f6acfb550da04dbe6f9e797aeea18cba
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 #ifndef AATREEVIEWTRANSCRIPT_H
23 #define AATREEVIEWTRANSCRIPT_H 1
25 #define AA_TREEVIEWTRANSCRIPT_CID \
26 {0x46950acc, 0xb1b4, 0x4d04, {0xa4, 0x49, 0xf0, 0x63, 0x06, 0xaa, 0x9e, 0x68}}
27 #define AA_TREEVIEWTRANSCRIPT_CONTRACT_ID "@aasii.org/view/tree-transcript;1"
29 class aaITransaction;
30 class nsAString;
32 class aaTreeViewTranscript : public aaTreeView
34 public:
35 aaTreeViewTranscript();
36 virtual ~aaTreeViewTranscript();
37 NS_DECL_ISUPPORTS_INHERITED
39 private:
40 friend class aaViewTest;
42 static nsresult (*const colFuncs[])(aaITransaction *, PRInt64 flowId,
43 PRUint32 flags, nsAString &);
44 static nsresult getColumn0(aaITransaction *txn, PRInt64 flowId,
45 PRUint32 flags, nsAString & _retval);
46 static nsresult getColumn1(aaITransaction *txn, PRInt64 flowId,
47 PRUint32 flags, nsAString & _retval);
48 static nsresult getColumn2(aaITransaction *txn, PRInt64 flowId,
49 PRUint32 flags, nsAString & _retval);
50 static nsresult getColumn3(aaITransaction *txn, PRInt64 flowId,
51 PRUint32 flags, nsAString & _retval);
53 virtual nsresult doGetCellText(PRInt32 row, nsITreeColumn *col,
54 nsAString & _retval);
57 #endif /* AATREEVIEWTRANSCRIPT_H */