transport: empty test for sqlite converter
[abstract.git] / view / aaTreeViewTranscript.h
blob30113776b08d75ff1c3fae440cb7ba43248695c3
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 "@aasii.org/view/tree-transcript;1"
29 #include "aaTreeView.h"
31 class aaITransaction;
32 class nsAString;
34 class aaTreeViewTranscript : public aaTreeView
36 public:
37 aaTreeViewTranscript();
38 virtual ~aaTreeViewTranscript();
39 NS_DECL_ISUPPORTS_INHERITED
41 protected:
42 NS_IMETHOD convertSortColumnToString(nsITreeColumn* col, nsACString& name) {
43 return NS_ERROR_NOT_IMPLEMENTED;
46 private:
47 friend class aaViewTest;
49 static nsresult (*const colFuncs[])(aaITransaction *, PRInt64 flowId,
50 PRUint32 flags, nsAString &);
51 static nsresult getColumn0(aaITransaction *txn, PRInt64 flowId,
52 PRUint32 flags, nsAString & _retval);
53 static nsresult getColumn1(aaITransaction *txn, PRInt64 flowId,
54 PRUint32 flags, nsAString & _retval);
55 static nsresult getColumn2(aaITransaction *txn, PRInt64 flowId,
56 PRUint32 flags, nsAString & _retval);
57 static nsresult getColumn3(aaITransaction *txn, PRInt64 flowId,
58 PRUint32 flags, nsAString & _retval);
60 virtual nsresult doGetCellText(PRInt32 row, nsITreeColumn *col,
61 nsAString & _retval);
64 #endif /* AATREEVIEWTRANSCRIPT_H */