diff options
author | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-24 17:15:43 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-24 17:15:43 +0200 |
commit | ed6e65a66f3bcf84dff4ff4e680096b7e40076d5 (patch) | |
tree | ef3c097361c500e1f6d44cad5f3872218eac8ab0 /drivers/gator/daemon/XMLOut.h | |
parent | 56fe6d63c36dc27747cd9b98c6ebd9cca0ab2899 (diff) |
Revert "Merge remote-tracking branch 'armlt/previous-armlt-gator' into stable-linux-ux500-3.3"
This reverts commit a394b8c66756934bf0bc526da1b888e524313fb4, reversing
changes made to a416f0c1e67d56752c38d8db621be99b3cf12bb8.
Diffstat (limited to 'drivers/gator/daemon/XMLOut.h')
-rw-r--r-- | drivers/gator/daemon/XMLOut.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/drivers/gator/daemon/XMLOut.h b/drivers/gator/daemon/XMLOut.h deleted file mode 100644 index 3af253dbe83..00000000000 --- a/drivers/gator/daemon/XMLOut.h +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Copyright (C) ARM Limited 2010-2012. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -#ifndef __XMLOUT_H -#define __XMLOUT_H - -class XMLOut { - int indent; - bool incomplete; - char temp_buffer[4096]; // arbitrarilly large buffer to hold variable arguments - char xml_string[64*1024]; // arbitrarilly large buffer to hold an xml file output by the daemon - - void writeTabs(); - void encodeAttributeData(const char* data); - void writeData(const char *format, ...); - -public: - XMLOut(); - ~XMLOut(); - char* getXmlString() {return xml_string;} - void clearXmlString() {xml_string[0]=0;} - const XMLOut & xmlHeader(void); - const XMLOut & comment(const char* text, const bool newline); - const XMLOut & startElement(const char* tag); - const XMLOut & startElement(const char* tag, int index); - const XMLOut & endElement(const char* tag); - const XMLOut & attributeString(const char* name, const char* value); - const XMLOut & attributeInt(const char* name, int value); - const XMLOut & attributeUInt(const char* name, unsigned int value); - const XMLOut & attributeLong(const char* name, long value); - const XMLOut & attributeULong(const char* name, unsigned long value); - const XMLOut & attributeLongLong(const char* name, long long value); - const XMLOut & attributeULongLong(const char* name, unsigned long long value); - const XMLOut & attributeDouble(const char* name, double value); - const XMLOut & attributeBool(const char* name, bool value); - const XMLOut & attributeHex4(const char* name, int value); - const XMLOut & attributeHex8(const char* name, int value); -}; - -#endif // __XMLOUT_H |