blob: 3462840cf676c26ef6adab0b4b5791f328706c15 (
plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
/*
* Authors: Luca Cavalli <loopback@slackit.org>
*
* Copyright 2005-2006 Luca Cavalli
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License
* as published by the Free Software Foundation
*
* 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 Street #330, Boston, MA 02111-1307, USA.
*
*/
#ifndef _MATE_DA_ITEM_H_
#define _MATE_DA_ITEM_H_
#include <glib.h>
typedef struct _MateDAItem {
gchar* name;
gchar* executable;
gchar* command;
gchar* icon_name;
gchar* icon_path;
} MateDAItem;
typedef struct _MateDAWebItem {
MateDAItem generic;
gboolean run_in_terminal;
gboolean netscape_remote;
gchar* tab_command;
gchar* win_command;
} MateDAWebItem;
typedef struct _MateDASimpleItem {
MateDAItem generic;
gboolean run_in_terminal;
} MateDASimpleItem;
typedef struct _MateDAImageItem {
MateDAItem generic;
gboolean run_in_terminal;
} MateDAImageItem;
typedef struct _MateDATermItem {
MateDAItem generic;
gchar* exec_flag;
} MateDATermItem;
typedef struct _MateDAVisualItem {
MateDAItem generic;
gboolean run_at_startup;
} MateDAVisualItem;
typedef struct _MateDAMobilityItem {
MateDAItem generic;
gboolean run_at_startup;
} MateDAMobilityItem;
MateDAWebItem* mate_da_web_item_new(void);
void mate_da_web_item_free(MateDAWebItem* item);
MateDATermItem* mate_da_term_item_new(void);
void mate_da_term_item_free(MateDATermItem* item);
MateDASimpleItem* mate_da_simple_item_new(void);
void mate_da_simple_item_free(MateDASimpleItem* item);
MateDAVisualItem* mate_da_visual_item_new(void);
void mate_da_visual_item_free(MateDAVisualItem* item);
MateDAImageItem* mate_da_image_item_new(void);
void mate_da_image_item_free(MateDAImageItem* item);
MateDAMobilityItem* mate_da_mobility_item_new(void);
void mate_da_mobility_item_free(MateDAMobilityItem* item);
#endif
|