save_research.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_RESEARCH_H
00026 #define SAVE_RESEARCH_H
00027 
00028 #define SAVE_RESEARCH_RESEARCH "research"
00029 #define SAVE_RESEARCH_TECH "tech"
00030 #define SAVE_RESEARCH_ID "id"
00031 #define SAVE_RESEARCH_STATUSCOLLECTED "statusCollected"
00032 #define SAVE_RESEARCH_TIME "time"
00033 #define SAVE_RESEARCH_STATUSRESEARCH "statusResearch"
00034 #define SAVE_RESEARCH_BASE "baseIDX"
00035 #define SAVE_RESEARCH_SCIENTISTS "scientists"
00036 #define SAVE_RESEARCH_STATUSRESEARCHABLE "statusResearchable"
00037 #define SAVE_RESEARCH_PREDATE "preDate"
00038 #define SAVE_RESEARCH_DATE "date"
00039 #define SAVE_RESEARCH_MAILSENT "mailSent"
00040 #define SAVE_RESEARCH_MAIL "mail"
00041 #define SAVE_RESEARCH_MAIL_ID "id"
00042 
00043 #define SAVE_RESEARCHSTATUS_NAMESPACE "saveResearchStatus"
00044 static const constListEntry_t saveResearchConstants[] = {
00045     {SAVE_RESEARCHSTATUS_NAMESPACE"::none", RS_NONE},
00046     {SAVE_RESEARCHSTATUS_NAMESPACE"::running", RS_RUNNING},
00047     {SAVE_RESEARCHSTATUS_NAMESPACE"::paused", RS_PAUSED},
00048     {SAVE_RESEARCHSTATUS_NAMESPACE"::finished", RS_FINISH},
00049     {NULL, -1}
00050 };
00051 
00052 #endif
00053 
00054 /*
00055 DTD:
00056 
00057 <!ELEMENT research tech*>
00058 <!ELEMENT tech mail* preDate date>
00059 <!ATTLIST tech
00060     id                  CDATA       #REQUIRED
00061     statusCollected     CDATA       #IMPLIED
00062     time                CDATA       #IMPLIED
00063     statusResearch      CDATA       #REQUIRED
00064     baseIDX             CDATA       #IMPLIED
00065     scientists          CDATA       #IMPLIED
00066     statusResearchable  CDATA       #IMPLIED
00067     mailSent            CDATA       #IMPLIED
00068 >
00069 
00070 <!ELEMENT preDate EMPTY>
00071 <!ATTLIST preDate
00072     day                 CDATA       '0'
00073     sec                 CDATA       '0'
00074 >
00075 
00076 <!ELEMENT date EMPTY>
00077 <!ATTLIST date
00078     day                 CDATA       '0'
00079     sec                 CDATA       '0'
00080 >
00081 
00082 <!ELEMENT mail EMPTY>
00083 <!ATTLIST mail
00084     id                  CDATA       #REQUIRED
00085 >
00086 
00087 */
00088 

Generated by  doxygen 1.6.2