File: model.h

package info (click to toggle)
gdis 0.89-2.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 7,888 kB
  • ctags: 4,879
  • sloc: ansic: 64,430; makefile: 281; python: 115; perl: 114; sh: 107
file content (41 lines) | stat: -rw-r--r-- 1,410 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
Copyright (C) 2003 by Sean David Fleming

sean@ivec.org

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

The GNU GPL can also be found at http://www.gnu.org
*/

struct model_pak *model_new(void);
void model_init(struct model_pak *);
gint model_prep(struct model_pak *);
void model_free(struct model_pak *);
void model_delete(struct model_pak *);
gpointer model_dup(struct model_pak *);

void model_content_refresh(struct model_pak *);

void property_free(gpointer);
void property_add_ranked(guint, 
                         const gchar *,
                         const gchar *,
                         struct model_pak *);
guint property_rank(gpointer);
gchar *property_label(gpointer);
gchar *property_value(gpointer);
gchar *property_lookup(gchar *, struct model_pak *);