3      Copyright (C) Dean Camera, 2009. 
   5   dean [at] fourwalledcubicle [dot] com 
   6       www.fourwalledcubicle.com 
  10   Copyright 2009  Dean Camera (dean [at] fourwalledcubicle [dot] com) 
  12   Permission to use, copy, modify, and distribute this software 
  13   and its documentation for any purpose and without fee is hereby 
  14   granted, provided that the above copyright notice appear in all 
  15   copies and that both that the copyright notice and this 
  16   permission notice and warranty disclaimer appear in supporting 
  17   documentation, and that the name of the author not be used in 
  18   advertising or publicity pertaining to distribution of the 
  19   software without specific, written prior permission. 
  21   The author disclaim all warranties with regard to this 
  22   software, including all implied warranties of merchantability 
  23   and fitness.  In no event shall the author be liable for any 
  24   special, indirect or consequential damages or any damages 
  25   whatsoever resulting from loss of use, data or profits, whether 
  26   in an action of contract, negligence or other tortious action, 
  27   arising out of or in connection with the use or performance of 
  31 #ifndef _SIDESHOW_CONTENT_H_ 
  32 #define _SIDESHOW_CONTENT_H_ 
  39                 #include "SideshowCommon.h" 
  40                 #include "SideshowApplications.h" 
  43                 enum SideShow_ContentTypes_t
 
  50                         Content_EndOfContent    
= 5 
  53                 enum SideShow_ActionTypes_t
 
  58                 enum SideShow_AlignmentTypes_t
 
  68                 } SideShow_Content_Header_t
; 
  72                         SideShow_Content_Header_t Header
; 
  77                 } SideShow_Content_Menu_t
; 
  81                         SideShow_Content_Header_t Header
; 
  87                 } SideShow_Content_MenuItem_t
; 
  91                         SideShow_Content_Header_t Header
; 
  95                 } SideShow_Content_Button_t
; 
  99                         SideShow_Content_Header_t Header
; 
 102                         uint32_t AssociatedMenuID
; 
 104                 } SideShow_Content_Content_t
; 
 108                         SideShow_Content_Header_t Header
; 
 111                 } SideShow_Content_Text_t
; 
 114                 #define XML_START_TAG         "<body>" 
 115                 #define XML_END_TAG           "</body>" 
 117         /* Function Prototypes: */ 
 118                 bool SideShow_AddSimpleContent(SideShow_PacketHeader_t
* PacketHeader
, SideShow_Application_t
* Application
); 
 120                 #if defined(INCLUDE_FROM_SIDESHOWCONTENT_C) 
 121                         static void SideShow_ProcessXMLContent(void* ContentData
, uint32_t ContentSize
);