save_messages.h

Go to the documentation of this file.
00001 
00006 /*
00007 Copyright (C) 2002-2010 UFO: Alien Invasion.
00008 
00009 This program is free software; you can redistribute it and/or
00010 modify it under the terms of the GNU General Public License
00011 as published by the Free Software Foundation; either version 2
00012 of the License, or (at your option) any later version.
00013 
00014 This program is distributed in the hope that it will be useful,
00015 but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00017 
00018 See the GNU General Public License for more details.
00019 
00020 You should have received a copy of the GNU General Public License
00021 along with this program; if not, write to the Free Software
00022 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00023 */
00024 
00025 #ifndef SAVE_MESSAGES_H
00026 #define SAVE_MESSAGES_H
00027 
00028 #define SAVE_MESSAGES_MESSAGES "messages"
00029 #define SAVE_MESSAGES_MESSAGE "message"
00030 #define SAVE_MESSAGES_TITLE "title"
00031 #define SAVE_MESSAGES_TEXT "text"
00032 #define SAVE_MESSAGES_TYPE "type"
00033 #define SAVE_MESSAGES_EVENTMAILID "eventMailid"
00034 #define SAVE_MESSAGES_EVENTMAILREAD "eventMailRead"
00035 #define SAVE_MESSAGES_PEDIAID "pediaid"
00036 #define SAVE_MESSAGES_DATE "date"
00037 
00038 #define SAVE_MESSAGETYPE_NAMESPACE "saveMessageType"
00039 static const constListEntry_t saveMessageConstants[] = {
00040     {SAVE_MESSAGETYPE_NAMESPACE"::debug", MSG_DEBUG},
00041     {SAVE_MESSAGETYPE_NAMESPACE"::info", MSG_INFO},
00042     {SAVE_MESSAGETYPE_NAMESPACE"::standard", MSG_STANDARD},
00043     {SAVE_MESSAGETYPE_NAMESPACE"::rsproposal", MSG_RESEARCH_PROPOSAL},
00044     {SAVE_MESSAGETYPE_NAMESPACE"::rshalted", MSG_RESEARCH_HALTED},
00045     {SAVE_MESSAGETYPE_NAMESPACE"::rsfinished", MSG_RESEARCH_FINISHED},
00046     {SAVE_MESSAGETYPE_NAMESPACE"::construction", MSG_CONSTRUCTION},
00047     {SAVE_MESSAGETYPE_NAMESPACE"::ufospotted", MSG_UFOSPOTTED},
00048     {SAVE_MESSAGETYPE_NAMESPACE"::terrorsite", MSG_TERRORSITE},
00049     {SAVE_MESSAGETYPE_NAMESPACE"::baseattack", MSG_BASEATTACK},
00050     {SAVE_MESSAGETYPE_NAMESPACE"::transfinished", MSG_TRANSFERFINISHED},
00051     {SAVE_MESSAGETYPE_NAMESPACE"::promotion", MSG_PROMOTION},
00052     {SAVE_MESSAGETYPE_NAMESPACE"::production", MSG_PRODUCTION},
00053     {SAVE_MESSAGETYPE_NAMESPACE"::news", MSG_NEWS},
00054     {SAVE_MESSAGETYPE_NAMESPACE"::death", MSG_DEATH},
00055     {SAVE_MESSAGETYPE_NAMESPACE"::crashsite", MSG_CRASHSITE},
00056     {SAVE_MESSAGETYPE_NAMESPACE"::event", MSG_EVENT},
00057     {NULL, -1}
00058 };
00059 
00060 #endif
00061 
00062 /*
00063 DTD:
00064 
00065 <!ELEMENT messages message*>
00066 <!ELEMENT message date>
00067 <!ATTLIST message
00068     title           CDATA       #IMPLIED
00069     text            CDATA       #IMPILED
00070     type            CDATA       #REQUIRED
00071     eventMailid     CDATA       #IMPLIED
00072     eventmailRead   CDATA       #IMPLIED
00073     pediaid         CDATA       #IMPLIED
00074 >
00075 
00076 <!ELEMENT date EMPTY>
00077 <!ATTLIST date
00078     day             CDATA       '0'
00079     sec             CDATA       '0'
00080 >
00081 */
00082 

Generated by  doxygen 1.6.2