3      Copyright (C) Dean Camera, 2010. 
   5   dean [at] fourwalledcubicle [dot] com 
   6       www.fourwalledcubicle.com 
  10   Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com) 
  12   Permission to use, copy, modify, distribute, and sell this  
  13   software and its documentation for any purpose is hereby granted 
  14   without fee, provided that the above copyright notice appear in  
  15   all 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_ 
  40                 #include "SideshowCommon.h" 
  41                 #include "SideshowApplications.h" 
  44                 enum SideShow_ContentTypes_t
 
  51                         Content_EndOfContent    
= 5 
  54                 enum SideShow_ActionTypes_t
 
  59                 enum SideShow_AlignmentTypes_t
 
  69                 } SideShow_Content_Header_t
; 
  73                         SideShow_Content_Header_t Header
; 
  78                 } SideShow_Content_Menu_t
; 
  82                         SideShow_Content_Header_t Header
; 
  88                 } SideShow_Content_MenuItem_t
; 
  92                         SideShow_Content_Header_t Header
; 
  96                 } SideShow_Content_Button_t
; 
 100                         SideShow_Content_Header_t Header
; 
 103                         uint32_t AssociatedMenuID
; 
 105                 } SideShow_Content_Content_t
; 
 109                         SideShow_Content_Header_t Header
; 
 112                 } SideShow_Content_Text_t
; 
 115                 #define XML_START_TAG         "<body>" 
 116                 #define XML_END_TAG           "</body>" 
 118         /* Function Prototypes: */ 
 119                 bool SideShow_AddSimpleContent(SideShow_PacketHeader_t
* const PacketHeader
, 
 120                                                SideShow_Application_t
* const Application
); 
 122                 #if defined(INCLUDE_FROM_SIDESHOWCONTENT_C) 
 123                         static void SideShow_ProcessXMLContent(void* ContentData
, 
 124                                                                uint32_t ContentSize
);