Subversion Repositories Kolibri OS

Rev

Rev 7521 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7521 Rev 9635
Line -... Line 1...
-
 
1
#ifndef INCLUDE_EVENTS_H
-
 
2
#define INCLUDE_EVENTS_H
-
 
3
#print "[include ]\n"
Line 1... Line -...
1
#ifndef INCLUDE_ARRAY_H
-
 
2
#include "../lib/array.h"
4
 
3
#endif
-
 
Line 4... Line 5...
4
 
5
#include "../lib/collection.h"
Line 5... Line 6...
5
#define ECTRL 300
6
 
6
 
7
#define ECTRL 300
7
struct EVENTS
8
 
8
{
9
struct EVENTS
9
	Array array;
10
{
10
	int new_id;
11
	collection_int array;
11
	void init();
12
	int new_id;
12
	int add();
13
	void init();
13
	int add_n();
14
	int add();
Line 14... Line 15...
14
	bool press();
15
	int add_n();
15
};
16
	bool press();
16
 
17
};
17
void EVENTS::init(dword size)
18
 
18
{
19
void EVENTS::init(dword size)
Line 19... Line 20...
19
	array.init(size);
20
{
20
	new_id = 900;
21
	array.drop();
Line 42... Line 43...
42
		return true;
43
		event3();
43
	}
44
		return true;
44
	return false;
45
	}
45
}
46
	return false;
46
47
}
47
48
 
-
 
49
#endif
-
 
50
48
51