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
|
$NetBSD: patch-ag,v 1.1 2006/07/06 22:04:03 minskim Exp $
--- src/data_manager.h.orig 2004-04-30 05:38:10.000000000 -0700
+++ src/data_manager.h
@@ -5,32 +5,32 @@
#include "warnings.h"
#include "away_system.h"
-gboolean highlight;
-gboolean query;
-gboolean disconnection;
-gboolean kick;
-gboolean dcc_chat;
-gboolean dcc_send;
-gboolean invite;
-gboolean notify_list;
-GtkWidget *away1,*away2,*away3;
-GtkWidget *browser_text,*email_text,*player_text,*imagepath_text;
+extern gboolean highlight;
+extern gboolean query;
+extern gboolean disconnection;
+extern gboolean kick;
+extern gboolean dcc_chat;
+extern gboolean dcc_send;
+extern gboolean invite;
+extern gboolean notify_list;
+extern GtkWidget *away1,*away2,*away3;
+extern GtkWidget *browser_text,*email_text,*player_text,*imagepath_text;
//settings items
-const char* ppath1;
-const char* epath1;
-const char* bpath1;
-const char* imagepath1;
+extern const char* ppath1;
+extern const char* epath1;
+extern const char* bpath1;
+extern const char* imagepath1;
#ifndef _WIN32_
- gboolean KDE;
- gboolean window_manager_modified;
+ extern gboolean KDE;
+ extern gboolean window_manager_modified;
#endif
//settings items array
-char ppath[150];
-char epath[150];
-char bpath[150];
-char imagepath[150];
-gint flash_interval;
-gboolean killevent;
+extern char ppath[150];
+extern char epath[150];
+extern char bpath[150];
+extern char imagepath[150];
+extern gint flash_interval;
+extern gboolean killevent;
void write2file(gboolean control);
void get_info (gboolean onstart_warning,gboolean control);
|