~ubuntu-branches/ubuntu/hardy/bygfoot/hardy

« back to all changes in this revision

Viewing changes to src/xml.h

  • Committer: Bazaar Package Importer
  • Author(s): Isaac Clerencia
  • Date: 2006-06-04 17:51:19 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060604175119-0pbfuhr617031qa9
Tags: 2.0.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
   xml.h
 
3
 
 
4
   Bygfoot Football Manager -- a small and simple GTK2-based
 
5
   football management game.
 
6
 
 
7
   http://bygfoot.sourceforge.net
 
8
 
 
9
   Copyright (C) 2005  Gyözö Both (gyboth@bygfoot.com)
 
10
 
 
11
   This program is free software; you can redistribute it and/or
 
12
   modify it under the terms of the GNU General Public License
 
13
   as published by the Free Software Foundation; either version 2
 
14
   of the License, or (at your option) any later version.
 
15
 
 
16
   This program is distributed in the hope that it will be useful,
 
17
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
   GNU General Public License for more details.
 
20
 
 
21
   You should have received a copy of the GNU General Public License
 
22
   along with this program; if not, write to the Free Software
 
23
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
24
*/
 
25
 
1
26
#ifndef XML_H
2
27
#define XML_H
3
28
 
44
69
#define TAG_END_PLAYERS 9900
45
70
#define TAG_START_LEAGUE_STAT 10000
46
71
#define TAG_START_SEASON_STATS 11000
 
72
#define TAG_START_LEAGUES_CUPS 12000
47
73
#define TAG_START_TRANSFERS 20000
 
74
#define TAG_START_JOBS 21000
48
75
 
49
76
#define xml_write_g_string(fil, gstring, tag, indent) xml_write_string(fil, (gstring)->str, tag, indent)
50
77
 
61
88
xml_load_users(const gchar *dirname, const gchar *basename);
62
89
 
63
90
void
64
 
xml_load_leagues(const gchar *dirname, const gchar *basename);
65
 
 
66
 
void
67
 
xml_load_league(const gchar *dirname, const gchar *basename, const GPtrArray *dir_contents);
68
 
 
69
 
void
70
 
xml_load_cups(const gchar *dirname, const gchar *basename);
71
 
 
72
 
void
73
 
xml_load_cup(Cup *cup, const gchar *dirname, const gchar *basename, const GPtrArray *dir_contents);
 
91
xml_load_league(const gchar *dirname, const gchar *basename);
 
92
 
 
93
void
 
94
xml_load_cup(Cup *cup, const gchar *dirname, const gchar *basename);
74
95
 
75
96
void
76
97
xml_load_transfers(const gchar *dirname, const gchar *basename);