1 /****************************************************************************
3 * Copyright 2008 Jose Fonseca, Tungsten Graphics, Inc.
5 * This program is free software: you can redistribute it and/or modify it
6 * under the terms of the GNU Lesser General Public License as published
7 * by the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 ****************************************************************************/
29 void Open(const TCHAR *szName);
35 void Tag(const char *name);
36 void BeginTag(const char *name);
37 void BeginTag(const char *name,
38 const char *attr1, const char *value1);
39 void BeginTag(const char *name,
40 const char *attr1, const char *value1,
41 const char *attr2, const char *value2);
42 void EndTag(const char *name);
44 void Text(const char *text);
45 void TextF(const char *format, ...);
47 void BeginCall(const char *function);
50 void BeginArg(const char *type, const char *name);
53 void BeginReturn(const char *type);
56 void BeginElement(const char *type);
57 void BeginElement(const char *type, const char *name);
58 void EndElement(void);
60 void BeginReference(const char *type, const void *addr);
61 void EndReference(void);
63 void DumpString(const char *str);
67 #endif /* _LOG_HPP_ */